[compiler-rt] r297728 - Some ASan bots (AArch64 at least) use SEGV for a unit test error instead of SIGBUS
Filipe Cabecinhas via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 03:26:37 PDT 2017
Author: filcab
Date: Tue Mar 14 05:26:37 2017
New Revision: 297728
URL: http://llvm.org/viewvc/llvm-project?rev=297728&view=rev
Log:
Some ASan bots (AArch64 at least) use SEGV for a unit test error instead of SIGBUS
Modified:
compiler-rt/trunk/lib/asan/tests/asan_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=297728&r1=297727&r2=297728&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Tue Mar 14 05:26:37 2017
@@ -945,7 +945,7 @@ TEST(AddressSanitizer, ShadowGapTest) {
char *addr = (char*)0x0000100000080000;
# endif
#endif
- EXPECT_DEATH(*addr = 1, "AddressSanitizer: BUS on unknown");
+ EXPECT_DEATH(*addr = 1, "AddressSanitizer: (SEGV|BUS) on unknown");
}
#endif // ASAN_NEEDS_SEGV
More information about the llvm-commits
mailing list