forked from OSchip/llvm-project
[asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access"
llvm-svn: 300935
This commit is contained in:
parent
df8f1c0fc7
commit
e03dc7d754
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue