summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorPengxuan Zheng <pzheng@quicinc.com>2019-04-11 21:05:15 +0000
committerPengxuan Zheng <pzheng@quicinc.com>2019-04-11 21:05:15 +0000
commitd8ada681df242e8beeca0df5f0b4b699d7d34a13 (patch)
treea290cd1b0e321efa7b678b5c7513faeac1b5c90f /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent959ef1685979e96a745ac20f1b34ccd080656cb2 (diff)
downloadbcm5719-llvm-d8ada681df242e8beeca0df5f0b4b699d7d34a13.tar.gz
bcm5719-llvm-d8ada681df242e8beeca0df5f0b4b699d7d34a13.zip
[cmake] Fix dependency issue in TableGen
Summary: There is a bug in add_tablegen which causes cmake to fail with the following error message if LLVM_TABLEGEN is set. CMake Error at cmake/modules/TableGen.cmake:147 (add_dependencies): The dependency target "LLVM-tablegen-host" of target "CLANG-tablegen-host" does not exist. Call Stack (most recent call first): tools/clang/utils/TableGen/CMakeLists.txt:3 (add_tablegen) The issue happens because setting LLVM_TABLEGEN causes cmake to skip generating the LLVM-tablegen-host target. As a result, a non-existent target was added for CLANG-tablegen-host causing cmake to fail. In order to fix this issue, this patch adds a guard to check the validity of the dependency target before adding it as a dependency. Reviewers: aganea, smeenai Reviewed By: aganea Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60576 llvm-svn: 358226
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud