Revert "[tsan] Add debugging interfaces into interface header."
authorHans Wennborg <hans@chromium.org>
Thu, 13 Apr 2023 07:03:29 +0000 (09:03 +0200)
committerHans Wennborg <hans@chromium.org>
Thu, 13 Apr 2023 07:07:20 +0000 (09:07 +0200)
commite3230295faad27c9f6f2de0d9471c25111a7dd67
tree597746f078bb4cf3eb09747232ab1741e70e9375
parentfd8745c252bcd4bc974ce3ff30c19f1cc5c4e3e0
Revert "[tsan] Add debugging interfaces into interface header."

It broke lit tests on Mac, see comments on the code review.

> Reviewed By: vitalybuka, dvyukov
>
> Differential Revision: https://reviews.llvm.org/D147337

This reverts commit ebb0f1d0639eeca5479fa4bfdc1ebcebf5c21dee and
follow-up commit 3c83aeee6b7d5e9ac5de1e29605ee57c2b800ca1.
compiler-rt/include/sanitizer/tsan_interface.h
compiler-rt/test/tsan/Darwin/debug_external.cpp
compiler-rt/test/tsan/debug_mutex_bad_unlock.cpp [deleted file]
compiler-rt/test/tsan/debugging.cpp