diff options
-rw-r--r-- | compiler-rt/test/tsan/debug_locate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/debug_locate.cc b/compiler-rt/test/tsan/debug_locate.cc index 6f88b6f13b5..01b0960d85b 100644 --- a/compiler-rt/test/tsan/debug_locate.cc +++ b/compiler-rt/test/tsan/debug_locate.cc @@ -32,7 +32,7 @@ int main() { type = __tsan_locate_address(&global_var, name, 128, &start, &size); fprintf(stderr, "type: %s, name = %s, start = %p, size = %zu\n", type, name, start, size); - // CHECK: type: global, name = global_var, start = [[GLOBAL_VAR]], size = 8 + // CHECK: type: global, name = global_var, start = [[GLOBAL_VAR]], size = {{8|0}} type = __tsan_locate_address(heap_var, name, 128, &start, &size); fprintf(stderr, "type: %s, start = %p, size = %zu\n", type, start, size); |