Bug ID 23704
Summary Don’t include share/clang/cmake/ClangConfig.cmake when Clang is build with LLVM
Product lldb
Version 3.6
Hardware All
OS All
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter eugene.zelenko@gmail.com
Classification Unclassified
I build Clang (and other packages like lld, clang-tools-extra, etc) with LLVM,
so configuration is shared with LLVM.
I think will be good idea to check if LLDB_PATH_TO_CLANG_SOURCE is subdirectory
of LLDB_PATH_TO_LLVM_SOURCE and LLDB_PATH_TO_CLANG_BUILD is subdirectory of
LLDB_PATH_TO_LLVM_BUILD before including share/clang/cmake/ClangConfig.cmake.