Home | History | Annotate | Download | only in Object
      1 RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-i386 \
      2 RUN:              | FileCheck %s -check-prefix COFF-i386
      3 RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-x86-64 \
      4 RUN:              | FileCheck %s -check-prefix COFF-x86-64
      5 RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-i386 \
      6 RUN:              | FileCheck %s -check-prefix ELF-i386
      7 RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-x86-64 \
      8 RUN:              | FileCheck %s -check-prefix ELF-x86-64
      9 RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-hexagon \
     10 RUN:              | FileCheck %s -check-prefix ELF-hexagon
     11 RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-mips64el \
     12 RUN:              | FileCheck %s -check-prefix ELF-MIPS64EL
     13 
     14 RUN: llvm-objdump -r %p/Inputs/relocations.elf-x86-64 \
     15 RUN:              | FileCheck %s -check-prefix ELF-complex-x86-64
     16 
     17 COFF-i386: .text
     18 COFF-i386: IMAGE_REL_I386_DIR32 L_.str
     19 COFF-i386: IMAGE_REL_I386_REL32 _puts
     20 COFF-i386: IMAGE_REL_I386_REL32 _SomeOtherFunction
     21 
     22 COFF-x86-64: .text
     23 COFF-x86-64: IMAGE_REL_AMD64_REL32 L.str
     24 COFF-x86-64: IMAGE_REL_AMD64_REL32 puts
     25 COFF-x86-64: IMAGE_REL_AMD64_REL32 SomeOtherFunction
     26 
     27 ELF-i386: .text
     28 ELF-i386: R_386_32
     29 ELF-i386: R_386_PC32
     30 ELF-i386: R_386_PC32
     31 
     32 ELF-x86-64: .text
     33 ELF-x86-64: R_X86_64_32S .rodata.str1.1
     34 ELF-x86-64: R_X86_64_PC32 puts
     35 ELF-x86-64: R_X86_64_PC32 SomeOtherFunction
     36 
     37 ELF-hexagon: .text
     38 ELF-hexagon: R_HEX_GOTREL_HI16 .main
     39 ELF-hexagon: R_HEX_GOTREL_LO16 .main
     40 ELF-hexagon: R_HEX_HI16 puts
     41 ELF-hexagon: R_HEX_LO16 puts
     42 ELF-hexagon: R_HEX_B15_PCREL testf
     43 ELF-hexagon: R_HEX_B22_PCREL puts
     44 
     45 // Note: this file was produced with gas to make sure we don't end up in a
     46 // situation where LLVM produces and accepts a broken file.
     47 ELF-MIPS64EL: .data
     48 ELF-MIPS64EL: R_MIPS_64
     49 
     50 ELF-complex-x86-64: .text
     51 ELF-complex-x86-64-NEXT: R_X86_64_8 .data-4
     52 ELF-complex-x86-64-NEXT: R_X86_64_16 .data-4
     53 ELF-complex-x86-64-NEXT: R_X86_64_32 .data-4
     54 ELF-complex-x86-64-NEXT: R_X86_64_32S .data-4
     55 ELF-complex-x86-64-NEXT: R_X86_64_64 .data-4
     56 ELF-complex-x86-64-NEXT: R_X86_64_PC32 .data-4-P
     57 ELF-complex-x86-64-NEXT: R_X86_64_32 .data+0
     58 ELF-complex-x86-64-NEXT: R_X86_64_32 .data+4
     59