/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 [
|
/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/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 95 "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/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 | 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
|
D | mips_abi_flags_xx.s | 5 # 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 - | \ 32 # CHECK-OBJ: Relocations [
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 70 /// relocations (like ARM). 78 /// for calculating relocations in some object formats (like MachO). 123 /// RelocationEntry - used to represent relocations internally in the dynamic 259 // For each symbol, keep a list of relocations based on it. Anytime 261 // the relocations get re-resolved. 265 // Relocations to sections already loaded. Indexed by SectionID which is the 268 std::unordered_map<unsigned, RelocationList> Relocations; variable 270 // Relocations to external symbols that are not yet resolved. Symbols are 284 // sections containing relocations should be. Defaults to 'false'. 392 /// \brief Resolves relocations from Relocs list with address from Value. [all …]
|
D | RuntimeDyld.cpp | 82 // Resolve the relocations for all symbols we currently know about. 89 dumpSectionMemory(Sections[i], "before relocations"); in resolveRelocations() 92 // First, resolve relocations associated with external symbols. in resolveRelocations() 95 // Iterate over all outstanding relocations in resolveRelocations() 96 for (auto it = Relocations.begin(), e = Relocations.end(); it != e; ++it) { in resolveRelocations() 102 DEBUG(dbgs() << "Resolving relocations Section #" << Idx << "\t" in resolveRelocations() 106 Relocations.clear(); in resolveRelocations() 111 dumpSectionMemory(Sections[i], "after relocations"); in resolveRelocations() 225 // Parse and process relocations in loadObjectImpl() 226 DEBUG(dbgs() << "Parse relocations:\n"); in loadObjectImpl() [all …]
|
/external/llvm/test/Object/ |
D | relocation-executable.test | 3 RUN: llvm-readobj -dyn-relocations -expand-relocs \ 6 // CHECK: Relocations [ 30 // DYN: Dynamic Relocations { 39 RUN: llvm-readobj -dyn-relocations -expand-relocs \ 42 // DYN2: Dynamic Relocations {
|
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 | corrupt.test | 48 RUN: not llvm-readobj -dyn-relocations \ 54 RUN: not llvm-readobj -dyn-relocations \ 61 RUN: not llvm-readobj -dyn-relocations \ 68 RUN: not llvm-readobj -dyn-relocations \
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 84 // 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/ |
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/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)); 94 // -dyn-relocations 95 cl::opt<bool> DynRelocs("dyn-relocations", [all …]
|
/external/llvm/lib/MC/ |
D | WinCOFFObjectWriter.cpp | 75 int Relocations; member in __anon06e85d110111::COFFSymbol 99 typedef std::vector<COFFRelocation> relocations; typedef 109 relocations Relocations; member in __anon06e85d110111::COFFSection 205 Relocations(0), MC(nullptr) { in COFFSymbol() 622 // away any relocations to functions. in isSymbolRefDifferenceFullyResolvedImpl() 723 // Turn relocations for temporary symbols into section relocations. in recordRelocation() 738 ++Reloc.Symb->Relocations; in recordRelocation() 772 // generate the relocations however the rest of the MSVC toolchain is in recordRelocation() 783 // offset by 4 on ARM, however, because there is no RELA relocations, all in recordRelocation() 791 coff_section->Relocations.push_back(Reloc); 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/ExecutionEngine/RuntimeDyld/X86/ |
D | COFF_i386.s | 55 .global relocations symbol 56 relocations: label 64 # rtdyld-check: *{4}rel7 = relocations - section_addr(COFF_i386.s.tmp.obj, .data) 65 .secrel32 relocations // IMAGE_REL_I386_SECREL
|
/external/llvm/test/tools/llvm-readobj/ |
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 [ 227 MACHO-X86-64-NEXT: Relocations [ 265 MACHO-X86-64-NEXT: Relocations [ 302 MACHO-PPC-NEXT: Relocations [ 375 MACHO-PPC-NEXT: Relocations [ 427 MACHO-PPC-NEXT: Relocations [ [all …]
|
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 [ 139 MACHO-PPC64: Relocations [ 219 MACHO-ARM: Relocations [
|
/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/test/MC/ELF/ |
D | local-reloc.s | 3 // Test that relocations with local symbols are represented as relocations 9 // CHECK: Relocations [
|
/external/llvm/test/MC/MachO/ |
D | i386-large-relocations.s | 18 // Normally scattered relocations are used for sym+offset expressions. When 20 // so the assembler falls back to non-scattered relocations. 23 // CHECK: 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 [
|