forked from OSchip/llvm-project
Fix another bot broken by r335644
The android sanitizer bot can't resolve the function name in the DSO and it's not relevant to the test. llvm-svn: 335693
This commit is contained in:
parent
839cbc855e
commit
5417225745
|
@ -27,7 +27,7 @@ int main(int argc, char *argv[]) {
|
|||
void *handle = dlopen(argv[1], RTLD_NOW);
|
||||
|
||||
// CHECK: runtime error: control flow integrity check for type 'void *()' failed during indirect function call
|
||||
// CHECK: dso_symbol defined here
|
||||
// CHECK: {{.*}} defined here
|
||||
// CHECK: check failed in {{.*}}_exe_suffix, destination function located in {{.*}}_dso_suffix
|
||||
void* (*fp)(void) =
|
||||
reinterpret_cast<void*(*)(void)>(dlsym(handle, "dso_symbol"));
|
||||
|
|
Loading…
Reference in New Issue