commit | 846c0d784e6caccbe1f60cbf85d73e8aee6dd0cd | [log] [tgz] |
---|---|---|
author | zijunzhao <zijunzhao@google.com> | Tue Oct 25 00:19:03 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 24 18:03:39 2022 -0700 |
tree | 11b1d7d4964903098c6c1a3837694a581e5d42a8 | |
parent | c534c09047ace7d39f5fca926bd0875e9c747340 [diff] |
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 GitOrigin-RevId: 1d31ea68c0cbc24d690a58c296b50b61595b6127