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

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


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

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

>From 5ca82d5410fd3859ec2e4951ac1c36d02478b8e8 Mon Sep 17 00:00:00 2001
From: Dan Blackwell <dan_blackwell at apple.com>
Date: Tue, 29 Jul 2025 09:53:34 +0100
Subject: [PATCH] [libFuzzer] Mark libFuzzer SIGTRAP test unsupported on
 windows

---
 compiler-rt/test/fuzzer/sig-trap.test | 4 ++++
 1 file changed, 4 insertions(+)

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



More information about the llvm-commits mailing list