aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2023-11-07 16:06:58 +0100
committerHans Wennborg <hans@chromium.org>2023-11-07 16:08:01 +0100
commit27156dd575d34980c21f97fae4bfbd47a8ca16de (patch)
treecbf4a8c8a0ffd51da676a664c8831fd8260586fd /llvm/lib/CodeGen/StackProtector.cpp
parent8ee9da02325cebf359de987f7ac8e1d3d629affe (diff)
downloadllvm-27156dd575d34980c21f97fae4bfbd47a8ca16de.zip
llvm-27156dd575d34980c21f97fae4bfbd47a8ca16de.tar.gz
llvm-27156dd575d34980c21f97fae4bfbd47a8ca16de.tar.bz2
Revert "[TSAN] Add __tsan_check_no_mutexes_held helper (#69372)"
The new lit test fails, see comment on the PR. This also reverts the follow-up commit, see below. > This adds a new helper that can be called from application code to > ensure that no mutexes are held on specific code paths. This is useful > for multiple scenarios, including ensuring no locks are held: > > - at thread exit > - in peformance-critical code > - when a coroutine is suspended (can cause deadlocks) > > See this discourse thread for more discussion: > > https://discourse.llvm.org/t/add-threadsanitizer-check-to-prevent-coroutine-suspending-while-holding-a-lock-potential-deadlock/74051 This reverts commit bd841111f340a73eb23c1be70ff1be4c8a6afb0c. This reverts commit 16a395b74d35c564f6f36ba4a167950a323badd9.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions