[all-commits] [llvm/llvm-project] 24af1b: tsan: don't instrument runtime callbacks in tests

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Oct 5 23:44:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24af1ba605364e3e91a05e47d41c2aec1b7b2d26
      https://github.com/llvm/llvm-project/commit/24af1ba605364e3e91a05e47d41c2aec1b7b2d26
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M compiler-rt/test/tsan/Linux/double_race.cpp
    M compiler-rt/test/tsan/debugging.cpp
    M compiler-rt/test/tsan/java_symbolization.cpp
    M compiler-rt/test/tsan/java_symbolization_legacy.cpp

  Log Message:
  -----------
  tsan: don't instrument runtime callbacks in tests

These runtime callbacks are supposed to be non-instrumented,
we can't handle runtime recursion well, nor can we afford
explicit recursion checks in the hot functions (memory access,
function entry/exit).
It used to work (not crash), but it won't work with the new runtime.
Mark all runtime callbacks as non-instrumented.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list