[compiler-rt] r224701 - tsan: fix debugging output

Dmitry Vyukov dvyukov at google.com
Mon Dec 22 04:31:33 PST 2014


Author: dvyukov
Date: Mon Dec 22 06:31:32 2014
New Revision: 224701

URL: http://llvm.org/viewvc/llvm-project?rev=224701&view=rev
Log:
tsan: fix debugging output


Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc?rev=224701&r1=224700&r2=224701&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc Mon Dec 22 06:31:32 2014
@@ -87,7 +87,7 @@ static void StackStripMain(SymbolizedSta
     // can actually happen if we do not instrument some code,
     // so it's only a debug print. However we must try hard to not miss it
     // due to our fault.
-    DPrintf("Bottom stack frame of stack %zx is missed\n", stack->info.address);
+    DPrintf("Bottom stack frame is missed\n");
   }
 #else
   // The last frame always point into runtime (gosched0, goexit0, runtime.main).
@@ -399,7 +399,7 @@ void RestoreStack(int tid, const u64 epo
   InternalScopedBuffer<uptr> stack(kShadowStackSize);
   for (uptr i = 0; i < hdr->stack0.size; i++) {
     stack[i] = hdr->stack0.trace[i];
-    DPrintf2("  #%02lu: pc=%zx\n", i, stack[i]);
+    DPrintf2("  #%02zu: pc=%zx\n", i, stack[i]);
   }
   if (mset)
     *mset = hdr->mset0;





More information about the llvm-commits mailing list