diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2017-04-20 21:58:18 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2017-04-20 21:58:18 +0000 |
| commit | 70197c55b0f1daac88a5061f06a474f24041074f (patch) | |
| tree | 874cd535bfd4827431057351024517c56d4760b8 | |
| parent | 100b7f6eae1cd65c4ec2271fecb50c64e27e5d51 (diff) | |
| download | bcm5719-llvm-70197c55b0f1daac88a5061f06a474f24041074f.tar.gz bcm5719-llvm-70197c55b0f1daac88a5061f06a474f24041074f.zip | |
[asan] Match BUS and SIGV to fix test on Darwin
llvm-svn: 300906
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Posix/strchr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Posix/strchr.c b/compiler-rt/test/asan/TestCases/Posix/strchr.c index df854d79ec8..76d96da47c0 100644 --- a/compiler-rt/test/asan/TestCases/Posix/strchr.c +++ b/compiler-rt/test/asan/TestCases/Posix/strchr.c @@ -27,7 +27,7 @@ int main(int argc, char **argv) { if (mprotect(p + 1, 1, PROT_NONE)) return 1; char *r = strchr(s, 'x'); - // CHECK: AddressSanitizer: SEGV on unknown address + // CHECK: AddressSanitizer: {{SEGV|BUS}} on unknown address // CHECK: The signal is caused by a READ memory access // CHECK: strchr.c:[[@LINE-3]] assert(r == p); |

