Module Name: src Committed By: christos Date: Thu Dec 1 18:20:25 UTC 2016
Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_flags.cc Log Message: on NetBSD we don't have llvm_symbolizer, so try addr2line... To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 \ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc diff -u src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc:1.1.1.2 src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc:1.2 --- src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc:1.1.1.2 Sun Jan 24 01:05:41 2016 +++ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_flags.cc Thu Dec 1 13:20:25 2016 @@ -35,7 +35,11 @@ IntrusiveList<FlagDescription> flag_desc 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;