[all-commits] [llvm/llvm-project] 1d31ea: Fix LazyInitialization in tsan
ZijunZhaoCCK via All-commits
all-commits at lists.llvm.org
Mon Oct 24 17:59:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d31ea68c0cbc24d690a58c296b50b61595b6127
https://github.com/llvm/llvm-project/commit/1d31ea68c0cbc24d690a58c296b50b61595b6127
Author: zijunzhao <zijunzhao at google.com>
Date: 2022-10-25 (Tue, 25 Oct 2022)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_rtl.h
Log Message:
-----------
Fix LazyInitialization in tsan
In Android, further initialization is always necessary whether preinit_array can be used.
LazyInitialize is needed regardless of .preinit_array support on platforms where runtime is loaded as dynamic library, e.g. Android.
Reviewed By: dvyukov, vitalybuka
Differential Revision: https://reviews.llvm.org/D135925
More information about the All-commits
mailing list