[all-commits] [llvm/llvm-project] 0bc10d: tsan: restore Initialize call in Java entry points

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Jul 29 08:13:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bc10d9a8ed072c280ec07cd814671dae887a943
      https://github.com/llvm/llvm-project/commit/0bc10d9a8ed072c280ec07cd814671dae887a943
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp

  Log Message:
  -----------
  tsan: restore Initialize call in Java entry points

We used to call Initialize in every Java point.
That was removed in 6563bb53b5 ("tsan: don't use caller/current PC in Java interfaces").
The intention was to add a single Initialize to __tsan_java_init instead.
Do that.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107069




More information about the All-commits mailing list