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/use-after-free.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/use-after-free.cc')
-rw-r--r-- | compiler-rt/lib/asan/lit_tests/use-after-free.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/use-after-free.cc b/compiler-rt/lib/asan/lit_tests/use-after-free.cc index 9d8e8ac384e..841d7d3af30 100644 --- a/compiler-rt/lib/asan/lit_tests/use-after-free.cc +++ b/compiler-rt/lib/asan/lit_tests/use-after-free.cc @@ -23,7 +23,7 @@ int main() { // CHECK: {{.*ERROR: AddressSanitizer heap-use-after-free on address}} // CHECK: {{0x.* at pc 0x.* bp 0x.* sp 0x.*}} // CHECK: {{READ of size 1 at 0x.* thread T0}} - // CHECK: {{ #0 0x.* in main .*use-after-free.cc:22}} + // CHECK: {{ #0 0x.* in _?main .*use-after-free.cc:22}} // CHECK: {{0x.* is located 5 bytes inside of 10-byte region .0x.*,0x.*}} // CHECK: {{freed by thread T0 here:}} @@ -33,7 +33,7 @@ int main() { // CHECK-Darwin: {{ #0 0x.* in .*mz_free.*}} // We override free() on Darwin, thus no malloc_zone_free // CHECK-Darwin: {{ #1 0x.* in wrap_free}} - // CHECK-Darwin: {{ #2 0x.* in main .*use-after-free.cc:21}} + // CHECK-Darwin: {{ #2 0x.* in _?main .*use-after-free.cc:21}} // CHECK: {{previously allocated by thread T0 here:}} @@ -43,5 +43,5 @@ int main() { // 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 .*use-after-free.cc:20}} + // CHECK-Darwin: {{ #3 0x.* in _?main .*use-after-free.cc:20}} } |