From: Vitaly Buka Date: Fri, 21 Apr 2017 00:48:43 +0000 (+0000) Subject: [asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access" X-Git-Tag: llvmorg-5.0.0-rc1~7088 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e03dc7d7546f8e42fa1dd9688f7003905e5ff2ad;p=platform%2Fupstream%2Fllvm.git [asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access" llvm-svn: 300935 --- diff --git a/compiler-rt/test/asan/TestCases/Posix/strchr.c b/compiler-rt/test/asan/TestCases/Posix/strchr.c index 76d96da..a986cb1 100644 --- a/compiler-rt/test/asan/TestCases/Posix/strchr.c +++ b/compiler-rt/test/asan/TestCases/Posix/strchr.c @@ -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);