forked from OSchip/llvm-project
[test][msan] Fix more tests for D134669
This commit is contained in:
parent
15805c030f
commit
aba150ca23
|
@ -21,7 +21,7 @@ int foo() { return 1; }
|
|||
|
||||
void Test(void *pc, const char *name) {
|
||||
char module_name[1024];
|
||||
void *offset;
|
||||
void *offset = 0;
|
||||
int ok = __sanitizer_get_module_and_offset_for_pc(
|
||||
pc, module_name, sizeof(module_name), &offset);
|
||||
if (!ok) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx -w -fsanitize=bool %s -o %t
|
||||
// RUN: %clangxx -w -fsanitize=bool -fno-sanitize-memory-param-retval %s -o %t
|
||||
// RUN: %run %t 2>&1 | FileCheck %s
|
||||
|
||||
// __ubsan_on_report is not defined as weak. Redefining it here isn't supported
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx -frtti -fsanitize=null,vptr -g %s -O3 -o %t -mllvm -enable-tail-merge=false
|
||||
// RUN: %clangxx -frtti -fsanitize=null,vptr -fno-sanitize-memory-param-retval -g %s -O3 -o %t -mllvm -enable-tail-merge=false
|
||||
// RUN: %env_ubsan_opts=halt_on_error=1 %run %t rT
|
||||
// RUN: %env_ubsan_opts=halt_on_error=1 %run %t mT
|
||||
// RUN: %env_ubsan_opts=halt_on_error=1 %run %t fT
|
||||
|
|
Loading…
Reference in New Issue