summaryrefslogtreecommitdiff
path: root/lldb/tools
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2023-01-20 15:40:55 -0800
committerJim Ingham <jingham@apple.com>2023-01-20 15:41:59 -0800
commite12a950d90f88aeddaa97d6e7c8fd0bfedc42f73 (patch)
tree0726b3409c8f64c28d89c310a046bb327a5849e9 /lldb/tools
parentc7af1d19f30025a5d400aeeb651eef5ee83eb83d (diff)
downloadllvm-e12a950d90f88aeddaa97d6e7c8fd0bfedc42f73.tar.gz
Remove the LINK_COMPONENTS entry from lldb-instr CMakery
The presence of this entry causes the Xcode generator to produce two references to libLLVMSupport.a, one at the end of the list, and that causes the build to fail with a link error. The first version was pulled in when processing the CLANG_LIBS entries in the lldb/tools/lldb-instr/CMakeLists.txt. I looked around and the only places where we use LINK_COMPONENTS and CLANG_LIBS together are various lldb subdirectories that produce .a files but don't actually link anything. Anyway, this line doesn't seem to be needed for either the regular Ninja or the Xcode generator, and removing it makes the xcode build work again. Differential Revision: https://reviews.llvm.org/D142241
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/lldb-instr/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/tools/lldb-instr/CMakeLists.txt b/lldb/tools/lldb-instr/CMakeLists.txt
index 8da453b2894f..a1bbd7e2b7c9 100644
--- a/lldb/tools/lldb-instr/CMakeLists.txt
+++ b/lldb/tools/lldb-instr/CMakeLists.txt
@@ -11,6 +11,4 @@ add_lldb_tool(lldb-instr
clangSerialization
clangTooling
- LINK_COMPONENTS
- Support
)