[compiler-rt] r313342 - [sanitizer] Simplify checks in allow_user_segv.cc

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 21:48:02 PDT 2017


Author: vitalybuka
Date: Thu Sep 14 21:48:02 2017
New Revision: 313342

URL: http://llvm.org/viewvc/llvm-project?rev=313342&view=rev
Log:
[sanitizer] Simplify checks in allow_user_segv.cc

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc?rev=313342&r1=313341&r2=313342&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc Thu Sep 14 21:48:02 2017
@@ -77,17 +77,17 @@ int main() {
   return DoSEGV();
 }
 
-// CHECK0-NOT: AddressSanitizer:DEADLYSIGNAL
-// CHECK0-NOT: AddressSanitizer: SEGV on unknown address
+// CHECK0-NOT: Sanitizer:DEADLYSIGNAL
+// CHECK0-NOT: Sanitizer: SEGV on unknown address
 // CHECK0: User sigaction installed
 // CHECK0-NEXT: User sigaction called
 
 // CHECK1: User sigaction installed
 // CHECK1-NEXT: User sigaction called
-// CHECK1-NEXT: AddressSanitizer:DEADLYSIGNAL
-// CHECK1: AddressSanitizer: SEGV on unknown address
+// CHECK1-NEXT: Sanitizer:DEADLYSIGNAL
+// CHECK1: Sanitizer: SEGV on unknown address
 
 // CHECK2-NOT: User sigaction called
 // CHECK2: User sigaction installed
-// CHECK2-NEXT: AddressSanitizer:DEADLYSIGNAL
-// CHECK2: AddressSanitizer: SEGV on unknown address
+// CHECK2-NEXT: Sanitizer:DEADLYSIGNAL
+// CHECK2: Sanitizer: SEGV on unknown address




More information about the llvm-commits mailing list