Author: earnol
Date: 2024-08-16T12:34:22-04:00
New Revision: d8c2874172ebe70d34c08dea5fcf885283c93562

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

LOG: [test] Prevent generation of the bigendian code inside clang test 
CodeGen/bit-int-ubsan.c (#104607)

Add missing -triple x86_64-pc-linux-gnu line into RUN line, which should be 
here.

---------

Co-authored-by: Eänolituri Lómitaurë <vladislav.ara...@ericsson.com>
Co-authored-by: Aaron Ballman <aa...@aaronballman.com>
Co-authored-by: Paul Kirth <paulki...@google.com>
Co-authored-by: Vitaly Buka <vitalyb...@gmail.com>

Added: 
    

Modified: 
    clang/test/CodeGen/bit-int-ubsan.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/bit-int-ubsan.c 
b/clang/test/CodeGen/bit-int-ubsan.c
index 10c0d8a23f8f97..40e4fde1d1f417 100644
--- a/clang/test/CodeGen/bit-int-ubsan.c
+++ b/clang/test/CodeGen/bit-int-ubsan.c
@@ -1,5 +1,5 @@
 // REQUIRES: x86-registered-target
-// RUN: %clang_cc1 -Wno-constant-conversion -Wno-array-bounds 
-Wno-division-by-zero -Wno-shift-negative-value -Wno-shift-count-negative 
-Wno-int-to-pointer-cast 
-fsanitize=array-bounds,enum,float-cast-overflow,integer-divide-by-zero,implicit-unsigned-integer-truncation,implicit-signed-integer-truncation,implicit-integer-sign-change,unsigned-integer-overflow,signed-integer-overflow,shift-base,shift-exponent
 -O0 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -Wno-constant-conversion 
-Wno-array-bounds -Wno-division-by-zero -Wno-shift-negative-value 
-Wno-shift-count-negative -Wno-int-to-pointer-cast 
-fsanitize=array-bounds,enum,float-cast-overflow,integer-divide-by-zero,implicit-unsigned-integer-truncation,implicit-signed-integer-truncation,implicit-integer-sign-change,unsigned-integer-overflow,signed-integer-overflow,shift-base,shift-exponent
 -O0 -emit-llvm -o - %s | FileCheck %s
 
 // The runtime test checking the _BitInt ubsan feature is located in 
compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to