projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb88ab
)
Fix-up for r290119 - don't check global size, it might not be available when using...
author
Kuba Mracek
<mracek@apple.com>
Mon, 19 Dec 2016 18:06:49 +0000
(18:06 +0000)
committer
Kuba Mracek
<mracek@apple.com>
Mon, 19 Dec 2016 18:06:49 +0000
(18:06 +0000)
llvm-svn: 290123
compiler-rt/test/tsan/debug_locate.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/test/tsan/debug_locate.cc
b/compiler-rt/test/tsan/debug_locate.cc
index
6f88b6f
..
01b0960
100644
(file)
--- 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);