[PATCH] D58171: Fix thread sanitizer on aarch64

Yuri Per via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 13 03:48:13 PST 2019


yuri updated this revision to Diff 186624.
yuri added a comment.

Patch with context


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58171/new/

https://reviews.llvm.org/D58171

Files:
  lib/tsan/rtl/tsan_interceptors.cc


Index: lib/tsan/rtl/tsan_interceptors.cc
===================================================================
--- lib/tsan/rtl/tsan_interceptors.cc
+++ lib/tsan/rtl/tsan_interceptors.cc
@@ -153,7 +153,7 @@
 #endif
 
 #define COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED \
-  (!cur_thread()->is_inited)
+  (cur_thread_init(), !cur_thread()->is_inited)
 
 namespace __tsan {
 struct SignalDesc {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58171.186624.patch
Type: text/x-patch
Size: 390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190213/b28e90e6/attachment.bin>


More information about the llvm-commits mailing list