[llvm-branch-commits] [compiler-rt] 8efacc4 - Revert "[CFI] Expand test to include minimal runtime (#183646)"

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Mar 11 10:26:31 PDT 2026


Author: Nico Weber
Date: 2026-03-11T13:26:26-04:00
New Revision: 8efacc4099d1c026fd1a2f5d52a38ad4d279d708

URL: https://github.com/llvm/llvm-project/commit/8efacc4099d1c026fd1a2f5d52a38ad4d279d708
DIFF: https://github.com/llvm/llvm-project/commit/8efacc4099d1c026fd1a2f5d52a38ad4d279d708.diff

LOG: Revert "[CFI] Expand test to include minimal runtime (#183646)"

This reverts commit eba4a76597dd1d655794cb5732ace534b58bd97d.

Added: 
    

Modified: 
    compiler-rt/test/cfi/icall/bad-signature.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/cfi/icall/bad-signature.c b/compiler-rt/test/cfi/icall/bad-signature.c
index ed02bccb2b5d6..183e62738bb26 100644
--- a/compiler-rt/test/cfi/icall/bad-signature.c
+++ b/compiler-rt/test/cfi/icall/bad-signature.c
@@ -7,9 +7,6 @@
 // RUN: %clang_cfi_diag -g -o %t3 %s
 // RUN: %t3 2>&1 | FileCheck --check-prefix=CFI-DIAG %s
 
-// RUN: %clang_cfi -fno-sanitize-trap=cfi -fsanitize-recover=cfi -fsanitize-minimal-runtime -o %t4 %s
-// RUN: %t4 2>&1 | FileCheck --check-prefix=CFI-MINIMAL %s
-
 #include <stdio.h>
 
 void f() {
@@ -18,16 +15,13 @@ void f() {
 int main() {
   // CFI: 1
   // NCFI: 1
-  // CFI-MINIMAL: 1
   fprintf(stderr, "1\n");
 
   // CFI-DIAG: runtime error: control flow integrity check for type 'void (int)' failed during indirect function call
   // CFI-DIAG: f defined here
-  // CFI-MINIMAL: ubsan: cfi-check-fail by 0x
   ((void (*)(int))f)(42); // UB here
 
   // CFI-NOT: 2
   // NCFI: 2
-  // CFI-MINIMAL: 2
   fprintf(stderr, "2\n");
 }


        


More information about the llvm-branch-commits mailing list