[all-commits] [llvm/llvm-project] ed0902: Fix LazyInitialization in tsan
ZijunZhaoCCK via All-commits
all-commits at lists.llvm.org
Mon Oct 24 17:57:15 PDT 2022
Branch: refs/heads/local
Home: https://github.com/llvm/llvm-project
Commit: ed090295c51729bb41ef7acd5888ce2d9d1bd537
https://github.com/llvm/llvm-project/commit/ed090295c51729bb41ef7acd5888ce2d9d1bd537
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