Skip to content

Commit e12a950

Browse files
committed
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
1 parent c7af1d1 commit e12a950

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/tools/lldb-instr/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ add_lldb_tool(lldb-instr
1111
clangSerialization
1212
clangTooling
1313

14-
LINK_COMPONENTS
15-
Support
1614
)

0 commit comments

Comments
 (0)