summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-04-26 20:27:06 +0000
committerKuba Mracek <mracek@apple.com>2017-04-26 20:27:06 +0000
commitfcedc089e038b20c8dcfcc6cfd527094ee04ddf5 (patch)
treee5618cb7ced78077513cf9b2f22476c906c8af17
parent1282f851dfdd700076d50da8e65023c82489a9c0 (diff)
Fix the dump_registers.cc ASan testcase on iOS to allow both SIGSEGV and SIGBUS.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301458 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/TestCases/Darwin/dump_registers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/Darwin/dump_registers.cc b/test/asan/TestCases/Darwin/dump_registers.cc
index 884ad2ed4..42db446ff 100644
--- a/test/asan/TestCases/Darwin/dump_registers.cc
+++ b/test/asan/TestCases/Darwin/dump_registers.cc
@@ -18,7 +18,7 @@ int main() {
assert(0 && "Your computer is weird.");
char c = *ptr; // BOOM
- // CHECK: ERROR: AddressSanitizer: SEGV
+ // CHECK: ERROR: AddressSanitizer: {{SEGV|BUS}}
// CHECK: Register values:
// CHECK: {{0x55555555|0x6666666666666666}}
fprintf(stderr, "World\n");