Fix an uninitialized field in tsan_block_context_t/AllocContext in tsan_libdispatch_mac.cc.

llvm-svn: 298738
This commit is contained in:
Kuba Mracek 2017-03-24 20:57:33 +00:00
parent 0607a4427b
commit 44df297598
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ static tsan_block_context_t *AllocContext(ThreadState *thr, uptr pc,
new_context->free_context_in_callback = true;
new_context->submitted_synchronously = false;
new_context->is_barrier_block = false;
new_context->non_queue_sync_object = false;
return new_context;
}