summaryrefslogtreecommitdiff
path: root/lib/asan/lit_tests/strncpy-overflow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asan/lit_tests/strncpy-overflow.cc')
-rw-r--r--lib/asan/lit_tests/strncpy-overflow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/lit_tests/strncpy-overflow.cc b/lib/asan/lit_tests/strncpy-overflow.cc
index d3c66daa7..9381f1378 100644
--- a/lib/asan/lit_tests/strncpy-overflow.cc
+++ b/lib/asan/lit_tests/strncpy-overflow.cc
@@ -24,7 +24,7 @@ int main(int argc, char **argv) {
strncpy(short_buffer, hello, 10); // BOOM
// CHECK: {{WRITE of size 1 at 0x.* thread T0}}
// CHECK-Linux: {{ #0 0x.* in .*strncpy}}
- // CHECK-Darwin: {{ #0 0x.* in wrap_strncpy}}
+ // CHECK-Darwin: {{ #0 0x.* in _?wrap_strncpy}}
// CHECK: {{ #1 0x.* in _?main .*strncpy-overflow.cc:24}}
// CHECK: {{0x.* is located 0 bytes to the right of 9-byte region}}
// CHECK: {{allocated by thread T0 here:}}