Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test][sanitizer] Allow fork_threaded test on Msan, Tsan, Ubsan #75260

Conversation

vitalybuka
Copy link
Collaborator

They already include workarounds.

@llvmbot
Copy link
Collaborator

llvmbot commented Dec 13, 2023

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

Author: Vitaly Buka (vitalybuka)

Changes

They already include workarounds.


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

1 Files Affected:

  • (modified) compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp (+1-1)
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
index 2264c55816638..72a2f78a5a3e7 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
@@ -1,6 +1,6 @@
 // RUN: %clangxx -O0 %s -o %t && %env_tool_opts=die_after_fork=0 %run %t
 
-// UNSUPPORTED: *
+// UNSUPPORTED: asan, lsan, hwasan
 
 // Forking in multithread environment is unsupported. However we already have
 // some workarounds, and will add more, so this is the test.

Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@vitalybuka vitalybuka changed the base branch from users/vitalybuka/spr/main.testsanitizer-allow-fork_threaded-test-on-msan-tsan to main December 13, 2023 04:00
@vitalybuka vitalybuka changed the title [test][sanitizer] Allow fork_threaded test on Msan, Tsan [test][sanitizer] Allow fork_threaded test on Msan, Tsan, Ubsan Dec 13, 2023
Created using spr 1.3.4
@vitalybuka vitalybuka merged commit 18b4157 into main Dec 13, 2023
3 of 4 checks passed
@vitalybuka vitalybuka deleted the users/vitalybuka/spr/testsanitizer-allow-fork_threaded-test-on-msan-tsan branch December 13, 2023 04:24
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.

None yet

3 participants