diff options
-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); |