[TSan] fix undefined variable in debug TSan build

llvm-svn: 177249
This commit is contained in:
Alexey Samsonov 2013-03-18 07:33:00 +00:00
parent 4f1c8a13d5
commit cbed82ea70
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}