[llvm-branch-commits] [compiler-rt] 1f3def1 - [NFC][sanitizer] Fix test on 32bit platform

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 2 07:40:49 PST 2020


Author: Vitaly Buka
Date: 2020-12-02T07:32:40-08:00
New Revision: 1f3def16f6e563a16a0c17d1c251d47cd57a691a

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

LOG: [NFC][sanitizer] Fix test on 32bit platform

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
index 11c0e48a855e..d126d79e8afe 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
@@ -53,6 +53,5 @@ extern "C" void StoreToTLS(char c) {
 
 // CHECK:      DTLS_Find [[DTLS:0x[a-f0-9]+]] {{[0-9]+}}
 // CHECK-NEXT: DTLS_NextBlock [[DTLS]] 0
-// CHECK:      DTLS_Find [[DTLS:0x[a-f0-9]+]] 255
+// CHECK:      DTLS_Find [[DTLS:0x[a-f0-9]+]] {{255|511}}
 // CHECK-NEXT: DTLS_NextBlock [[DTLS]] 1
-// CHECK-NOT:  DTLS_NextBlock


        


More information about the llvm-branch-commits mailing list