[compiler-rt] 0e099a6 - [tsan] Relax atexit5.cpp a bit more so it's not as dependent on the standard library implementation

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 26 05:02:44 PST 2021


Author: Benjamin Kramer
Date: 2021-11-26T14:02:34+01:00
New Revision: 0e099a64be7071f5109befaeb8e8534392192888

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

LOG: [tsan] Relax atexit5.cpp a bit more so it's not as dependent on the standard library implementation

Added: 
    

Modified: 
    compiler-rt/test/tsan/atexit5.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/tsan/atexit5.cpp b/compiler-rt/test/tsan/atexit5.cpp
index a784bc6e17d1..ef3b3858251e 100644
--- a/compiler-rt/test/tsan/atexit5.cpp
+++ b/compiler-rt/test/tsan/atexit5.cpp
@@ -23,5 +23,5 @@ int main() {
 // CHECK:   Write of size 8
 // The exact spelling and number of std frames is hard to guess.
 // CHECK:     unique_ptr
-// CHECK:     #{{1|2}} cxa_at_exit_callback_installed_at
-// CHECK:     #{{2|3}} __cxx_global_var_init
+// CHECK:     #{{[1-9]}} cxa_at_exit_callback_installed_at
+// CHECK:     #{{[2-9]}} __cxx_global_var_init


        


More information about the llvm-commits mailing list