[all-commits] [llvm/llvm-project] 3da11a: Fix LazyInitialization in tsan

ZijunZhaoCCK via All-commits all-commits at lists.llvm.org
Mon Oct 24 17:57:29 PDT 2022


  Branch: refs/heads/arcpatch-D135925
  Home:   https://github.com/llvm/llvm-project
  Commit: 3da11a80d323b1607b95270b0d2ba5031711c1d8
      https://github.com/llvm/llvm-project/commit/3da11a80d323b1607b95270b0d2ba5031711c1d8
  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