Skip to content

Conversation

@cachemeifyoucan
Copy link
Collaborator

Mark signal_recursive.cpp test as unsupported on Darwin due to deprecated API sem_init and test receives error:

sem_init failed (errno=78)

Mark signal_recursive.cpp test as unsupported on Darwin due to
deprecated API `sem_init` and test receives error:

`sem_init failed (errno=78)`
@llvmbot
Copy link
Member

llvmbot commented May 22, 2025

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

Author: Steven Wu (cachemeifyoucan)

Changes

Mark signal_recursive.cpp test as unsupported on Darwin due to deprecated API sem_init and test receives error:

sem_init failed (errno=78)


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

1 Files Affected:

  • (modified) compiler-rt/test/tsan/signal_recursive.cpp (+2)
diff --git a/compiler-rt/test/tsan/signal_recursive.cpp b/compiler-rt/test/tsan/signal_recursive.cpp
index fca8757d2a952..189c35a299dcd 100644
--- a/compiler-rt/test/tsan/signal_recursive.cpp
+++ b/compiler-rt/test/tsan/signal_recursive.cpp
@@ -3,6 +3,8 @@
 // Test case for recursive signal handlers, adopted from:
 // https://github.com/google/sanitizers/issues/478
 
+// UNSUPPORTED: darwin
+
 #include "test.h"
 #include <semaphore.h>
 #include <signal.h>

@cachemeifyoucan cachemeifyoucan merged commit e9304cb into llvm:main May 22, 2025
12 of 13 checks passed
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.

2 participants