diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/llvm-objdump/AArch64/Inputs/reloc-addend.obj.macho-aarch64 | bin | 0 -> 424 bytes | |||
| -rw-r--r-- | llvm/test/tools/llvm-objdump/AArch64/macho-reloc-addend.test | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/AArch64/Inputs/reloc-addend.obj.macho-aarch64 b/llvm/test/tools/llvm-objdump/AArch64/Inputs/reloc-addend.obj.macho-aarch64 Binary files differnew file mode 100644 index 00000000000..58ed3c7a48f --- /dev/null +++ b/llvm/test/tools/llvm-objdump/AArch64/Inputs/reloc-addend.obj.macho-aarch64 diff --git a/llvm/test/tools/llvm-objdump/AArch64/macho-reloc-addend.test b/llvm/test/tools/llvm-objdump/AArch64/macho-reloc-addend.test new file mode 100644 index 00000000000..4cc4a6eca2a --- /dev/null +++ b/llvm/test/tools/llvm-objdump/AArch64/macho-reloc-addend.test @@ -0,0 +1,6 @@ +RUN: llvm-objdump -r %p/Inputs/reloc-addend.obj.macho-aarch64 | FileCheck %s + +CHECK-DAG: 0000000000000004 ARM64_RELOC_ADDEND 0x999 +CHECK-DAG: 0000000000000004 ARM64_RELOC_PAGEOFF12 _stringbuf +CHECK-DAG: 0000000000000000 ARM64_RELOC_ADDEND 0x999 +CHECK-DAG: 0000000000000000 ARM64_RELOC_PAGE21 _stringbuf |

