Skip to content

Commit d6f7720

Browse files
committed
fixup! fixup! [GlobalISel] Always direct-call IFuncs and Aliases (#74902)
Apparently some BOLT bots build with a pre-installed system clang, and others use the just-built one. These two clangs now behave slightly differently when it comes to ifunc codegen after #74902 Change the test to accept both patterns.
1 parent 8c262ed commit d6f7720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/AArch64/ifunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
// NON_DYN_CHECK-NOT: DYNAMIC
4747

48-
// CHECK: b{{l?}} "{{resolver_foo|ifoo}}{{.*}}@PLT"
48+
// CHECK: {{(bl? "(resolver_foo|ifoo).*@PLT"|adr x[0-9]+, ifoo)}}
4949

5050
// REL_CHECK: R_AARCH64_IRELATIVE [[#%x,REL_SYMB_ADDR:]]
5151
// REL_CHECK: [[#REL_SYMB_ADDR]] {{.*}} FUNC {{.*}} resolver_foo

0 commit comments

Comments
 (0)