[compiler-rt] r312872 - [asan] Fix tests broken by r312858
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 9 13:07:45 PDT 2017
Author: vitalybuka
Date: Sat Sep 9 13:07:45 2017
New Revision: 312872
URL: http://llvm.org/viewvc/llvm-project?rev=312872&view=rev
Log:
[asan] Fix tests broken by r312858
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc
compiler-rt/trunk/test/asan/TestCases/global-address.cpp
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc?rev=312872&r1=312871&r2=312872&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc Sat Sep 9 13:07:45 2017
@@ -98,10 +98,10 @@ int main(int argc, char *argv[]) {
}
// CHECK-NOT: TestSig
-// CHECK: ASAN:DEADLYSIGNAL
+// CHECK: AddressSanitizer:DEADLYSIGNAL
-// CHECK-HANDLER-NOT: ASAN:DEADLYSIGNAL
+// CHECK-HANDLER-NOT: AddressSanitizer:DEADLYSIGNAL
// CHECK-HANDLER: TestSigHandler
-// CHECK-ACTION-NOT: ASAN:DEADLYSIGNAL
+// CHECK-ACTION-NOT: AddressSanitizer:DEADLYSIGNAL
// CHECK-ACTION: TestSigAction
Modified: compiler-rt/trunk/test/asan/TestCases/global-address.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/global-address.cpp?rev=312872&r1=312871&r2=312872&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/global-address.cpp (original)
+++ compiler-rt/trunk/test/asan/TestCases/global-address.cpp Sat Sep 9 13:07:45 2017
@@ -5,8 +5,8 @@
int g_i = 42;
int main() {
// CHECK: AddressSanitizer: attempting to call __sanitizer_get_allocated_size() for pointer which is not owned
- // CHECK-NOT: ASAN:DEADLYSIGNAL
+ // CHECK-NOT: AddressSanitizer:DEADLYSIGNAL
// CHECK: SUMMARY: AddressSanitizer: bad-__sanitizer_get_allocated_size
- // CHECK-NOT: ASAN:DEADLYSIGNAL
+ // CHECK-NOT: AddressSanitizer:DEADLYSIGNAL
return (int)__sanitizer_get_allocated_size(&g_i);
}
More information about the llvm-commits
mailing list