Home
last modified time | relevance | path

Searched refs:RELOC (Results 1 – 25 of 115) sorted by relevance

12345

/external/llvm-project/lld/test/wasm/
Dlocals-duplicate.test219 ; RUN: obj2yaml %t.reloc.wasm | FileCheck -check-prefix=RELOC %s
221 ; RELOC: --- !WASM
222 ; RELOC-NEXT: FileHeader:
223 ; RELOC-NEXT: Version: 0x1
224 ; RELOC-NEXT: Sections:
225 ; RELOC-NEXT: - Type: TYPE
226 ; RELOC-NEXT: Signatures:
227 ; RELOC-NEXT: - Index: 0
228 ; RELOC-NEXT: ParamTypes: []
229 ; RELOC-NEXT: ReturnTypes:
[all …]
Dweak-alias.ll130 ; RUN: obj2yaml %t.reloc.o | FileCheck %s -check-prefix=RELOC
132 ; RELOC: --- !WASM
133 ; RELOC-NEXT: FileHeader:
134 ; RELOC-NEXT: Version: 0x1
135 ; RELOC-NEXT: Sections:
136 ; RELOC-NEXT: - Type: TYPE
137 ; RELOC-NEXT: Signatures:
138 ; RELOC-NEXT: - Index: 0
139 ; RELOC-NEXT: ParamTypes: []
140 ; RELOC-NEXT: ReturnTypes: []
[all …]
Ddata-layout.ll88 ; RUN: obj2yaml %t_reloc.wasm | FileCheck %s -check-prefix=RELOC
90 ; RELOC: - Type: DATA
91 ; RELOC-NEXT: Relocations:
92 ; RELOC-NEXT: - Type: R_WASM_MEMORY_ADDR_I32
93 ; RELOC-NEXT: Index: 3
94 ; RELOC-NEXT: Offset: 0x24
95 ; RELOC-NEXT: - Type: R_WASM_MEMORY_ADDR_I32
96 ; RELOC-NEXT: Index: 4
97 ; RELOC-NEXT: Offset: 0x2D
98 ; RELOC-NEXT: Addend: 4
[all …]
Dsignature-mismatch.ll9 ; RUN: obj2yaml %t.reloc.o | FileCheck %s -check-prefix=RELOC
60 ; RELOC: Name: linking
61 ; RELOC-NEXT: Version: 2
62 ; RELOC-NEXT: SymbolTable:
63 ; RELOC-NEXT: - Index: 0
64 ; RELOC-NEXT: Kind: FUNCTION
65 ; RELOC-NEXT: Name: _start
66 ; RELOC-NEXT: Flags: [ VISIBILITY_HIDDEN ]
67 ; RELOC-NEXT: Function: 1
68 ; RELOC-NEXT: - Index: 1
[all …]
Dcustom-section-name.ll7 ; RUN: obj2yaml %t_reloc.o | FileCheck -check-prefix RELOC %s
45 ; RELOC-LABEL: SegmentInfo:
46 ; RELOC-NEXT: - Index: 0
47 ; RELOC-NEXT: Name: 'WowZero!'
48 ; RELOC-NEXT: Alignment: 2
49 ; RELOC-NEXT: Flags: [ ]
50 ; RELOC-NEXT: - Index: 1
51 ; RELOC-NEXT: Name: MyAwesomeSection
52 ; RELOC-NEXT: Alignment: 2
53 ; RELOC-NEXT: Flags: [ ]
[all …]
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Daix-xcoff-reloc-large.ll3 ; RUN: llvm-readobj --relocs --expand-relocs %t.o | FileCheck --check-prefixes=RELOC %s
20 ; RELOC: Section (index: {{[0-9]+}}) .text {
21 ; RELOC-NEXT: Relocation {
22 ; RELOC-NEXT: Virtual Address: 0x2
23 ; RELOC-NEXT: Symbol: a ([[#INDX:]])
24 ; RELOC-NEXT: IsSigned: No
25 ; RELOC-NEXT: FixupBitValue: 0
26 ; RELOC-NEXT: Length: 16
27 ; RELOC-NEXT: Type: R_TOCU (0x30)
28 ; RELOC-NEXT: }
[all …]
Daix-xcoff-reloc.ll4 ; RUN: llvm-readobj --relocs --expand-relocs %t.o | FileCheck --check-prefix=RELOC %s
73 ; RELOC: File: {{.*}}aix-xcoff-reloc.ll.tmp.o
74 ; RELOC-NEXT: Format: aixcoff-rs6000
75 ; RELOC-NEXT: Arch: powerpc
76 ; RELOC-NEXT: AddressSize: 32bit
77 ; RELOC-NEXT: Relocations [
78 ; RELOC-NEXT: Section (index: 1) .text {
79 ; RELOC-NEXT: Relocation {
80 ; RELOC-NEXT: Virtual Address: 0x10
81 ; RELOC-NEXT: Symbol: .bar (0)
[all …]
/external/llvm-project/llvm/test/MC/ARM/
Deh-directive-personalityindex.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
28 @ RELOC: Section {
29 @ RELOC: Name: .rel.ARM.exidx.pr0
30 @ RELOC: Relocations [
31 @ RELOC: 0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
32 @ RELOC: 0x0 R_ARM_PREL31 .pr0 0x0
33 @ RELOC: ]
34 @ RELOC: }
57 @ RELOC: Section {
58 @ RELOC: Name: .rel.ARM.exidx.pr0.nontrivial
[all …]
Deh-directive-personality.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
38 @ RELOC: Section {
39 @ RELOC: Name: .rel.ARM.extab.TEST1
40 @ RELOC: Relocations [
41 @ RELOC: 0x0 R_ARM_PREL31 __gxx_personality_v0 0x0
42 @ RELOC: ]
43 @ RELOC: }
52 @ RELOC: Section {
53 @ RELOC: Name: .rel.ARM.exidx.TEST1
54 @ RELOC: Relocations [
[all …]
Deh-directive-section.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
70 @ RELOC: Section {
71 @ RELOC: Name: .rel.ARM.extab.TEST1
72 @ RELOC: Relocations [
73 @ RELOC: 0x0 R_ARM_PREL31 __gxx_personality_v0 0x0
74 @ RELOC: ]
75 @ RELOC: }
99 @ RELOC: Section {
100 @ RELOC: Name: .rel.ARM.exidx.TEST1
101 @ RELOC: Relocations [
[all …]
Deh-directive-handlerdata.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
48 @ RELOC: Section {
49 @ RELOC: Name: .rel.ARM.exidx.TEST1
50 @ RELOC: Relocations [
51 @ RELOC: 0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
52 @ RELOC: 0x0 R_ARM_PREL31 .TEST1 0x0
53 @ RELOC: 0x4 R_ARM_PREL31 .ARM.extab.TEST1 0x0
54 @ RELOC: ]
55 @ RELOC: }
108 @ RELOC: Section {
[all …]
/external/llvm/test/MC/ARM/
Deh-directive-personalityindex.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
28 @ RELOC: Section {
29 @ RELOC: Name: .rel.ARM.exidx.pr0
30 @ RELOC: Relocations [
31 @ RELOC: 0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
32 @ RELOC: 0x0 R_ARM_PREL31 .pr0 0x0
33 @ RELOC: ]
34 @ RELOC: }
57 @ RELOC: Section {
58 @ RELOC: Name: .rel.ARM.exidx.pr0.nontrivial
[all …]
Deh-directive-personality.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
38 @ RELOC: Section {
39 @ RELOC: Name: .rel.ARM.extab.TEST1
40 @ RELOC: Relocations [
41 @ RELOC: 0x0 R_ARM_PREL31 __gxx_personality_v0 0x0
42 @ RELOC: ]
43 @ RELOC: }
52 @ RELOC: Section {
53 @ RELOC: Name: .rel.ARM.exidx.TEST1
54 @ RELOC: Relocations [
[all …]
Deh-directive-section.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
70 @ RELOC: Section {
71 @ RELOC: Name: .rel.ARM.extab.TEST1
72 @ RELOC: Relocations [
73 @ RELOC: 0x0 R_ARM_PREL31 __gxx_personality_v0 0x0
74 @ RELOC: ]
75 @ RELOC: }
99 @ RELOC: Section {
100 @ RELOC: Name: .rel.ARM.exidx.TEST1
101 @ RELOC: Relocations [
[all …]
Deh-directive-handlerdata.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
48 @ RELOC: Section {
49 @ RELOC: Name: .rel.ARM.exidx.TEST1
50 @ RELOC: Relocations [
51 @ RELOC: 0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
52 @ RELOC: 0x0 R_ARM_PREL31 .TEST1 0x0
53 @ RELOC: 0x4 R_ARM_PREL31 .ARM.extab.TEST1 0x0
54 @ RELOC: ]
55 @ RELOC: }
108 @ RELOC: Section {
[all …]
Deh-compact-pr0.s4 @ RUN: FileCheck --check-prefix=RELOC %s < %t
68 @ RELOC: Section {
69 @ RELOC: Name: .rel.ARM.exidx.TEST1
70 @ RELOC: Relocations [
71 @ RELOC: 0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
72 @ RELOC: 0x0 R_ARM_PREL31 .TEST1 0x0
73 @ RELOC: ]
74 @ RELOC: }
105 @ RELOC: Section {
106 @ RELOC: Name: .rel.ARM.exidx.TEST2
[all …]
/external/llvm-project/llvm/test/MC/RISCV/
Dlinker-relaxation.s2 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELAX-RELOC %s
4 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=NORELAX-RELOC %s
8 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELAX-RELOC %s
10 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=NORELAX-RELOC %s
17 # NORELAX-RELOC: R_RISCV_CALL foo 0x0
18 # NORELAX-RELOC-NOT: R_RISCV_RELAX
19 # RELAX-RELOC: R_RISCV_CALL foo 0x0
20 # RELAX-RELOC: R_RISCV_RELAX - 0x0
25 # NORELAX-RELOC: R_RISCV_HI20 foo 0x0
26 # NORELAX-RELOC-NOT: R_RISCV_RELAX
[all …]
Doption-relax.s4 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=CHECK-RELOC %s
9 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=CHECK-RELOC %s
23 # CHECK-RELOC: R_RISCV_CALL foo 0x0
24 # CHECK-RELOC-NOT: R_RISCV_RELAX - 0x0
27 # CHECK-RELOC-NEXT: R_RISCV_ADD64
28 # CHECK-RELOC-NEXT: R_RISCV_SUB64
30 # CHECK-RELOC-NEXT: R_RISCV_JAL
32 # CHECK-RELOC-NEXT: R_RISCV_BRANCH
40 # CHECK-RELOC-NEXT: R_RISCV_CALL bar 0x0
41 # CHECK-RELOC-NEXT: R_RISCV_RELAX - 0x0
[all …]
Drv32-relaxation.s6 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELAX-RELOC %s
23 #RELAX-RELOC: R_RISCV_RVC_BRANCH
27 #RELAX-RELOC: R_RISCV_RVC_BRANCH
31 #RELAX-RELOC: R_RISCV_BRANCH
35 #RELAX-RELOC: R_RISCV_BRANCH
39 #RELAX-RELOC: R_RISCV_BRANCH
43 #RELAX-RELOC: R_RISCV_BRANCH
48 #RELAX-RELOC: R_RISCV_RVC_BRANCH
52 #RELAX-RELOC: R_RISCV_RVC_BRANCH
56 #RELAX-RELOC: R_RISCV_BRANCH
[all …]
Dfde-reloc.s2 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELAX-RELOC %s
4 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=NORELAX-RELOC %s
11 # RELAX-RELOC: Section (4) .rela.eh_frame {
12 # RELAX-RELOC-NEXT: 0x1C R_RISCV_32_PCREL - 0x0
13 # RELAX-RELOC-NEXT: 0x20 R_RISCV_ADD32 - 0x0
14 # RELAX-RELOC-NEXT: 0x20 R_RISCV_SUB32 - 0x0
15 # RELAX-RELOC-NEXT: }
17 # NORELAX-RELOC: Section (4) .rela.eh_frame {
18 # NORELAX-RELOC-NEXT: 0x1C R_RISCV_32_PCREL - 0x0
19 # NORELAX-RELOC-NEXT: }
Drv64-relaxation.s6 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELAX-RELOC %s
23 #RELAX-RELOC: R_RISCV_RVC_BRANCH
27 #RELAX-RELOC: R_RISCV_RVC_BRANCH
31 #RELAX-RELOC: R_RISCV_BRANCH
35 #RELAX-RELOC: R_RISCV_BRANCH
39 #RELAX-RELOC: R_RISCV_BRANCH
43 #RELAX-RELOC: R_RISCV_BRANCH
48 #RELAX-RELOC: R_RISCV_RVC_BRANCH
52 #RELAX-RELOC: R_RISCV_RVC_BRANCH
56 #RELAX-RELOC: R_RISCV_BRANCH
[all …]
Drelocations.s4 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELOC %s
7 # RELOC - Check the relocation in the object.
12 # RELOC: R_RISCV_32 foo
15 # RELOC: R_RISCV_64 foo
18 # RELOC: R_RISCV_HI20 foo 0x0
23 # RELOC: R_RISCV_HI20 foo 0x4
28 # RELOC: R_RISCV_TPREL_HI20 foo 0x0
33 # RELOC: R_RISCV_TPREL_HI20 foo 0x4
38 # RELOC: R_RISCV_LO12_I foo 0x0
43 # RELOC: R_RISCV_LO12_I foo 0x4
[all …]
/external/llvm-project/lld/test/ELF/
Daarch64-tls-ie.s7 # RUN: llvm-readobj -S -r %tout | FileCheck -check-prefix=RELOC %s
9 # RELOC: Section {
10 # RELOC: Index:
11 # RELOC: Name: .got
12 # RELOC-NEXT: Type: SHT_PROGBITS
13 # RELOC-NEXT: Flags [
14 # RELOC-NEXT: SHF_ALLOC
15 # RELOC-NEXT: SHF_WRITE
16 # RELOC-NEXT: ]
17 # RELOC-NEXT: Address: 0x220338
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-tls-dynamics.ll2 …ldtls-generation=1 -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-RELOC %s
4 …ion-model=pic -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-NOLD-RELOC %s
32 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADR_PAGE21
33 ; CHECK-RELOC: R_AARCH64_TLSDESC_LD64_LO12_NC
34 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADD_LO12_NC
35 ; CHECK-RELOC: R_AARCH64_TLSDESC_CALL
37 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_ADR_PAGE21
38 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_LD64_LO12_NC
39 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_ADD_LO12_NC
40 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_CALL
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Darm64-tls-dynamics.ll6 …ldtls-generation=1 -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-RELOC %s
8 …ion-model=pic -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-NOLD-RELOC %s
42 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADR_PAGE21
43 ; CHECK-RELOC: R_AARCH64_TLSDESC_LD64_LO12
44 ; CHECK-RELOC: R_AARCH64_TLSDESC_ADD_LO12
45 ; CHECK-RELOC: R_AARCH64_TLSDESC_CALL
47 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_ADR_PAGE21
48 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_LD64_LO12
49 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_ADD_LO12
50 ; CHECK-NOLD-RELOC: R_AARCH64_TLSDESC_CALL
[all …]

12345