/external/llvm/test/tools/llvm-readobj/ |
D | mips-got.test | 2 RUN: FileCheck %s -check-prefix GOT-OBJ 4 RUN: FileCheck %s -check-prefix GOT-EXE 6 RUN: FileCheck %s -check-prefix GOT-SO 8 RUN: FileCheck %s -check-prefix GOT-TLS 10 RUN: FileCheck %s -check-prefix GOT-EMPTY 12 GOT-OBJ: Cannot find PLTGOT dynamic table tag. 14 GOT-EXE: Primary GOT { 15 GOT-EXE-NEXT: Canonical gp value: 0x418880 16 GOT-EXE-NEXT: Reserved entries [ 17 GOT-EXE-NEXT: Entry { [all …]
|
/external/llvm-project/lld/test/ELF/ |
D | mips-mgot.s | 2 # Check MIPS multi-GOT layout. 15 # RUN: llvm-readobj -r --dyn-syms -A %t.so | FileCheck -check-prefix=GOT %s 31 # GOT: Relocations [ 32 # GOT-NEXT: Section (7) .rel.dyn { 33 # GOT-NEXT: 0x70018 R_MIPS_REL32 - 0x0 34 # GOT-NEXT: 0x7001C R_MIPS_REL32 - 0x0 35 # GOT-NEXT: 0x70020 R_MIPS_REL32 - 0x0 36 # GOT-NEXT: 0x70024 R_MIPS_REL32 - 0x0 37 # GOT-NEXT: 0x70028 R_MIPS_REL32 - 0x0 38 # GOT-NEXT: 0x7002C R_MIPS_REL32 - 0x0 [all …]
|
D | mips-64-got.s | 2 # Check MIPS N64 ABI GOT relocations 11 # RUN: llvm-readelf -r -s -A %t.exe | FileCheck -check-prefix=GOT %s 22 # GOT: There are no relocations in this file. 24 # GOT: Symbol table '.symtab' 25 # GOT: {{.*}}: [[FOO:[0-9a-f]+]] {{.*}} foo 26 # GOT: {{.*}}: [[GP:[0-9a-f]+]] {{.*}} _gp 27 # GOT: {{.*}}: [[BAR:[0-9a-f]+]] {{.*}} bar 29 # GOT: Primary GOT: 30 # GOT-NEXT: Canonical gp value: [[GP]] 31 # GOT-EMPTY: [all …]
|
D | mips-call-hilo.s | 7 # RUN: llvm-readelf -r -s -A %t.so | FileCheck -check-prefix=GOT %s 19 # GOT: There are no relocations in this file. 21 # GOT: Symbol table '.symtab' 22 # GOT: {{.*}}: [[LOC1:[0-9a-f]+]] {{.*}} loc1 23 # GOT: {{.*}}: [[LOC2:[0-9a-f]+]] {{.*}} loc2 25 # GOT: Primary GOT: 26 # GOT-NEXT: Canonical gp value: 27 # GOT-EMPTY: 28 # GOT-NEXT: Reserved entries: 29 # GOT-NEXT: Address Access Initial Purpose [all …]
|
D | mips-64-disp.s | 10 # RUN: llvm-readelf -r -s -A %t.exe | FileCheck -check-prefix=GOT %s 25 # GOT: Symbol table '.symtab' 26 # GOT: {{.*}} [[B12:[0-9a-f]+]] {{.*}} b12 27 # GOT: {{.*}} [[B04:[0-9a-f]+]] {{.*}} b4 28 # GOT: {{.*}} [[B08:[0-9a-f]+]] {{.*}} b8 29 # GOT: {{.*}} [[FOO:[0-9a-f]+]] {{.*}} foo 31 # GOT: Primary GOT: 32 # GOT-NEXT: Canonical gp value: 33 # GOT-EMPTY: 34 # GOT-NEXT: Reserved entries: [all …]
|
D | mips-xgot-order.s | 2 # Check that GOT entries accessed via 16-bit indexing are allocated 3 # in the beginning of the GOT. 8 # RUN: llvm-readelf -s -A %t.exe | FileCheck -check-prefix=GOT %s 23 # GOT: Symbol table '.symtab' 24 # GOT: Num: Value Size Type Bind Vis Ndx Name 25 # GOT: [[LOC:[0-9a-f]+]] 0 NOTYPE LOCAL DEFAULT 4 loc 26 # GOT: [[START:[0-9a-f]+]] 0 NOTYPE GLOBAL DEFAULT 3 __start 27 # GOT: [[BAR:[0-9a-f]+]] 0 NOTYPE GLOBAL DEFAULT 3 bar 29 # GOT: Static GOT: 30 # GOT: Local entries: [all …]
|
D | mips-got-hilo.s | 7 # RUN: llvm-readelf -r -s -A %t.so | FileCheck -check-prefix=GOT %s 19 # GOT: There are no relocations in this file 21 # GOT: Symbol table '.symtab' 22 # GOT: {{.*}}: [[LOC1:[0-9a-f]+]] {{.*}} loc1 23 # GOT: {{.*}}: [[LOC2:[0-9a-f]+]] {{.*}} loc2 25 # GOT: Primary GOT: 26 # GOT: Local entries: 27 # GOT-NEXT: Address Access Initial 28 # GOT-NEXT: {{.*}} -32744(gp) [[LOC1]] 29 # GOT-NEXT: {{.*}} -32740(gp) [[LOC2]] [all …]
|
D | mips-got16.s | 11 # RUN: llvm-readelf -r -A %t.so | FileCheck -check-prefix=GOT %s 30 # GOT: There are no relocations in this file. 32 # GOT: Local entries: 33 # GOT-NEXT: Access Initial 34 # GOT-NEXT: -32744(gp) 00000000 36 # GOT-NEXT: -32740(gp) 00010000 38 # GOT-NEXT: -32736(gp) 00000000 40 # GOT-NEXT: -32732(gp) 00010000 42 # GOT-NEXT: -32728(gp) 00020000 45 # GOT-NEXT: -32724(gp) 00030000 [all …]
|
D | mips-call16.s | 7 # RUN: llvm-readelf -A --symbols %t.so | FileCheck -check-prefix=GOT %s 24 # GOT: Symbol table '.symtab' 25 # GOT: {{.*}}: [[G1:[0-9a-f]+]] {{.*}} g1 27 # GOT: Primary GOT: 28 # GOT: Global entries: 29 # GOT: {{.*}} -32744(gp) [[G1]] [[G1]] FUNC 7 g1
|
D | relocation-i686.s | 42 movl bar@GOT, %eax 85 movl bar@GOT, %eax 86 movl zed@GOT, %eax 87 movl bar+8@GOT, %eax 88 movl zed+4@GOT, %eax
|
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | mips-got.test | 1 ## Check that we are able to dump MIPS GOT entries using -A properly. 51 # BASIC-LLVM: Primary GOT { 99 # BASIC-LLVM-NEXT: Number of TLS and multi-GOT entries: [[OTHERNUM]] 102 # BASIC-GNU:Primary GOT: 120 # BASIC-GNU-OTHER-NEXT: Number of TLS and multi-GOT entries [[OTHERNUM]] 122 ## Check we are able to print the number of TLS and multi-GOT entries properly. 133 ## Check how we print static GOT. Our code assumes that the GOT is static when there 137 # RUN: llvm-readobj -A %t.got-static.exe | FileCheck %s --check-prefix=STATIC-GOT-LLVM 138 # RUN: llvm-readelf -A %t.got-static.exe | FileCheck %s --check-prefix=STATIC-GOT-GNU 140 # STATIC-GOT-LLVM: Static GOT { [all …]
|
/external/llvm-project/llvm/test/MC/MachO/AArch64/ |
D | cstexpr-gotpcrel.ll | 3 ; GOT equivalent globals references can be replaced by the GOT entry of the 15 ; Don't replace GOT equivalent usage within instructions and emit the GOT 16 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is 27 ; Test GOT equivalent usage inside nested constant arrays. 32 ; CHECK-NEXT: .long _localfoo@GOT-Ltmp0 42 ; CHECK-NEXT: _extfoo@GOT-Ltmp1 60 ; Test multiple uses of GOT equivalents. 64 ; CHECK-NEXT: .long _extfoo@GOT-Ltmp2 83 ; does not support encoding an extra offset with @GOT, we still need to emit the 85 ; since they will start out as GOT equivalent candidates, but they are actually
|
/external/llvm/test/MC/MachO/AArch64/ |
D | cstexpr-gotpcrel.ll | 3 ; GOT equivalent globals references can be replaced by the GOT entry of the 15 ; Don't replace GOT equivalent usage within instructions and emit the GOT 16 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is 27 ; Test GOT equivalent usage inside nested constant arrays. 32 ; CHECK-NEXT: .long _localfoo@GOT-Ltmp0 42 ; CHECK-NEXT: _extfoo@GOT-Ltmp1 60 ; Test multiple uses of GOT equivalents. 64 ; CHECK-NEXT: .long _extfoo@GOT-Ltmp2 83 ; does not support encoding an extra offset with @GOT, we still need to emit the 85 ; since they will start out as GOT equivalent candidates, but they are actually
|
/external/llvm-project/llvm/test/CodeGen/Mips/Fast-ISel/ |
D | div1.ll | 18 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 19 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(si)($[[GOT]]) 20 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(sk)($[[GOT]]) 21 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(sj)($[[GOT]]) 40 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 41 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(ui)($[[GOT]]) 42 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(uk)($[[GOT]]) 43 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(uj)($[[GOT]])
|
D | rem1.ll | 18 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 19 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(si)($[[GOT]]) 20 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(sk)($[[GOT]]) 21 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(sj)($[[GOT]]) 41 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 42 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(ui)($[[GOT]]) 43 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(uk)($[[GOT]]) 44 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(uj)($[[GOT]])
|
/external/llvm/test/CodeGen/Mips/Fast-ISel/ |
D | div1.ll | 18 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 19 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(si)($[[GOT]]) 20 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(sk)($[[GOT]]) 21 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(sj)($[[GOT]]) 40 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 41 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(ui)($[[GOT]]) 42 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(uk)($[[GOT]]) 43 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(uj)($[[GOT]])
|
D | rem1.ll | 18 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 19 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(si)($[[GOT]]) 20 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(sk)($[[GOT]]) 21 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(sj)($[[GOT]]) 41 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25 42 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(ui)($[[GOT]]) 43 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(uk)($[[GOT]]) 44 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(uj)($[[GOT]])
|
/external/llvm-project/llvm/test/MC/Mips/ |
D | mips64-expansions.s | 2 # RUN: -show-encoding | FileCheck --check-prefixes=CHECK,GOT %s 476 # GOT: ld $10, %got_disp(symbol)($gp) # encoding: [A,A,0x8a,0xdf] 477 # GOT-NEXT: # fixup A - offset: 0, value: %got_disp(symbol), … 478 # GOT-NEXT: daddu $10, $10, $4 # encoding: [0x2d,0x50,0x44,0x01] 479 # GOT-NEXT: lw $10, 0($10) # encoding: [0x00,0x00,0x4a,0x8d] 490 # GOT: ld $1, %got_disp(symbol)($gp) # encoding: [A,A,0x81,0xdf] 491 # GOT-NEXT: # fixup A - offset: 0, value: %got_disp(symbol), … 492 # GOT-NEXT: daddu $1, $1, $9 # encoding: [0x2d,0x08,0x29,0x00] 493 # GOT-NEXT: sw $10, 0($1) # encoding: [0x00,0x00,0x2a,0xac] 504 # GOT: ld $8, %got_disp(sym)($gp) # encoding: [A,A,0x88,0xdf] [all …]
|
/external/llvm-project/llvm/test/MC/MachO/ARM/ |
D | cstexpr-gotpcrel.ll | 3 ; RUN: FileCheck %s -check-prefix=GOT-EQUIV < %t 5 ; GOT equivalent globals references can be replaced by the GOT entry of the 12 ; GOT-EQUIV-NOT: _localgotequiv 13 ; GOT-EQUIV-NOT: _extgotequiv 20 ; Don't replace GOT equivalent usage within instructions and emit the GOT 21 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is 32 ; Test GOT equivalent usage inside nested constant arrays. 58 ; Test multiple uses of GOT equivalents.
|
/external/llvm/test/MC/MachO/ARM/ |
D | cstexpr-gotpcrel.ll | 3 ; RUN: FileCheck %s -check-prefix=GOT-EQUIV < %t 5 ; GOT equivalent globals references can be replaced by the GOT entry of the 12 ; GOT-EQUIV-NOT: _localgotequiv 13 ; GOT-EQUIV-NOT: _extgotequiv 20 ; Don't replace GOT equivalent usage within instructions and emit the GOT 21 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is 32 ; Test GOT equivalent usage inside nested constant arrays. 58 ; Test multiple uses of GOT equivalents.
|
/external/llvm/test/MC/MachO/ |
D | cstexpr-gotpcrel-32.ll | 3 ; RUN: FileCheck %s -check-prefix=GOT-EQUIV < %t 5 ; GOT equivalent globals references can be replaced by the GOT entry of the 12 ; GOT-EQUIV-NOT: _localgotequiv 13 ; GOT-EQUIV-NOT: _extgotequiv 20 ; Don't replace GOT equivalent usage within instructions and emit the GOT 21 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is 32 ; Test GOT equivalent usage inside nested constant arrays. 58 ; Test multiple uses of GOT equivalents.
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | la-02.ll | 27 ; CHECK: lgrl %r2, ev@GOT 35 ; CHECK: lgrl %r2, dv@GOT 43 ; CHECK: lgrl %r2, pv@GOT 51 ; CHECK: lgrl %r2, hv@GOT 60 ; CHECK: lgrl %r2, ef@GOT 68 ; CHECK: lgrl %r2, df@GOT 76 ; CHECK: lgrl %r2, pf@GOT 84 ; CHECK: lgrl %r2, hf@GOT
|
/external/llvm/test/CodeGen/SystemZ/ |
D | la-02.ll | 27 ; CHECK: lgrl %r2, ev@GOT 35 ; CHECK: lgrl %r2, dv@GOT 43 ; CHECK: lgrl %r2, pv@GOT 51 ; CHECK: lgrl %r2, hv@GOT 60 ; CHECK: lgrl %r2, ef@GOT 68 ; CHECK: lgrl %r2, df@GOT 76 ; CHECK: lgrl %r2, pf@GOT 84 ; CHECK: lgrl %r2, hf@GOT
|
/external/llvm-project/llvm/test/MC/ARM/ |
D | elf-movt.s | 14 movw r0, :lower16:GOT-(.LPC0_2+8) 15 movt r0, :upper16:GOT-(.LPC0_2+8) 25 @ ASM: movw r0, :lower16:(GOT-(.LPC0_2+8)) 26 @ ASM-NEXT: movt r0, :upper16:(GOT-(.LPC0_2+8)) 36 @OBJ-NEXT: 00000000: R_ARM_MOVW_PREL_NC GOT 38 @OBJ-NEXT: 00000004: R_ARM_MOVT_PREL GOT 50 @THUMB-NEXT: 00000000: R_ARM_THM_MOVW_PREL_NC GOT 52 @THUMB-NEXT: 00000004: R_ARM_THM_MOVT_PREL GOT
|
/external/llvm-project/llvm/test/MC/MachO/ |
D | cstexpr-gotpcrel-64.ll | 3 ; RUN: FileCheck %s -check-prefix=X86-GOT-EQUIV < %t 6 ; GOT equivalent globals references can be replaced by the GOT entry of the 14 ; X86-GOT-EQUIV-NOT: L_localgotequiv 15 ; X86-GOT-EQUIV-NOT: l_extgotequiv 22 ; Don't replace GOT equivalent usage within instructions and emit the GOT 23 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is 33 ; Test GOT equivalent usage inside nested constant arrays. 63 ; Test multiple uses of GOT equivalents. 89 ; Do not crash when a pattern cannot be matched as a GOT equivalent
|