2011-10-31 23:56:52 +00:00
|
|
|
RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-i386 \
|
2011-10-08 00:18:30 +00:00
|
|
|
RUN: | FileCheck %s -check-prefix COFF-i386
|
2011-10-31 23:56:52 +00:00
|
|
|
RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-x86-64 \
|
2011-10-08 00:18:30 +00:00
|
|
|
RUN: | FileCheck %s -check-prefix COFF-x86-64
|
2011-10-31 23:56:52 +00:00
|
|
|
RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-i386 \
|
2011-10-08 00:18:30 +00:00
|
|
|
RUN: | FileCheck %s -check-prefix ELF-i386
|
2011-10-31 23:56:52 +00:00
|
|
|
RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-x86-64 \
|
2011-10-08 00:18:30 +00:00
|
|
|
RUN: | FileCheck %s -check-prefix ELF-x86-64
|
2012-06-23 14:46:18 +00:00
|
|
|
RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-hexagon \
|
|
|
|
RUN: | FileCheck %s -check-prefix ELF-hexagon
|
2011-10-08 00:18:30 +00:00
|
|
|
|
2011-10-13 22:30:10 +00:00
|
|
|
COFF-i386: .text
|
2011-10-08 00:18:30 +00:00
|
|
|
COFF-i386: IMAGE_REL_I386_DIR32 L_.str
|
|
|
|
COFF-i386: IMAGE_REL_I386_REL32 _puts
|
|
|
|
COFF-i386: IMAGE_REL_I386_REL32 _SomeOtherFunction
|
|
|
|
|
2011-10-13 22:30:10 +00:00
|
|
|
COFF-x86-64: .text
|
2011-10-08 00:18:30 +00:00
|
|
|
COFF-x86-64: IMAGE_REL_AMD64_REL32 L.str
|
|
|
|
COFF-x86-64: IMAGE_REL_AMD64_REL32 puts
|
|
|
|
COFF-x86-64: IMAGE_REL_AMD64_REL32 SomeOtherFunction
|
|
|
|
|
2011-10-13 22:30:10 +00:00
|
|
|
ELF-i386: .text
|
2011-10-08 00:18:30 +00:00
|
|
|
ELF-i386: R_386_32
|
|
|
|
ELF-i386: R_386_PC32
|
|
|
|
ELF-i386: R_386_PC32
|
|
|
|
|
2011-10-13 22:30:10 +00:00
|
|
|
ELF-x86-64: .text
|
2011-10-08 00:18:30 +00:00
|
|
|
ELF-x86-64: R_X86_64_32S .rodata.str1.1
|
|
|
|
ELF-x86-64: R_X86_64_PC32 puts
|
|
|
|
ELF-x86-64: R_X86_64_PC32 SomeOtherFunction
|
2012-06-23 14:46:18 +00:00
|
|
|
|
|
|
|
ELF-hexagon: .text
|
|
|
|
ELF-hexagon: R_HEX_GOTREL_HI16 .main
|
|
|
|
ELF-hexagon: R_HEX_GOTREL_LO16 .main
|
|
|
|
ELF-hexagon: R_HEX_HI16 puts
|
|
|
|
ELF-hexagon: R_HEX_LO16 puts
|
|
|
|
ELF-hexagon: R_HEX_B15_PCREL testf
|
|
|
|
ELF-hexagon: R_HEX_B22_PCREL puts
|