[compiler-rt] r177249 - [TSan] fix undefined variable in debug TSan build
Alexey Samsonov
samsonov at google.com
Mon Mar 18 00:33:01 PDT 2013
Author: samsonov
Date: Mon Mar 18 02:33:00 2013
New Revision: 177249
URL: http://llvm.org/viewvc/llvm-project?rev=177249&view=rev
Log:
[TSan] fix undefined variable in debug TSan build
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc?rev=177249&r1=177248&r2=177249&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc Mon Mar 18 02:33:00 2013
@@ -104,7 +104,8 @@ void ThreadContext::OnStarted(void *arg)
StatInc(thr, StatSyncAcquire);
DPrintf("#%d: ThreadStart epoch=%zu stk_addr=%zx stk_size=%zx "
"tls_addr=%zx tls_size=%zx\n",
- tid, (uptr)epoch0, stk_addr, stk_size, tls_addr, tls_size);
+ tid, (uptr)epoch0, args->stk_addr, args->stk_size,
+ args->tls_addr, args->tls_size);
thr->is_alive = true;
}
More information about the llvm-commits
mailing list