Fix the dump_registers.cc ASan testcase on iOS to allow both SIGSEGV and SIGBUS.
authorKuba Mracek <mracek@apple.com>
Wed, 26 Apr 2017 20:27:06 +0000 (20:27 +0000)
committerKuba Mracek <mracek@apple.com>
Wed, 26 Apr 2017 20:27:06 +0000 (20:27 +0000)
llvm-svn: 301458

compiler-rt/test/asan/TestCases/Darwin/dump_registers.cc

index 884ad2e..42db446 100644 (file)
@@ -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");