[compiler-rt] r300935 - [asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access"

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 17:48:44 PDT 2017


Author: vitalybuka
Date: Thu Apr 20 19:48:43 2017
New Revision: 300935

URL: http://llvm.org/viewvc/llvm-project?rev=300935&view=rev
Log:
[asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access"

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/strchr.c

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/strchr.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/strchr.c?rev=300935&r1=300934&r2=300935&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/strchr.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/strchr.c Thu Apr 20 19:48:43 2017
@@ -28,7 +28,7 @@ int main(int argc, char **argv) {
     return 1;
   char *r = strchr(s, 'x');
   // CHECK: AddressSanitizer: {{SEGV|BUS}} on unknown address
-  // CHECK: The signal is caused by a READ memory access
+  // CHECK: The signal is caused by a {{READ|UNKNOWN}} memory access
   // CHECK: strchr.c:[[@LINE-3]]
   assert(r == p);
 




More information about the llvm-commits mailing list