• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-objdump -r %p/TestObjectFiles/trivial-object-test.coff-i386 \
2RUN:              | FileCheck %s -check-prefix COFF-i386
3RUN: llvm-objdump -r %p/TestObjectFiles/trivial-object-test.coff-x86-64 \
4RUN:              | FileCheck %s -check-prefix COFF-x86-64
5RUN: llvm-objdump -r %p/TestObjectFiles/trivial-object-test.elf-i386 \
6RUN:              | FileCheck %s -check-prefix ELF-i386
7RUN: llvm-objdump -r %p/TestObjectFiles/trivial-object-test.elf-x86-64 \
8RUN:              | FileCheck %s -check-prefix ELF-x86-64
9
10COFF-i386: .text
11COFF-i386: IMAGE_REL_I386_DIR32 L_.str
12COFF-i386: IMAGE_REL_I386_REL32 _puts
13COFF-i386: IMAGE_REL_I386_REL32 _SomeOtherFunction
14
15COFF-x86-64: .text
16COFF-x86-64: IMAGE_REL_AMD64_REL32 L.str
17COFF-x86-64: IMAGE_REL_AMD64_REL32 puts
18COFF-x86-64: IMAGE_REL_AMD64_REL32 SomeOtherFunction
19
20ELF-i386: .text
21ELF-i386: R_386_32
22ELF-i386: R_386_PC32
23ELF-i386: R_386_PC32
24
25ELF-x86-64: .text
26ELF-x86-64: R_X86_64_32S .rodata.str1.1
27ELF-x86-64: R_X86_64_PC32 puts
28ELF-x86-64: R_X86_64_PC32 SomeOtherFunction
29