summaryrefslogtreecommitdiff
path: root/lib/msan/msan_report.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-03-31 18:16:42 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-03-31 18:16:42 +0000
commit3876407fafffcc82cbde429cb0d108e73c5423b9 (patch)
treef25a42880a2653013ced7f9cddc7b1618021143f /lib/msan/msan_report.cc
parent990d9ea93731584d87689d40b8631153dd8949a0 (diff)
[Sanitizer] Be consistent about separating ==%PID== and logged data.
See https://code.google.com/p/address-sanitizer/issues/detail?id=385. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@233720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_report.cc')
-rw-r--r--lib/msan/msan_report.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msan/msan_report.cc b/lib/msan/msan_report.cc
index 33c28b2fb..ddb807028 100644
--- a/lib/msan/msan_report.cc
+++ b/lib/msan/msan_report.cc
@@ -103,7 +103,7 @@ void ReportUMR(StackTrace *stack, u32 origin) {
Decorator d;
Printf("%s", d.Warning());
- Report(" WARNING: MemorySanitizer: use-of-uninitialized-value\n");
+ Report("WARNING: MemorySanitizer: use-of-uninitialized-value\n");
Printf("%s", d.End());
stack->Print();
if (origin) {
@@ -115,7 +115,7 @@ void ReportUMR(StackTrace *stack, u32 origin) {
void ReportExpectedUMRNotFound(StackTrace *stack) {
SpinMutexLock l(&CommonSanitizerReportMutex);
- Printf(" WARNING: Expected use of uninitialized value not found\n");
+ Printf("WARNING: Expected use of uninitialized value not found\n");
stack->Print();
}