From: Kuba Mracek Date: Mon, 19 Dec 2016 18:06:49 +0000 (+0000) Subject: Fix-up for r290119 - don't check global size, it might not be available when using... X-Git-Tag: llvmorg-4.0.0-rc1~1685 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=866310fcbc07da81120c225e45d24b1da32b3a01;p=platform%2Fupstream%2Fllvm.git Fix-up for r290119 - don't check global size, it might not be available when using atos llvm-svn: 290123 --- 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);