Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h89 unsigned SectionID;
120 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
125 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
130 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
136 : SectionID(id), Offset(offset), RelType(type), in RelocationEntry()
146 unsigned SectionID;
150 RelocationValueRef() : SectionID(0), Offset(0), Addend(0), in RelocationValueRef()
154 return SectionID == Other.SectionID && Offset == Other.Offset &&
158 if (SectionID != Other.SectionID)
159 return SectionID < Other.SectionID;
[all …]
DRuntimeDyldELF.cpp581 Rel.SectionID = 0; in findPPC64TOCSection()
595 Rel.SectionID = findOrEmitSection(Obj, *si, false, LocalSections); in findPPC64TOCSection()
660 Rel.SectionID = findOrEmitSection(Obj, (*tsi), IsCode, LocalSections); in findOPDEntrySection()
846 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
892 unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
920 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
935 Value.SectionID = findOrEmitSection(Obj, (*si), isCode, ObjSectionToID); in processRelocationRef()
961 DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset in processRelocationRef()
967 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
982 RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.Address, in processRelocationRef()
[all …]
DRuntimeDyld.cpp195 unsigned SectionID = in loadObjectImpl() local
198 << " SID: " << SectionID << " Offset: " in loadObjectImpl()
207 SymbolTableEntry(SectionID, SectOffset, RTDyldSymFlags); in loadObjectImpl()
219 unsigned SectionID = 0; in loadObjectImpl() local
233 SectionID = in loadObjectImpl()
235 DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n"); in loadObjectImpl()
238 I = processRelocationRef(SectionID, I, Obj, LocalSections, Stubs); in loadObjectImpl()
243 Checker->registerStubMap(Obj.getFileName(), SectionID, Stubs); in loadObjectImpl()
506 unsigned SectionID = Sections.size(); in emitCommonSymbols() local
508 SectionID, StringRef(), false); in emitCommonSymbols()
[all …]
DRuntimeDyldELF.h85 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
88 uint64_t allocateGOTEntries(unsigned SectionID, unsigned no);
92 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
97 RelocationEntry computeGOTOffsetRE(unsigned SectionID,
126 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
DRuntimeDyldMachO.h30 unsigned SectionID; member
65 RelocationEntry getRelocationEntry(unsigned SectionID, in getRelocationEntry() argument
80 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
127 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
DRuntimeDyldChecker.cpp797 unsigned SectionID = SectionInfo->SectionID; in getSectionAddr() local
802 reinterpret_cast<uintptr_t>(getRTDyld().Sections[SectionID].Address)); in getSectionAddr()
804 Addr = getRTDyld().Sections[SectionID].LoadAddress; in getSectionAddr()
822 unsigned SectionID = SectionInfo->SectionID; in getStubAddrFor() local
837 reinterpret_cast<uintptr_t>(getRTDyld().Sections[SectionID].Address); in getStubAddrFor()
840 uint64_t SectionBase = getRTDyld().Sections[SectionID].LoadAddress; in getStubAddrFor()
862 StringRef FilePath, unsigned SectionID) { in registerSection() argument
864 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerSection()
867 Stubs[FileName][SectionName].SectionID = SectionID; in registerSection()
871 StringRef FilePath, unsigned SectionID, in registerStubMap() argument
[all …]
DRuntimeDyldCheckerImpl.h37 uint64_t SectionID; member
64 void registerSection(StringRef FilePath, unsigned SectionID);
65 void registerStubMap(StringRef FilePath, unsigned SectionID,
DRuntimeDyldMachO.cpp47 uint8_t *Src = Sections[RE.SectionID].Address + RE.Offset; in memcpyAddend()
71 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
80 Value.SectionID = findOrEmitSection(Obj, Sec, IsCode, ObjSectionToID); in getRelocationValueRef()
107 const SectionEntry &Section = Sections[RE.SectionID]; in dumpRelocationToResolve()
111 dbgs() << "resolveRelocation Section: " << RE.SectionID in dumpRelocationToResolve()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h34 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
47 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
50 return processI386ScatteredVANILLA(SectionID, RelI, Obj, in processRelocationRef()
55 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
78 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
86 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
115 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
121 populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection()
124 Section, SectionID); in finalizeSection()
129 processSECTDIFFRelocation(unsigned SectionID, relocation_iterator RelI, in processSECTDIFFRelocation() argument
[all …]
DRuntimeDyldMachOARM.h37 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
53 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
65 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
71 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
86 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
94 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
160 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
167 Section, SectionID); in finalizeSection()
177 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation()
187 RelocationEntry StubRE(RE.SectionID, StubTargetAddr - Section.Address, in processBranchRelocation()
[all …]
DRuntimeDyldMachOX86_64.h34 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
46 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
63 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
71 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
102 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
108 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
119 RelocationEntry GOTRE(RE.SectionID, Section.StubOffset, in processGOTRelocation()
125 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
129 RelocationEntry TargetRE(RE.SectionID, RE.Offset, in processGOTRelocation()
DRuntimeDyldMachOAArch64.h36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
246 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
273 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
298 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
307 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
364 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
371 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
388 RelocationEntry GOTRE(RE.SectionID, StubOffset, in processGOTRelocation()
394 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
398 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, Offset, in processGOTRelocation()
[all …]
DRuntimeDyldCOFFX86_64.h64 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
112 relocation_iterator processRelocationRef(unsigned SectionID, in processRelocationRef() argument
141 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
170 DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef()
174 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
/external/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h41 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
88 unsigned SectionID,
95 unsigned SectionID,
DSectionMemoryManager.h51 unsigned SectionID,
60 unsigned SectionID, StringRef SectionName,
/external/lldb/source/Expression/
DIRExecutionUnit.cpp493 unsigned SectionID) in allocateCodeSection() argument
497 uint8_t *return_value = m_default_mm_ap->allocateCodeSection(Size, Alignment, SectionID); in allocateCodeSection()
503 SectionID)); in allocateCodeSection()
508 (uint64_t)Size, Alignment, SectionID, return_value); in allocateCodeSection()
517 unsigned SectionID, in allocateDataSection() argument
522 …uint8_t *return_value = m_default_mm_ap->allocateDataSection(Size, Alignment, SectionID, IsReadOnl… in allocateDataSection()
528 SectionID)); in allocateDataSection()
532 (uint64_t)Size, Alignment, SectionID, return_value); in allocateDataSection()
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp357 unsigned SectionID,
361 unsigned SectionID, StringRef SectionName,
390 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
392 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
397 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument
399 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
DSectionMemoryManager.cpp23 unsigned SectionID, in allocateDataSection() argument
33 unsigned SectionID, in allocateCodeSection() argument
/external/llvm/tools/lli/
DRemoteMemoryManager.h70 unsigned SectionID,
74 unsigned SectionID, StringRef SectionName,
DRemoteMemoryManager.cpp33 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
49 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp105 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
109 SectionID, SectionName, IsReadOnly); in allocateDataSection()
113 unsigned SectionID, in allocateCodeSection() argument
117 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/include/llvm-c/
DExecutionEngine.h180 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
183 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
/external/lldb/include/lldb/Expression/
DIRExecutionUnit.h290 unsigned SectionID);
311 unsigned SectionID, bool IsReadOnly);
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp116 unsigned SectionID,
119 unsigned SectionID, StringRef SectionName,
138 unsigned SectionID, in allocateCodeSection() argument
147 unsigned SectionID, in allocateDataSection() argument