diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-10-08 13:11:18 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-10-08 13:11:18 +0000 |
commit | 480477c0e1f99df40b64d4fc9cf8a458e8d11b78 (patch) | |
tree | caa8bd84cd1cd442814f5d6b55c5c2287f2a5c54 /compiler-rt/lib/asan/lit_tests/heap-overflow.cc | |
parent | 0ae35af51873e9750724145c4b524fdbc149accf (diff) | |
download | bcm5719-llvm-480477c0e1f99df40b64d4fc9cf8a458e8d11b78.tar.gz bcm5719-llvm-480477c0e1f99df40b64d4fc9cf8a458e8d11b78.zip |
[ASan] use llvm-symbolizer for ASan lit-style tests on Mac
llvm-svn: 165391
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/heap-overflow.cc')
-rw-r--r-- | compiler-rt/lib/asan/lit_tests/heap-overflow.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/heap-overflow.cc b/compiler-rt/lib/asan/lit_tests/heap-overflow.cc index 345d0b994c5..2cd6d03eea2 100644 --- a/compiler-rt/lib/asan/lit_tests/heap-overflow.cc +++ b/compiler-rt/lib/asan/lit_tests/heap-overflow.cc @@ -22,7 +22,7 @@ int main(int argc, char **argv) { memset(x, 0, 10); int res = x[argc * 10]; // BOOOM // CHECK: {{READ of size 1 at 0x.* thread T0}} - // CHECK: {{ #0 0x.* in main .*heap-overflow.cc:23}} + // CHECK: {{ #0 0x.* in _?main .*heap-overflow.cc:23}} // CHECK: {{0x.* is located 0 bytes to the right of 10-byte region}} // CHECK: {{allocated by thread T0 here:}} @@ -32,7 +32,7 @@ int main(int argc, char **argv) { // CHECK-Darwin: {{ #0 0x.* in .*mz_malloc.*}} // CHECK-Darwin: {{ #1 0x.* in malloc_zone_malloc.*}} // CHECK-Darwin: {{ #2 0x.* in malloc.*}} - // CHECK-Darwin: {{ #3 0x.* in main heap-overflow.cc:21}} + // CHECK-Darwin: {{ #3 0x.* in _?main .*heap-overflow.cc:21}} free(x); return res; } |