From 866310fcbc07da81120c225e45d24b1da32b3a01 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Mon, 19 Dec 2016 18:06:49 +0000 Subject: [PATCH] Fix-up for r290119 - don't check global size, it might not be available when using atos llvm-svn: 290123 --- compiler-rt/test/tsan/debug_locate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/debug_locate.cc b/compiler-rt/test/tsan/debug_locate.cc index 6f88b6f..01b0960d 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); -- 2.7.4