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