freebsd-nq/usr.bin/clang/llvm-ar
Alex Richardson 021385aba5 Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain
When WITH_LLVM_BINUTILS is set, we will install the LLVM binutils as
ar/ranlib/nm/objcopy/etc. instead of the elftoolchain ones.
Having the LLVM binutils instead of the elftoolchain ones allows us to use
features such as LTO that depend on binutils that understand LLVM IR.
Another benefit will be an improved user-experience when compiling with
AddressSanitizer, since ASAN does not symbolize backtraces correctly if
addr2line is elftoolchain addr2line instead of llvm-symbolizer.
See https://lists.freebsd.org/archives/freebsd-toolchain/2021-July/000062.html
for more details.

This is currently off by default but will be turned on by default at some
point in the near future.

Reviewed By:	emaste

Differential Revision: https://reviews.freebsd.org/D31060
2021-09-06 09:49:49 +01:00
..
llvm-ar.1 Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
llvm-ranlib.1 Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
Makefile Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain 2021-09-06 09:49:49 +01:00
Makefile.depend