forked from OSchip/llvm-project
[ASan][Test] Fix globals test on 32-bit architectures
Buildbot reports failures on e.g. armv7 and thumbv7. Fix the test by expecting either i32 or i64 for the size-argument.
This commit is contained in:
parent
4261b026ad
commit
97a670958c
|
@ -23,8 +23,8 @@ void func() {
|
|||
// ASAN-NEXT: call void @__asan_version_mismatch_check
|
||||
// KASAN-NOT: call void @__asan_init
|
||||
// KASAN-NOT: call void @__asan_version_mismatch_check
|
||||
// ASAN-NEXT: call void @__asan_register_globals(i64 ptrtoint ({{.*}}, i64 6)
|
||||
// KASAN-NEXT: call void @__asan_register_globals(i64 ptrtoint ({{.*}}, i64 5)
|
||||
// ASAN-NEXT: call void @__asan_register_globals({{.*}}, i{{32|64}} 6)
|
||||
// KASAN-NEXT: call void @__asan_register_globals({{.*}}, i{{32|64}} 5)
|
||||
// CHECK-NEXT: ret void
|
||||
|
||||
// CHECK-LABEL: define internal void @asan.module_dtor
|
||||
|
|
Loading…
Reference in New Issue