Page MenuHomeFreeBSD

D31061.diff
No OneTemporary

D31061.diff

diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -470,6 +470,12 @@
MK_LLVM_COV:= no
.endif
+.if ${MK_ASAN} == "yes"
+# In order to get sensible backtraces from ASAN we have to install
+# llvm-symbolizer as /usr/bin/addr2line instead of the elftoolchain version.
+MK_LLVM_BINUTILS:= yes
+.endif
+
.if ${MK_LLVM_BINUTILS} == "yes"
# MK_LLVM_CXXFILT is a subset of MK_LLVM_BINUTILS and should therefore be
# enabled if MK_LLVM_BINUTILS is set.

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 12:04 AM (9 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16225434
Default Alt Text
D31061.diff (514 B)

Event Timeline