Skip to content

Commit 3017adb

Browse files
committed
fixup! [GlobalISel] Always direct-call IFuncs and Aliases (#74902)
The codegen change broke one of the BOLT tests.
1 parent 0b7dda3 commit 3017adb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

bolt/test/AArch64/ifunc.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// RUN: -o %t.O0.exe -Wl,-q
77
// RUN: llvm-bolt %t.O0.exe -o %t.O0.bolt.exe \
88
// RUN: --print-disasm --print-only=_start | \
9-
// RUN: FileCheck --check-prefix=O0_CHECK %s
9+
// RUN: FileCheck --check-prefix=CHECK %s
1010
// RUN: llvm-readelf -aW %t.O0.bolt.exe | \
1111
// RUN: FileCheck --check-prefix=REL_CHECK %s
1212

@@ -18,7 +18,7 @@
1818
// RUN: FileCheck --check-prefix=NON_DYN_CHECK %s
1919
// RUN: llvm-bolt %t.O3_nopie.exe -o %t.O3_nopie.bolt.exe \
2020
// RUN: --print-disasm --print-only=_start | \
21-
// RUN: FileCheck --check-prefix=O3_CHECK %s
21+
// RUN: FileCheck --check-prefix=CHECK %s
2222
// RUN: llvm-readelf -aW %t.O3_nopie.bolt.exe | \
2323
// RUN: FileCheck --check-prefix=REL_CHECK %s
2424

@@ -29,7 +29,7 @@
2929
// RUN: -o %t.O3_pie.exe -Wl,-q
3030
// RUN: llvm-bolt %t.O3_pie.exe -o %t.O3_pie.bolt.exe \
3131
// RUN: --print-disasm --print-only=_start | \
32-
// RUN: FileCheck --check-prefix=O3_CHECK %s
32+
// RUN: FileCheck --check-prefix=CHECK %s
3333
// RUN: llvm-readelf -aW %t.O3_pie.bolt.exe | \
3434
// RUN: FileCheck --check-prefix=REL_CHECK %s
3535

@@ -39,14 +39,13 @@
3939
// RUN: -T %p/Inputs/iplt.ld -o %t.iplt_O3_pie.exe -Wl,-q
4040
// RUN: llvm-bolt %t.iplt_O3_pie.exe -o %t.iplt_O3_pie.bolt.exe \
4141
// RUN: --print-disasm --print-only=_start | \
42-
// RUN: FileCheck --check-prefix=O3_CHECK %s
42+
// RUN: FileCheck --check-prefix=CHECK %s
4343
// RUN: llvm-readelf -aW %t.iplt_O3_pie.bolt.exe | \
4444
// RUN: FileCheck --check-prefix=REL_CHECK %s
4545

4646
// NON_DYN_CHECK-NOT: DYNAMIC
4747

48-
// O0_CHECK: adr x{{[0-9]+}}, ifoo
49-
// O3_CHECK: b "{{resolver_foo|ifoo}}{{.*}}@PLT"
48+
// CHECK: b{{l?}} "{{resolver_foo|ifoo}}{{.*}}@PLT"
5049

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

0 commit comments

Comments
 (0)