diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-10-04 08:55:03 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-10-04 08:55:03 +0000 |
commit | 90b0f1e3ba126bb2e92ab51ef379c98782c23d90 (patch) | |
tree | eda44d02ca7ca5dd1d2171cb14dcd2cbda7bb293 /lib/asan/asan_report.cc | |
parent | 92b54796149a8b5995fa49c43f43b709b83c5644 (diff) | |
download | compiler-rt-90b0f1e3ba126bb2e92ab51ef379c98782c23d90.tar.gz |
Refactor the usage of strip_path_prefix option and make it more consistent across sanitizers
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.cc')
-rw-r--r-- | lib/asan/asan_report.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc index 55a9a4ef5..6a6884525 100644 --- a/lib/asan/asan_report.cc +++ b/lib/asan/asan_report.cc @@ -550,10 +550,7 @@ static void ReportSummary(const char *error_type, StackTrace *stack) { // Maybe sometimes we need to choose another frame (e.g. skip memcpy/etc). uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]); getSymbolizer()->SymbolizeCode(pc, &ai, 1); - ReportErrorSummary(error_type, - StripPathPrefix(ai.file, - common_flags()->strip_path_prefix), - ai.line, ai.function); + ReportErrorSummary(error_type, ai.file, ai.line, ai.function); } // FIXME: do we need to print anything at all if there is no symbolizer? } |