summaryrefslogtreecommitdiff
path: root/lib/msan/msan_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/msan/msan_report.cc
parent92b54796149a8b5995fa49c43f43b709b83c5644 (diff)
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/msan/msan_report.cc')
-rw-r--r--lib/msan/msan_report.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/msan/msan_report.cc b/lib/msan/msan_report.cc
index 00890347e..997959ef0 100644
--- a/lib/msan/msan_report.cc
+++ b/lib/msan/msan_report.cc
@@ -36,8 +36,7 @@ class Decorator: private __sanitizer::AnsiColorDecorator {
static void PrintStack(const uptr *trace, uptr size) {
SymbolizerScope sym_scope;
- StackTrace::PrintStack(trace, size, true,
- common_flags()->strip_path_prefix, 0);
+ StackTrace::PrintStack(trace, size, true, 0);
}
static void DescribeOrigin(u32 origin) {
@@ -80,10 +79,7 @@ static void ReportSummary(const char *error_type, StackTrace *stack) {
SymbolizerScope sym_scope;
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);
}
void ReportUMR(StackTrace *stack, u32 origin) {