Home
last modified time | relevance | path

Searched refs:SectionID (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h122 unsigned SectionID;
153 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
158 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
163 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
169 : SectionID(id), Offset(offset), RelType(type), in RelocationEntry()
179 unsigned SectionID;
183 RelocationValueRef() : SectionID(0), Offset(0), Addend(0), in RelocationValueRef()
187 return SectionID == Other.SectionID && Offset == Other.Offset &&
191 if (SectionID != Other.SectionID)
192 return SectionID < Other.SectionID;
[all …]
DRuntimeDyldELF.cpp603 SID SectionID) { in resolveMIPS64Relocation() argument
613 SymOffset, SectionID); in resolveMIPS64Relocation()
618 SectionID); in resolveMIPS64Relocation()
624 SectionID); in resolveMIPS64Relocation()
634 uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument
657 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation()
671 getSectionAddress(SectionToGOTMap[SectionID]) + SymOffset; in evaluateMIPS64Relocation()
691 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation()
793 Rel.SectionID = 0; in findPPC64TOCSection()
808 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
[all …]
DRuntimeDyld.cpp241 unsigned SectionID = AbsoluteSymbolSection; in loadObjectImpl() local
244 << " SID: " << SectionID << " Offset: " in loadObjectImpl()
248 SymbolTableEntry(SectionID, Addr, RTDyldSymFlags); in loadObjectImpl()
269 unsigned SectionID; in loadObjectImpl() local
272 SectionID = *SectionIDOrErr; in loadObjectImpl()
277 << " SID: " << SectionID << " Offset: " in loadObjectImpl()
281 SymbolTableEntry(SectionID, SectOffset, RTDyldSymFlags); in loadObjectImpl()
307 unsigned SectionID = 0; in loadObjectImpl() local
310 SectionID = *SectionIDOrErr; in loadObjectImpl()
314 DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n"); in loadObjectImpl()
[all …]
DRuntimeDyldELF.h31 uint64_t SymOffset = 0, SID SectionID = 0);
60 uint64_t SymOffset, SID SectionID);
65 uint64_t SymOffset, SID SectionID);
105 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
108 uint64_t allocateGOTEntries(unsigned SectionID, unsigned no);
112 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
117 RelocationEntry computeGOTOffsetRE(unsigned SectionID,
123 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
127 …void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValu…
170 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
DRuntimeDyldMachO.h30 unsigned SectionID; member
65 RelocationEntry getRelocationEntry(unsigned SectionID, in getRelocationEntry() argument
79 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
84 processScatteredVANILLA(unsigned SectionID, relocation_iterator RelI,
132 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
DRuntimeDyldChecker.cpp801 unsigned SectionID = SectionInfo->SectionID; in getSectionAddr() local
805 getRTDyld().Sections[SectionID].getAddress())); in getSectionAddr()
807 Addr = getRTDyld().Sections[SectionID].getLoadAddress(); in getSectionAddr()
825 unsigned SectionID = SectionInfo->SectionID; in getStubAddrFor() local
840 getRTDyld().Sections[SectionID].getAddress()); in getStubAddrFor()
843 uint64_t SectionBase = getRTDyld().Sections[SectionID].getLoadAddress(); in getStubAddrFor()
865 StringRef FilePath, unsigned SectionID) { in registerSection() argument
867 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerSection()
870 Stubs[FileName][SectionName].SectionID = SectionID; in registerSection()
874 StringRef FilePath, unsigned SectionID, in registerStubMap() argument
[all …]
DRuntimeDyldMachO.cpp48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
55 unsigned SectionID, relocation_iterator RelI, in processScatteredVANILLA() argument
63 SectionEntry &Section = Sections[SectionID]; in processScatteredVANILLA()
86 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
117 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
128 Value.SectionID = *SectionIDOrErr; in getRelocationValueRef()
148 const SectionEntry &Section = Sections[RE.SectionID]; in dumpRelocationToResolve()
152 dbgs() << "resolveRelocation Section: " << RE.SectionID in dumpRelocationToResolve()
DRuntimeDyldCheckerImpl.h36 uint64_t SectionID; member
63 void registerSection(StringRef FilePath, unsigned SectionID);
64 void registerStubMap(StringRef FilePath, unsigned SectionID,
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFThumb.h38 processRelocationRef(unsigned SectionID, in processRelocationRef() argument
62 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef()
80 DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef()
86 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
103 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef()
115 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef()
122 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef()
131 RelocationEntry(SectionID, Offset, RelType, in processRelocationRef()
143 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
186 assert(static_cast<int32_t>(RE.SectionID) <= INT16_MAX && in resolveRelocation()
[all …]
DRuntimeDyldMachOARM.h38 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
54 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
66 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
69 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
91 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
109 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
117 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
174 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
181 Section, SectionID); in finalizeSection()
192 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation()
[all …]
DRuntimeDyldCOFFI386.h38 processRelocationRef(unsigned SectionID, in processRelocationRef() argument
63 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef()
83 DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef()
89 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
106 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef()
118 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef()
133 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
194 assert(static_cast<int32_t>(RE.SectionID) <= INT16_MAX && in resolveRelocation()
196 assert(static_cast<int32_t>(RE.SectionID) >= INT16_MIN && in resolveRelocation()
199 << " RelType: IMAGE_REL_I386_SECTION Value: " << RE.SectionID in resolveRelocation()
[all …]
DRuntimeDyldMachOX86_64.h35 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
46 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
51 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
81 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
89 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
124 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
132 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
143 RelocationEntry GOTRE(RE.SectionID, Section.getStubOffset(), in processGOTRelocation()
149 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
153 RelocationEntry TargetRE(RE.SectionID, RE.Offset, in processGOTRelocation()
[all …]
DRuntimeDyldMachOI386.h35 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
48 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
51 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
68 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
94 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
102 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
129 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
135 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection()
138 Section, SectionID); in finalizeSection()
144 processSECTDIFFRelocation(unsigned SectionID, relocation_iterator RelI, in processSECTDIFFRelocation() argument
[all …]
DRuntimeDyldMachOAArch64.h36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
246 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
276 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
278 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
305 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
314 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
379 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
388 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
405 RelocationEntry GOTRE(RE.SectionID, StubOffset, in processGOTRelocation()
411 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
[all …]
DRuntimeDyldCOFFX86_64.h64 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
110 processRelocationRef(unsigned SectionID, in processRelocationRef() argument
131 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
163 DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef()
168 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
179 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
/external/llvm/lib/Object/
DSymbolSize.cpp24 unsigned SectionID; member
29 if (A->SectionID != B->SectionID) in compareAddress()
30 return A->SectionID - B->SectionID; in compareAddress()
/external/llvm/tools/lli/
DRemoteJITUtils.h91 unsigned SectionID, in allocateCodeSection() argument
93 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection()
97 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
99 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp327 unsigned SectionID,
331 unsigned SectionID, StringRef SectionName,
360 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
362 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
367 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument
369 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
DSectionMemoryManager.cpp24 unsigned SectionID, in allocateDataSection() argument
34 unsigned SectionID, in allocateCodeSection() argument
/external/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h51 unsigned SectionID,
60 unsigned SectionID, StringRef SectionName,
DRuntimeDyld.h60 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
123 unsigned SectionID,
130 unsigned SectionID,
/external/llvm/include/llvm-c/
DExecutionEngine.h156 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
159 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp106 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
110 SectionID, SectionName, IsReadOnly); in allocateDataSection()
114 unsigned SectionID, in allocateCodeSection() argument
118 SectionID, SectionName); in allocateCodeSection()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h39 unsigned SectionID, in allocateCodeSection() argument
42 ClientMM->allocateCodeSection(Size, Alignment, SectionID, in allocateCodeSection()
49 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
51 uint8_t *Addr = ClientMM->allocateDataSection(Size, Alignment, SectionID, in allocateDataSection()
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp52 unsigned SectionID, in TEST() argument
58 SectionID, in TEST()

12