[compiler-rt] [libFuzzer] Mark libFuzzer SIGTRAP test unsupported on windows (PR #151109)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 01:57:40 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

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

Author: Dan Blackwell (DanBlackwell)

<details>
<summary>Changes</summary>

This change is based on the UNSUPPORTED mark from the existing sigusr test https://github.com/llvm/llvm-project/blob/c59cc542844b5b4a25cd222ad0127ca2e74953ad/compiler-rt/test/fuzzer/sigusr.test#L4

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


1 Files Affected:

- (modified) compiler-rt/test/fuzzer/sig-trap.test (+4) 


``````````diff
diff --git a/compiler-rt/test/fuzzer/sig-trap.test b/compiler-rt/test/fuzzer/sig-trap.test
index ee47d2c79e0e2..30d9d47f4d81f 100644
--- a/compiler-rt/test/fuzzer/sig-trap.test
+++ b/compiler-rt/test/fuzzer/sig-trap.test
@@ -1,3 +1,7 @@
+# Check that libFuzzer handles SIGTRAP; disabled on Windows due to reliance on
+# posix only features
+UNSUPPORTED: target={{.*windows.*}}
+
 RUN: %cpp_compiler %S/SigTrapTest.cpp -o %t
 
 RUN: not %run %t            2>&1 | FileCheck %s

``````````

</details>


https://github.com/llvm/llvm-project/pull/151109


More information about the llvm-commits mailing list