freebsd-dev/lib/clang
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
..
headers
include Follow-up to d69d07569e by bumping lld local version 2021-08-07 19:14:31 +02:00
libclang
liblldb
libllvm Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain 2021-09-06 09:49:49 +01:00
libllvmminimal
clang.build.mk clang: Build with -fno-strict-aliasing when using GCC 2021-08-24 15:04:25 +01:00
clang.pre.mk
freebsd_cc_version.h
lldb.pre.mk
llvm.build.mk clang: Fix inverted condition in llvm.build.mk 2021-08-12 23:53:30 +01:00
llvm.pre.mk
Makefile Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain 2021-09-06 09:49:49 +01:00
Makefile.inc