[PATCH] D116279: [lld] Add support for other demanglers other than Itanium

Luís Ferreira via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 30 13:16:53 PST 2021


ljmf00 added a comment.

In D116279#3214270 <https://reviews.llvm.org/D116279#3214270>, @MaskRay wrote:

> 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.

Yeah, I'm going to start doing that.

> (The missing `Demangle` dependency issue)
> 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.

Thanks for all that information. I didn't know about that. I will start building with it :)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116279/new/

https://reviews.llvm.org/D116279



More information about the llvm-commits mailing list