From 3876407fafffcc82cbde429cb0d108e73c5423b9 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Tue, 31 Mar 2015 18:16:42 +0000 Subject: [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 --- lib/msan/msan_report.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/msan/msan_report.cc') 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(); } -- cgit v1.2.3