diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2014-12-22 12:31:32 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2014-12-22 12:31:32 +0000 |
commit | 72d0aa91ac4c9c14cbcff0eb14e6151c75a72b33 (patch) | |
tree | b4af21df4c673f11d698241ff1b575c67d319dff | |
parent | fbcfde82ecf4d7f5773be7562ad474b5a6ca24d4 (diff) | |
download | compiler-rt-72d0aa91ac4c9c14cbcff0eb14e6151c75a72b33.tar.gz |
tsan: fix debugging output
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224701 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/tsan/rtl/tsan_rtl_report.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tsan/rtl/tsan_rtl_report.cc b/lib/tsan/rtl/tsan_rtl_report.cc index ebaf8922a..452261ddd 100644 --- a/lib/tsan/rtl/tsan_rtl_report.cc +++ b/lib/tsan/rtl/tsan_rtl_report.cc @@ -87,7 +87,7 @@ static void StackStripMain(SymbolizedStack *frames) { // 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 epoch, VarSizeStackTrace *stk, 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; |