https://llvm.org/bugs/show_bug.cgi?id=28953
Bug ID: 28953 Summary: Xcode build: be explicit about which clang and LLVM .a files get linked into LLDB Product: lldb Version: unspecified Hardware: PC OS: MacOS X Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: todd.fi...@gmail.com CC: llvm-b...@lists.llvm.org Classification: Unclassified The Xcode build uses the scripts/Xcode/build-llvm.py script. That script makes a simplification to link against LLVM and clang libs, simply linking against all the .a files. While this is simple, it also is not accurate. Incremental builders can run into trouble if a library gets refactored into another, in which case we'll still link against the stale, inert .a files that were orphaned, leading to whatever linkage issues that may entail. In addition, we are potentially increasing the amount of work the linker needs to do to cut out dead code. Change the script to be explicit about what we need to link against within LLVM and clang. This may require some investigation on the clang side. See comments here: https://reviews.llvm.org/D23444 Those comments indicate we may be able to use llvm-config for the LLVM side. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev