summaryrefslogtreecommitdiff
path: root/lib/asan/asan_report.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-04 08:55:03 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-04 08:55:03 +0000
commit90b0f1e3ba126bb2e92ab51ef379c98782c23d90 (patch)
treeeda44d02ca7ca5dd1d2171cb14dcd2cbda7bb293 /lib/asan/asan_report.cc
parent92b54796149a8b5995fa49c43f43b709b83c5644 (diff)
downloadcompiler-rt-90b0f1e3ba126bb2e92ab51ef379c98782c23d90.tar.gz
compiler-rt-90b0f1e3ba126bb2e92ab51ef379c98782c23d90.tar.bz2
compiler-rt-90b0f1e3ba126bb2e92ab51ef379c98782c23d90.tar.xz
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.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc
index 55a9a4ef..6a688452 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?
}