[PATCH] D116279: [lld] Add support for other demanglers other than Itanium
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 30 12:19:43 PST 2021
MaskRay added a comment.
If you don't contribute to llvm-project, `LLVM_TARGETS_TO_BUILD=host` or just X86 is fine. For contribution, it's a good idea to enable all targets, otherwise some tests may be skipped.
A `-DBUILD_SHARED_LIBS=on` build uses `-Wl,-z,defs` to link shared objects. It has some dependency checking effects: https://maskray.me/blog/2021-06-13-dependency-related-linker-options#z-defs
Personally I use `-DBUILD_SHARED_LIBS=on` for Debug build and `-DBUILD_SHARED_LIBS=off` for Release build, and ensure I built both modes if I touch CMake files.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116279/new/
https://reviews.llvm.org/D116279
More information about the llvm-commits
mailing list