Fix-up for r290119 - don't check global size, it might not be available when using atos

llvm-svn: 290123
This commit is contained in:
Kuba Mracek 2016-12-19 18:06:49 +00:00
parent 2bb88ab5e0
commit 866310fcbc
1 changed files with 1 additions and 1 deletions

View File

@ -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);