[compiler-rt] [RTSan][Darwin] Adjust OSSpinLock/_os_nospin_lock interceptor and tests (PR #132867)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 14:34:11 PDT 2025
================
@@ -139,13 +139,13 @@ TEST(TestRtsanInterceptors, VallocDiesWhenRealtime) {
#define ALIGNED_ALLOC_AVAILABLE() (true)
#endif
-TEST(TestRtsanInterceptors, AlignedAllocDiesWhenRealtime) {
- if (ALIGNED_ALLOC_AVAILABLE()) {
- auto Func = []() { EXPECT_NE(nullptr, aligned_alloc(16, 32)); };
- ExpectRealtimeDeath(Func, "aligned_alloc");
- ExpectNonRealtimeSurvival(Func);
- }
-}
+// TEST(TestRtsanInterceptors, AlignedAllocDiesWhenRealtime) {
----------------
davidtrevelyan wrote:
Is this commented out because of a missing symbol linker error `___isPlatformVersionAtLeast`? I found that the issue here is something to do with the `builtins` library. While I was investigating I built the target `builtins` and then suddenly the linker error went away - I'll investigate the source of this build order dependency when I have time.
If we can avoid removing this test, that would be preferable
https://github.com/llvm/llvm-project/pull/132867
More information about the llvm-commits
mailing list