Home
last modified time | relevance | path

Searched full:relocations (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/external/llvm/test/MC/ARM/
Dtarget-expressions.s3 @ RUN: | FileCheck -check-prefix CHECK-RELOCATIONS %s
70 @ CHECK-RELOCATIONS: Relocations [
71 @ CHECK-RELOCATIONS: 0x4 R_ARM_MOVW_ABS_NC function 0x0
72 @ CHECK-RELOCATIONS: 0x8 R_ARM_MOVT_ABS function 0x0
73 @ CHECK-RELOCATIONS: 0xC R_ARM_MOVW_ABS_NC function 0x0
74 @ CHECK-RELOCATIONS: 0x10 R_ARM_MOVT_ABS function 0x0
75 @ CHECK-RELOCATIONS: 0x34 R_ARM_MOVW_ABS_NC external 0x0
76 @ CHECK-RELOCATIONS: 0x38 R_ARM_MOVT_ABS external 0x0
77 @ CHECK-RELOCATIONS: 0x3C R_ARM_MOVW_ABS_NC external 0x0
78 @ CHECK-RELOCATIONS: 0x40 R_ARM_MOVT_ABS external 0x0
[all …]
Dthumb-movwt-reloc.s3 @ RUN: | FileCheck -check-prefix CHECK-RELOCATIONS %s
23 @ CHECK-RELOCATIONS: Relocations [
24 @ CHECK-RELOCATIONS: 0x2 R_ARM_THM_MOVW_ABS_NC function 0x0
25 @ CHECK-RELOCATIONS: 0x6 R_ARM_THM_MOVT_ABS function 0x0
26 @ CHECK-RELOCATIONS: ]
Deh-directive-personalityindex.s30 @ RELOC: Relocations [
59 @ RELOC: Relocations [
92 @ RELOC: Relocations [
129 @ RELOC: Relocations [
163 @ RELOC: Relocations [
198 @ RELOC: Relocations [
/external/llvm/test/MC/ARM/Windows/
Dmov32t-range.s2 @ RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-RELOCATIONS %s
28 @ CHECK-RELOCATIONS: Relocations [
29 @ CHECK-RELOCATIONS: .text {
30 @ CHECK-RELOCATIONS: 0x0 IMAGE_REL_ARM_MOV32T .rdata
31 @ CHECK-RELOCATIONS-NOT: 0x4 IMAGE_REL_ARM_MOV32T .rdata
32 @ CHECK-RELOCATIONS: }
33 @ CHECK-RELOCATIONS: ]
/external/llvm/docs/
DMCJITDesignAndImplementation.rst73 image must be loaded into suitable memory, relocations must be applied and
102 object image and for each section iterates through the relocations for
113 relocations have not yet been applied and the generated code is still not
117 relocations when loadObject completes. However, this shouldn't be
120 relocations are applied. It is possible to apply relocations multiple
148 external symbols and then apply all relocations for the object.
154 iterate through the list of relocations it has stored which are associated
160 sections and for each section iterates through a list of relocations that
163 relocations for which the symbol associated with the relocation is located
168 .. image:: MCJIT-resolve-relocations.png
[all …]
/external/llvm/test/ExecutionEngine/RuntimeDyld/ARM/
DCOFF_Thumb.s93 .global relocations symbol
94 relocations: label
97 # rtdyld-check: *{4}relocations = function - section_addr(COFF_Thumb.s.tmp.obj, .text)
102 .long relocations(secrel32) @ IMAGE_REL_ARM_SECREL
103 # rtdyld-check: *{4}rel10 = relocations - section_addr(COFF_Thumb.s.tmp.obj, .data)
105 .secrel32 relocations @ IMAGE_REL_ARM_SECREL
106 # rtdyld-check: *{4}rel11 = relocations - section_addr(COFF_Thumb.s.tmp.obj, .data)
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp131 /// The relocations that need a matching low part are
197 /// Print all the relocations.
376 /// MIPS has a few relocations that have an AHL component in the expression used
381 /// The O32 ABI for example, uses REL relocations which store the addend in the
382 /// section data. All the relocations with AHL components affect 16-bit fields
384 /// resolves the limitation by linking relocations (e.g. R_MIPS_HI16 and
385 /// R_MIPS_LO16) and distributing the addend between the linked relocations. The
386 /// ABI mandates that such relocations must be next to each other in a
393 /// - There may be multiple high parts relocations for one low part relocation.
394 /// - There may be multiple low part relocations for one high part relocation.
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFCodeEmitter.h31 /// Relocations - Record relocations needed by the current function
32 std::vector<MachineRelocation> Relocations; variable
34 /// JTRelocations - Record relocations needed by the relocation
43 /// addRelocation - Register new relocations for this function
45 Relocations.push_back(MR); in addRelocation()
/external/llvm/test/MC/Mips/
Doddspreg.s5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
12 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
21 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
25 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
29 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
33 # RUN: llvm-readobj -sections -section-data -section-relocations - | \
52 # CHECK-OBJ-ALL: Relocations [
Dmips_abi_flags_xx.s5 # RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
9 # RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
13 # RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
17 # RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
36 # CHECK-OBJ: Relocations [
/external/llvm/test/Object/
Ddyn-rel-relocation.test1 // Check that 'llvm-readobj -dyn-relocations' shows dynamic relocations
26 RUN: llvm-readobj -relocations -dyn-relocations -expand-relocs \
29 // CHECK: Relocations [
52 // CHECK: Dynamic Relocations {
Drelocation-executable.test3 RUN: llvm-readobj -dyn-relocations -expand-relocs \
6 // CHECK: Relocations [
30 // DYN: Dynamic Relocations {
51 RUN: llvm-readobj -dyn-relocations -expand-relocs \
54 // DYN2: Dynamic Relocations {
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp95 "ADR/ADRP relocations must be GOT relative"); in getAArch64FixupKindMachOInfo()
119 // Debug info sections can use local relocations. in canUseLocalRelocation()
123 // Otherwise, only pointer sized relocations are supported. in canUseLocalRelocation()
138 // FIXME: ld64 currently handles internal pointer-sized relocations in canUseLocalRelocation()
165 // ADRP fixups use relocations for the whole symbol value and only in recordRelocation()
171 // imm19 relocations are for conditional branches, which require in recordRelocation()
183 // 14-bit branch relocations should only target internal labels, and so in recordRelocation()
242 // We don't support PCrel relocations of differences. in recordRelocation()
250 // AArch64 always uses external relocations. If there is no symbol to use as in recordRelocation()
335 // Relocations inside debug sections always use local relocations when in recordRelocation()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h64 /// relocations (like ARM).
72 /// for calculating relocations in some object formats (like MachO).
117 /// RelocationEntry - used to represent relocations internally in the dynamic
253 // For each symbol, keep a list of relocations based on it. Anytime
255 // the relocations get re-resolved.
259 // Relocations to sections already loaded. Indexed by SectionID which is the
262 std::unordered_map<unsigned, RelocationList> Relocations; variable
264 // Relocations to external symbols that are not yet resolved. Symbols are
278 // sections containing relocations should be. Defaults to 'false'.
382 /// \brief Resolves relocations from Relocs list with address from Value.
[all …]
DRuntimeDyld.cpp118 // Resolve the relocations for all symbols we currently know about.
125 dumpSectionMemory(Sections[i], "before relocations"); in resolveRelocations()
128 // First, resolve relocations associated with external symbols. in resolveRelocations()
131 // Iterate over all outstanding relocations in resolveRelocations()
132 for (auto it = Relocations.begin(), e = Relocations.end(); it != e; ++it) { in resolveRelocations()
138 DEBUG(dbgs() << "Resolving relocations Section #" << Idx << "\t" in resolveRelocations()
142 Relocations.clear(); in resolveRelocations()
147 dumpSectionMemory(Sections[i], "after relocations"); in resolveRelocations()
290 // Parse and process relocations in loadObjectImpl()
291 DEBUG(dbgs() << "Parse relocations:\n"); in loadObjectImpl()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/
DWinCOFFObjectWriter.cpp72 int Relocations; member in __anon506a093d0111::COFFSymbol
92 typedef std::vector<COFFRelocation> relocations; typedef
102 relocations Relocations; member in __anon506a093d0111::COFFSection
212 , Relocations(0) in COFFSymbol()
235 // if it has relocations pointing at it, keep it in should_keep()
236 if (Relocations > 0) { in should_keep()
237 assert(Section->Number != -1 && "Sections with relocations must be real!"); in should_keep()
686 // Turn relocations for temporary symbols into section relocations. in RecordRelocation()
694 ++Reloc.Symb->Relocations; in RecordRelocation()
728 coff_section->Relocations.push_back(Reloc); in RecordRelocation()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp84 // have no relocations supported. in getARMFixupKindMachOInfo()
109 // For movw/movt r_type relocations they always have a pair following them and in getARMFixupKindMachOInfo()
181 // Relocations are written out in reverse order, so the PAIR comes first. in RecordARMScatteredHalfRelocation()
184 // For these two r_type relocations they always have a pair following them and in RecordARMScatteredHalfRelocation()
287 // Relocations are written out in reverse order, so the PAIR comes first. in RecordARMScatteredRelocation()
336 // BL/BLX also use external relocations when an internal relocation in requiresExternRelocation()
361 // relocations needed. in recordRelocation()
369 // relocations. in recordRelocation()
384 // FIXME: For other platforms, we need to use scattered relocations for in recordRelocation()
385 // internal relocations with offsets. If this is an internal relocation with in recordRelocation()
[all …]
/external/llvm/bindings/python/llvm/
Dobject.py18 symbols, and relocations. These are represented by the classes ObjectFile,
30 relocations, call get_relocations() on a Section instance.
35 The LLVM bindings expose iteration over sections, symbols, and relocations in a
241 """Obtain the relocations in this Section.
251 relocations = lib.LLVMGetRelocations(self)
254 if lib.LLVMIsRelocationIteratorAtEnd(self, relocations):
257 last = Relocation(relocations)
263 lib.LLVMMoveToNextRelocation(relocations)
269 lib.LLVMDisposeRelocationIterator(relocations)
363 Relocations are created from objects derived from Section instances.
/external/llvm/test/MC/COFF/
Drelocation-imgrel.s1 // COFF Image-relative relocations
3 // Test that we produce image-relative relocations (IMAGE_REL_I386_DIR32NB
17 // W32: Relocations [
24 // W64: Relocations [
/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/
DMachO_x86-64_PIC_relocations.s55 # don't have their relocations applied.
65 # Test subtractor relocations between named symbols.
70 # Test subtractor relocations between anonymous symbols.
75 # Test subtractor relocations between named and anonymous symbols.
80 # Test subtractor relocations between anonymous and named symbols.
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp75 int Relocations; member in __anon06e85d110111::COFFSymbol
99 typedef std::vector<COFFRelocation> relocations; typedef
109 relocations Relocations; member in __anon06e85d110111::COFFSection
206 Relocations(0), MC(nullptr) { in COFFSymbol()
627 // away any relocations to functions. in isSymbolRefDifferenceFullyResolvedImpl()
728 // Turn relocations for temporary symbols into section relocations. in recordRelocation()
743 ++Reloc.Symb->Relocations; in recordRelocation()
777 // generate the relocations however the rest of the MSVC toolchain is in recordRelocation()
788 // offset by 4 on ARM, however, because there is no RELA relocations, all in recordRelocation()
800 coff_section->Relocations.push_back(Reloc); in recordRelocation()
[all …]
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp67 // -section-relocations, -sr
68 cl::opt<bool> SectionRelocations("section-relocations",
69 cl::desc("Display relocations for each section shown."));
71 cl::desc("Alias for --section-relocations"),
88 // -relocations, -r
89 cl::opt<bool> Relocations("relocations", variable
92 cl::desc("Alias for --relocations"),
93 cl::aliasopt(Relocations));
95 // -dyn-relocations
96 cl::opt<bool> DynRelocs("dyn-relocations",
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DSectionKind.h104 /// to by the program, it can have random relocations to arbitrary
109 /// initializer and has relocations in it, but all of the
110 /// relocations are known to be within the final linked image
116 /// relocations.
120 /// written to by the program, but that have relocations, so they
129 /// can perform relocations in it. This is used when we know
130 /// that all the relocations are to globals in this final
/external/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h58 // Change the address associated with a section when resolving relocations.
59 // Any relocations already associated with the symbol will be re-resolved.
174 /// before relocations are applied to the loaded sections.
215 /// skip all relocations for that symbol, and the client will be responsible
240 /// Resolve the relocations for all symbols we currently know about.
266 /// contain relocations, E.g. Debug info, stackmaps.
277 /// 1) Apply relocations.
289 /// relocations.
/external/llvm/docs/CommandGuide/
Dllvm-readobj.rst42 .. option:: -section-relocations, -sr
44 When used with ``-sections``, display relocations for each section shown.
50 .. option:: -relocations, -r
68 When used with ``-relocations``, display each relocation in an expanded

12345678910>>...28