[compiler-rt] [Apple][RTSan] Realtime sanitizers are failing in Apple CI (PR #124873)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 19:55:50 PST 2025
================
@@ -1037,18 +1037,18 @@ TEST(TestRtsanInterceptors, PthreadJoinDiesWhenRealtime) {
#if SANITIZER_APPLE
-#pragma clang diagnostic push
-// OSSpinLockLock is deprecated, but still in use in libc++
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-TEST(TestRtsanInterceptors, OsSpinLockLockDiesWhenRealtime) {
- auto Func = []() {
- OSSpinLock spin_lock{};
- OSSpinLockLock(&spin_lock);
- };
- ExpectRealtimeDeath(Func, "OSSpinLockLock");
- ExpectNonRealtimeSurvival(Func);
-}
-#pragma clang diagnostic pop
+// #pragma clang diagnostic push
+// // OSSpinLockLock is deprecated, but still in use in libc++
+// #pragma clang diagnostic ignored "-Wdeprecated-declarations"
+// TEST(TestRtsanInterceptors, OsSpinLockLockDiesWhenRealtime) {
----------------
thetruestblue wrote:
Ah, I think I have an explanation for this one.
See: https://github.com/llvm/llvm-project/commit/a34159f85ee01c197cc9d938bd1fc40c4c7dba51
https://github.com/llvm/llvm-project/pull/124873
More information about the llvm-commits
mailing list