summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2016-12-19 18:06:49 +0000
committerKuba Mracek <mracek@apple.com>2016-12-19 18:06:49 +0000
commit866310fcbc07da81120c225e45d24b1da32b3a01 (patch)
tree91305b8d4cc5ea093e00d1b9414ab0d57ed4c947
parent2bb88ab5e0c2a980c5cd723f362bafd9e0a3e927 (diff)
downloadbcm5719-llvm-866310fcbc07da81120c225e45d24b1da32b3a01.tar.gz
bcm5719-llvm-866310fcbc07da81120c225e45d24b1da32b3a01.zip
Fix-up for r290119 - don't check global size, it might not be available when using atos
llvm-svn: 290123
-rw-r--r--compiler-rt/test/tsan/debug_locate.cc2
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);
OpenPOWER on IntegriCloud