aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-06-02 04:04:21 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-06-02 04:04:21 +0000
commit71259635f77a7b40324c9ceab0a31b212dda2564 (patch)
tree862953bfd922bdb0b60b8a56e6e3fa813e85bcbf /usr.bin/clang
parent25385eb325fb810bb39352994729ec6d61c5c1d2 (diff)
downloadsrc-71259635f77a7b40324c9ceab0a31b212dda2564.tar.gz
src-71259635f77a7b40324c9ceab0a31b212dda2564.zip
llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG
ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the build is not much more time-consuming. The added benefit is that the resulting reports will actually include symbol information; without, thread trace information includes a bunch of addresses that immediately resolve to an inline function in ^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a little more effort to examine. Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20484
Notes
Notes: svn path=/head/; revision=348504
Diffstat (limited to 'usr.bin/clang')
-rw-r--r--usr.bin/clang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/clang/Makefile b/usr.bin/clang/Makefile
index 4206ff977e68..0fbcdb5f791f 100644
--- a/usr.bin/clang/Makefile
+++ b/usr.bin/clang/Makefile
@@ -8,6 +8,7 @@ SUBDIR+= llvm-tblgen
.if !defined(TOOLS_PREFIX)
SUBDIR+= llvm-objdump
+SUBDIR+= llvm-symbolizer
.if ${MK_CLANG_EXTRAS} != "no"
SUBDIR+= bugpoint
@@ -33,7 +34,6 @@ SUBDIR+= llvm-nm
SUBDIR+= llvm-objcopy
SUBDIR+= llvm-pdbutil
SUBDIR+= llvm-rtdyld
-SUBDIR+= llvm-symbolizer
SUBDIR+= llvm-xray
SUBDIR+= opt
.endif