[llvm-branch-commits] [compiler-rt] 20a2b1b - [NFC][sanitizer] Another attempt to fix test on arm

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 2 18:44:02 PST 2020


Author: Vitaly Buka
Date: 2020-12-02T18:36:02-08:00
New Revision: 20a2b1bf6bfec9a90e56cecd79d918bd5c0f6cc6

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

LOG: [NFC][sanitizer] Another attempt to fix test on arm

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 d126d79e8afe..5ebf98c955c9 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
@@ -27,7 +27,7 @@ int main(int argc, char *argv[]) {
   system(buff);
 
   void *prev_handle = 0;
-  for (int i = 0; i < 300; ++i) {
+  for (int i = 0; i < 600; ++i) {
     sprintf(buff, "cp %s.so %s.so.%d", argv[0], argv[0], i);
     system(buff);
 
@@ -51,7 +51,7 @@ extern "C" void StoreToTLS(char c) {
 }
 #endif // BUILD_DSO
 
-// 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|511}}
-// CHECK-NEXT: DTLS_NextBlock [[DTLS]] 1
+// CHECK: DTLS_Find [[DTLS:0x[a-f0-9]+]] {{[0-9]+}}
+// CHECK: DTLS_NextBlock [[DTLS]] 0
+// CHECK: DTLS_Find [[DTLS:0x[a-f0-9]+]] {{[0-9]+}}
+// CHECK: DTLS_NextBlock [[DTLS]] 1


        


More information about the llvm-branch-commits mailing list