Skip to content

Commit

Permalink
fixup! fixup! [GlobalISel] Always direct-call IFuncs and Aliases (#74…
Browse files Browse the repository at this point in the history
…902)

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 llvm/llvm-project#74902

Change the test to accept both patterns.
  • Loading branch information
jroelofs committed Dec 15, 2023
1 parent 8c262ed commit d6f7720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/test/AArch64/ifunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

// NON_DYN_CHECK-NOT: DYNAMIC

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

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

0 comments on commit d6f7720

Please sign in to comment.