Fix the dump_registers.cc ASan testcase on iOS to allow both SIGSEGV and SIGBUS.

llvm-svn: 301458
This commit is contained in:
Kuba Mracek 2017-04-26 20:27:06 +00:00
parent a0547c3d9f
commit b74b99d189
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ int main() {
assert(0 && "Your computer is weird."); assert(0 && "Your computer is weird.");
char c = *ptr; // BOOM char c = *ptr; // BOOM
// CHECK: ERROR: AddressSanitizer: SEGV // CHECK: ERROR: AddressSanitizer: {{SEGV|BUS}}
// CHECK: Register values: // CHECK: Register values:
// CHECK: {{0x55555555|0x6666666666666666}} // CHECK: {{0x55555555|0x6666666666666666}}
fprintf(stderr, "World\n"); fprintf(stderr, "World\n");