[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:
Marco Elver 2020-06-06 11:18:46 +02:00
parent 4261b026ad
commit 97a670958c
1 changed files with 2 additions and 2 deletions

View File

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