[compiler-rt] [TSan] Fix spurious 'thread finished with ignores enabled' warning on FreeBSD (PR #155399)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 09:50:36 PDT 2025
================
@@ -2890,7 +2890,9 @@ TSAN_INTERCEPTOR(void, _lwp_exit) {
#if SANITIZER_FREEBSD
TSAN_INTERCEPTOR(void, thr_exit, ThreadID *state) {
- SCOPED_TSAN_INTERCEPTOR(thr_exit, state);
+ {
----------------
vitalybuka wrote:
It's not obvious why {} is needed.
Can you add explaining comment?
https://github.com/llvm/llvm-project/pull/155399
More information about the llvm-commits
mailing list