Skip to content

Conversation

DanBlackwell
Copy link
Contributor

This test is currently failing on ios-sim. This patch follows other sanitizer tests that use DYLD_INSERT_LIBRARIES and marks itself unsupported on ios platforms.

rdar://162287951

This test is currently failing on ios-sim. This patch follows other sanitizer tests that use DYLD_INSERT_LIBRARIES and marks itself unsupported on ios platforms.

rdar://162287951
@llvmbot
Copy link
Member

llvmbot commented Oct 13, 2025

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Dan Blackwell (DanBlackwell)

Changes

This test is currently failing on ios-sim. This patch follows other sanitizer tests that use DYLD_INSERT_LIBRARIES and marks itself unsupported on ios platforms.

rdar://162287951


Full diff: https://github.com/llvm/llvm-project/pull/163178.diff

1 Files Affected:

  • (modified) compiler-rt/test/tsan/Darwin/write-interpose.c (+2)
diff --git a/compiler-rt/test/tsan/Darwin/write-interpose.c b/compiler-rt/test/tsan/Darwin/write-interpose.c
index cbd9a0867c982..51ff3ee3d0df9 100644
--- a/compiler-rt/test/tsan/Darwin/write-interpose.c
+++ b/compiler-rt/test/tsan/Darwin/write-interpose.c
@@ -7,6 +7,8 @@
 // Note that running the below command with out `lock_during_write` should
 // deadlock (self-lock)
 // RUN: env DYLD_INSERT_LIBRARIES=%t.dylib TSAN_OPTIONS=verbosity=2:lock_during_write=disable_for_current_process %run %t 2>&1 | FileCheck %s
+//
+// UNSUPPORTED: ios
 
 #include <stdio.h>
 

Copy link
Contributor

@wrotki wrotki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@thetruestblue
Copy link
Contributor

nit: I'd prefer a note saying why it's unsupported for future dev's sake or finding these in the future if we can enable them.

Copy link
Contributor

@thetruestblue thetruestblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit.

@DanBlackwell
Copy link
Contributor Author

I will merge this now to stop the CI noise; but I think that we may be able to mark many of the DYLD_INSERT_LIBRARIES tests supported if we change env to %env. If so I will do it in a separate PR.

@DanBlackwell DanBlackwell merged commit 24c5926 into llvm:main Oct 14, 2025
14 checks passed
akadutta pushed a commit to akadutta/llvm-project that referenced this pull request Oct 14, 2025
)

This test is currently failing on ios-sim. This patch follows other
sanitizer tests that use DYLD_INSERT_LIBRARIES and marks itself
unsupported on ios platforms.

rdar://162287951
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants