[NFC] Update tsan_rtl.h comment after D142039

This commit is contained in:
Han Zhu 2023-01-24 10:46:31 -08:00
parent 62aa19a5a5
commit 7a2f3d1886

View File

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