[compiler-rt] r290123 - Fix-up for r290119 - don't check global size, it might not be available when using atos
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 10:06:49 PST 2016
Author: kuba.brecka
Date: Mon Dec 19 12:06:49 2016
New Revision: 290123
URL: http://llvm.org/viewvc/llvm-project?rev=290123&view=rev
Log:
Fix-up for r290119 - don't check global size, it might not be available when using atos
Modified:
compiler-rt/trunk/test/tsan/debug_locate.cc
Modified: compiler-rt/trunk/test/tsan/debug_locate.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/debug_locate.cc?rev=290123&r1=290122&r2=290123&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/debug_locate.cc (original)
+++ compiler-rt/trunk/test/tsan/debug_locate.cc Mon Dec 19 12:06:49 2016
@@ -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);
More information about the llvm-commits
mailing list