summaryrefslogtreecommitdiff
path: root/lib/asan/lit_tests/use-after-free.cc
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2012-11-09 11:55:33 +0000
committerAlexander Potapenko <glider@google.com>2012-11-09 11:55:33 +0000
commit8c7e491c45842a13faedbead8250c8c98817455b (patch)
treeed7fc284feccb1f4b95391d14e797ffbb78adc60 /lib/asan/lit_tests/use-after-free.cc
parent275ca01c181dd04ac504971e300ccc92d334a61d (diff)
downloadcompiler-rt-8c7e491c45842a13faedbead8250c8c98817455b.tar.gz
Add a possible underscore before the wrappers to the output expectations for Darwin
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/lit_tests/use-after-free.cc')
-rw-r--r--lib/asan/lit_tests/use-after-free.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/lit_tests/use-after-free.cc b/lib/asan/lit_tests/use-after-free.cc
index 0ab8e094c..042ca66cc 100644
--- a/lib/asan/lit_tests/use-after-free.cc
+++ b/lib/asan/lit_tests/use-after-free.cc
@@ -32,7 +32,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: {{ #1 0x.* in _?wrap_free}}
// CHECK-Darwin: {{ #2 0x.* in _?main .*use-after-free.cc:21}}
// CHECK: {{previously allocated by thread T0 here:}}