mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 09:41:08 +00:00
[NFC] Update tsan_rtl.h comment after D142039
This commit is contained in:
parent
62aa19a5a5
commit
7a2f3d1886
@ -680,7 +680,8 @@ ALWAYS_INLINE
|
||||
void LazyInitialize(ThreadState *thr) {
|
||||
// If we can use .preinit_array, assume that __tsan_init
|
||||
// called from .preinit_array initializes runtime before
|
||||
// any instrumented code except ANDROID.
|
||||
// any instrumented code except when tsan is used as a
|
||||
// shared library.
|
||||
#if (!SANITIZER_CAN_USE_PREINIT_ARRAY || defined(SANITIZER_SHARED))
|
||||
if (UNLIKELY(!is_initialized))
|
||||
Initialize(thr);
|
||||
|
Loading…
Reference in New Issue
Block a user