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

llvm-svn: 300935
This commit is contained in:
Vitaly Buka 2017-04-21 00:48:43 +00:00
parent df8f1c0fc7
commit e03dc7d754
1 changed files with 1 additions and 1 deletions

View File

@ -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);