[tsan] Relax atexit5.cpp a bit more so it's not as dependent on the standard library...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Nov 2021 13:01:40 +0000 (14:01 +0100)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Nov 2021 13:02:34 +0000 (14:02 +0100)
compiler-rt/test/tsan/atexit5.cpp

index a784bc6..ef3b385 100644 (file)
@@ -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