HomeFreeBSD

Enable MK_LLVM_BINUTILS if MK_ASAN is requested

Description

Enable MK_LLVM_BINUTILS if MK_ASAN is requested

ASan will not be able to provide backtraces with symbol names with
elftoolchain's addr2line. To fix this turn MK_LLVM_BINUTILS on by
default when ASan instrumentation is requested.

Reviewed By: emaste, markj
Differential Revision: https://reviews.freebsd.org/D31061

Details

Provenance
arichardsonAuthored on Sep 6 2021, 9:24 AM
Reviewer
emaste
Differential Revision
D31061: Enable MK_LLVM_BINUTILS if MK_ASAN is requested
Parents
rG021385aba562: Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain
Branches
Unknown
Tags
Unknown