Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108631411
D31061.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
D31061.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D31061: Enable MK_LLVM_BINUTILS if MK_ASAN is requested
Attached
Detach File
Event Timeline
Log In to Comment