Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common on NetB...
details: https://anonhg.NetBSD.org/src/rev/9eb614a10e02
branches: trunk
changeset: 819378:9eb614a10e02
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 01 18:20:25 2016 +0000
description:
on NetBSD we don't have llvm_symbolizer, so try addr2line...
diffstat:
external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 29e90b7b375f -r 9eb614a10e02 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc Thu Dec 01 18:19:19 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc Thu Dec 01 18:20:25 2016 +0000
@@ -35,7 +35,11 @@
void SetCommonFlagsDefaults(CommonFlags *f) {
f->symbolize = true;
f->external_symbolizer_path = 0;
+#if SANITIZER_NETBSD
+ f->allow_addr2line = true;
+#else
f->allow_addr2line = false;
+#endif
f->strip_path_prefix = "";
f->fast_unwind_on_check = false;
f->fast_unwind_on_fatal = false;
Home |
Main Index |
Thread Index |
Old Index