[compiler-rt] 53e85d4 - [nfc][ubsan] Reorder RUNs and preconditions in test

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 12:36:04 PDT 2024


Author: Vitaly Buka
Date: 2024-10-18T12:35:59-07:00
New Revision: 53e85d44ad6f0973185fbe5d8d347905a1bdff1c

URL: https://github.com/llvm/llvm-project/commit/53e85d44ad6f0973185fbe5d8d347905a1bdff1c
DIFF: https://github.com/llvm/llvm-project/commit/53e85d44ad6f0973185fbe5d8d347905a1bdff1c.diff

LOG: [nfc][ubsan] Reorder RUNs and preconditions in test

Added: 
    

Modified: 
    compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp b/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
index 2d65330ef28943..e1a1554050eb63 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
@@ -1,8 +1,10 @@
+// RUN: %clangxx -fsanitize=bool -static  %s -o %t && env UBSAN_OPTIONS=handle_segv=0:handle_sigbus=0:handle_sigfpe=0 %run %t 2>&1 | FileCheck %s
+// RUN: %run %t 2>&1 | FileCheck %s
+
 // REQUIRES: ubsan-standalone
 // REQUIRES: target={{x86_64.*}}
 // UNSUPPORTED: i386-target-arch, internal_symbolizer
-// RUN: %clangxx -fsanitize=bool -static  %s -o %t && env UBSAN_OPTIONS=handle_segv=0:handle_sigbus=0:handle_sigfpe=0 %run %t 2>&1 | FileCheck %s
-// RUN: %run %t 2>&1 | FileCheck %s
+
 #include <signal.h>
 #include <stdio.h>
 


        


More information about the llvm-commits mailing list