forked from OSchip/llvm-project
Fix the dump_registers.cc ASan testcase on iOS to allow both SIGSEGV and SIGBUS.
llvm-svn: 301458
This commit is contained in:
parent
a0547c3d9f
commit
b74b99d189
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue