diff options
Diffstat (limited to 'test/tools/llvm-objdump/X86/macho-relocations.test')
-rw-r--r-- | test/tools/llvm-objdump/X86/macho-relocations.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/X86/macho-relocations.test b/test/tools/llvm-objdump/X86/macho-relocations.test new file mode 100644 index 0000000..536aec8 --- /dev/null +++ b/test/tools/llvm-objdump/X86/macho-relocations.test @@ -0,0 +1,7 @@ +RUN: llvm-objdump -macho -r %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s + +CHECK: RELOCATION RECORDS FOR [__text]: +CHECK: 0000000000000027 X86_64_RELOC_BRANCH _printf +CHECK: 000000000000000b X86_64_RELOC_SIGNED L_.str +CHECK: RELOCATION RECORDS FOR [__compact_unwind]: +CHECK: 0000000000000000 X86_64_RELOC_UNSIGNED __text |