[compiler-rt] r301458 - Fix the dump_registers.cc ASan testcase on iOS to allow both SIGSEGV and SIGBUS.
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 13:27:06 PDT 2017
Author: kuba.brecka
Date: Wed Apr 26 15:27:06 2017
New Revision: 301458
URL: http://llvm.org/viewvc/llvm-project?rev=301458&view=rev
Log:
Fix the dump_registers.cc ASan testcase on iOS to allow both SIGSEGV and SIGBUS.
Modified:
compiler-rt/trunk/test/asan/TestCases/Darwin/dump_registers.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/dump_registers.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/dump_registers.cc?rev=301458&r1=301457&r2=301458&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/dump_registers.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/dump_registers.cc Wed Apr 26 15:27:06 2017
@@ -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");
More information about the llvm-commits
mailing list