/external/llvm/test/MC/ARM/ |
D | target-expressions.s | 3 @ 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 …]
|
D | eh-directive-personalityindex.s | 30 @ RELOC: Relocations [ 59 @ RELOC: Relocations [ 92 @ RELOC: Relocations [ 129 @ RELOC: Relocations [ 163 @ RELOC: Relocations [ 198 @ RELOC: Relocations [
|
D | eh-directive-personality.s | 40 @ RELOC: Relocations [ 54 @ RELOC: Relocations [ 91 @ RELOC: Relocations [ 105 @ RELOC: Relocations [
|
/external/llvm/test/MC/ARM/Windows/ |
D | mov32t-range.s | 2 @ 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/ |
D | MCJITDesignAndImplementation.rst | 73 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/MC/Mips/ |
D | oddspreg.s | 5 # 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 [
|
D | mips_abi_flags_xx.s | 5 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 9 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 13 # RUN: llvm-readobj -sections -section-data -section-relocations - | \ 32 # CHECK-OBJ: Relocations [
|
D | higher-highest-addressing.s | 8 # Test that R_MIPS_HIGHER and R_MIPS_HIGHEST relocations are created. By using 10 # relocations. 18 # CHECK-REL: Relocations [ 32 # Check the case where relocations are not modified by adding +1. The constant
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 70 /// relocations (like ARM). 74 /// for calculating relocations in some object formats (like MachO). 84 /// RelocationEntry - used to represent relocations internally in the dynamic 218 // For each symbol, keep a list of relocations based on it. Anytime 220 // the relocations get re-resolved. 224 // Relocations to sections already loaded. Indexed by SectionID which is the 227 DenseMap<unsigned, RelocationList> Relocations; variable 229 // Relocations to external symbols that are not yet resolved. Symbols are 241 // sections containing relocations should be. Defaults to 'false'. 344 /// \brief Resolves relocations from Relocs list with address from Value. [all …]
|
D | RuntimeDyld.cpp | 81 // Resolve the relocations for all symbols we currently know about. 85 // First, resolve relocations associated with external symbols. in resolveRelocations() 88 // Just iterate over the sections we have and resolve all the relocations in resolveRelocations() 95 DEBUG(dbgs() << "Resolving relocations Section #" << i << "\t" in resolveRelocations() 97 DEBUG(dumpSectionMemory(Sections[i], "before relocations")); in resolveRelocations() 98 resolveRelocationList(Relocations[i], Addr); in resolveRelocations() 99 DEBUG(dumpSectionMemory(Sections[i], "after relocations")); in resolveRelocations() 100 Relocations.erase(i); in resolveRelocations() 215 // Parse and process relocations in loadObjectImpl() 216 DEBUG(dbgs() << "Parse relocations:\n"); in loadObjectImpl() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 96 "ADR/ADRP relocations must be GOT relative"); in getAArch64FixupKindMachOInfo() 118 // Debug info sections can use local relocations. in canUseLocalRelocation() 122 // Otherwise, only pointer sized relocations are supported. 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() 241 // We don't support PCrel relocations of differences. in RecordRelocation() 247 // AArch64 always uses external relocations. If there is no symbol to use as in RecordRelocation() 329 // Relocations inside debug sections always use local relocations when in RecordRelocation() 338 // AArch64 uses external relocations as much as possible. For debug in RecordRelocation() [all …]
|
/external/llvm/test/MC/COFF/ |
D | relocation-imgrel.s | 1 // 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/tools/llvm-readobj/ |
D | relocations.test | 20 COFF: Relocations [ 28 BAD-COFF-RELOCS: Relocations [ 34 ELF: Relocations [ 43 MACHO-I386: Relocations [ 52 MACHO-X86-64: Relocations [ 60 MACHO-PPC: Relocations [ 79 MACHO-PPC64: Relocations [ 99 MACHO-ARM: Relocations [
|
D | sections-ext.test | 34 COFF-NEXT: Relocations [ 87 ELF-NEXT: Relocations [ 109 ELF-NEXT: Relocations [ 150 ELF-NEXT: Relocations [ 182 MACHO-I386-NEXT: Relocations [ 226 MACHO-X86-64-NEXT: Relocations [ 263 MACHO-X86-64-NEXT: Relocations [ 300 MACHO-PPC-NEXT: Relocations [ 343 MACHO-PPC-NEXT: Relocations [ 371 MACHO-PPC-NEXT: Relocations [ [all …]
|
/external/llvm/lib/MC/ |
D | WinCOFFObjectWriter.cpp | 71 int Relocations; member in __anon06e85d110111::COFFSymbol 90 typedef std::vector<COFFRelocation> relocations; typedef 100 relocations Relocations; member in __anon06e85d110111::COFFSection 202 , Relocations(0) in COFFSymbol() 221 // if it has relocations pointing at it, keep it in should_keep() 222 if (Relocations > 0) { in should_keep() 223 assert(Section->Number != -1 && "Sections with relocations must be real!"); in should_keep() 658 // away any relocations to functions. in IsSymbolRefDifferenceFullyResolvedImpl() 742 // Turn relocations for temporary symbols into section relocations. in RecordRelocation() 750 ++Reloc.Symb->Relocations; in RecordRelocation() [all …]
|
/external/llvm/bindings/python/llvm/ |
D | object.py | 18 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/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 87 // have no relocations supported. in getARMFixupKindMachOInfo() 112 // For movw/movt r_type relocations they always have a pair following them and in getARMFixupKindMachOInfo() 182 // Relocations are written out in reverse order, so the PAIR comes first. in RecordARMScatteredHalfRelocation() 185 // For these two r_type relocations they always have a pair following them and in RecordARMScatteredHalfRelocation() 285 // Relocations are written out in reverse order, so the PAIR comes first. in RecordARMScatteredRelocation() 334 // BL/BLX also use external relocations when an internal relocation in requiresExternRelocation() 361 // relocations needed. in RecordRelocation() 367 // relocations. in RecordRelocation() 382 // FIXME: For other platforms, we need to use scattered relocations for in RecordRelocation() 383 // internal relocations with offsets. If this is an internal relocation with in RecordRelocation() [all …]
|
/external/llvm/docs/CommandGuide/ |
D | llvm-readobj.rst | 42 .. 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
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 66 // -section-relocations, -sr 67 cl::opt<bool> SectionRelocations("section-relocations", 68 cl::desc("Display relocations for each section shown.")); 70 cl::desc("Alias for --section-relocations"), 87 // -relocations, -r 88 cl::opt<bool> Relocations("relocations", variable 91 cl::desc("Alias for --relocations"), 92 cl::aliasopt(Relocations)); 273 if (opts::Relocations) in dumpObject()
|
/external/llvm/include/llvm/MC/ |
D | SectionKind.h | 103 /// to by the program, it can have random relocations to arbitrary 108 /// initializer and has relocations in it, but all of the 109 /// relocations are known to be within the final linked image 115 /// relocations. 119 /// written to by the program, but that have relocations, so they 128 /// can perform relocations in it. This is used when we know 129 /// that all the relocations are to globals in this final
|
/external/llvm/test/MC/ELF/ |
D | local-reloc.s | 3 // Test that relocations with local symbols are represented as relocations 9 // CHECK: Relocations [
|
/external/llvm/test/Object/ |
D | yaml2obj-elf-rel.yaml | 1 # RUN: yaml2obj -format=elf %s | llvm-readobj -sections -relocations - | FileCheck %s 21 Relocations: 37 Relocations: 107 # CHECK: Relocations [
|
D | yaml2obj-readobj.test | 1 RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - |… 3 RUN: llvm-readobj -file-headers -relocations -expand-relocs %t \ 10 // COFF-I386: Relocations [
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-initial-cfa.s | 28 # STATIC-NEXT: Relocations [ 52 # STATIC-NEXT: Relocations [ 69 # PIC-NEXT: Relocations [ 93 # PIC-NEXT: Relocations [
|
D | ppc64-relocs-01.s | 22 # CHECK: Relocations [ 24 # The relocations in .rela.text are the 'number64' load using a 32 # The .opd entry for the 'access_int64' function creates 2 relocations:
|