diff options
Diffstat (limited to 'bolt/test/AArch64/skip-got-rel.test')
-rw-r--r-- | bolt/test/AArch64/skip-got-rel.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bolt/test/AArch64/skip-got-rel.test b/bolt/test/AArch64/skip-got-rel.test new file mode 100644 index 000000000000..4acf397d7bf4 --- /dev/null +++ b/bolt/test/AArch64/skip-got-rel.test @@ -0,0 +1,8 @@ +// This test checks that the binary with relaxed ADRP+LDR instructions is +// processed normally with BOLT and the ADR instruction address is recognized +// normally. + +RUN: yaml2obj %p/Inputs/skip-got-rel.yaml &> %t.exe +RUN: llvm-bolt %t.exe -o /dev/null -print-cfg -print-only=_start | FileCheck %s + +CHECK: adr x0, foo2 |