Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
HDRuntimeDyldImpl.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 …]
HDRuntimeDyldELF.cpp583 SID SectionID) { in resolveMIPS64Relocation() argument
593 SymOffset, SectionID); in resolveMIPS64Relocation()
598 SectionID); in resolveMIPS64Relocation()
604 SectionID); in resolveMIPS64Relocation()
613 uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument
637 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation()
651 getSectionAddress(SectionToGOTMap[SectionID]) + SymOffset; in evaluateMIPS64Relocation()
671 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation()
773 Rel.SectionID = 0; in findPPC64TOCSection()
785 Rel.SectionID = findOrEmitSection(Obj, Section, false, LocalSections); in findPPC64TOCSection()
[all …]
HDRuntimeDyldELF.h28 uint64_t SymOffset = 0, SID SectionID = 0);
54 uint64_t SymOffset, SID SectionID);
59 uint64_t SymOffset, SID SectionID);
99 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
102 uint64_t allocateGOTEntries(unsigned SectionID, unsigned no);
106 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
111 RelocationEntry computeGOTOffsetRE(unsigned SectionID,
117 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
121 …void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValu…
154 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
HDRuntimeDyld.cpp180 unsigned SectionID = in loadObjectImpl() local
183 << " SID: " << SectionID << " Offset: " in loadObjectImpl()
192 SymbolTableEntry(SectionID, SectOffset, RTDyldSymFlags); in loadObjectImpl()
204 unsigned SectionID = 0; in loadObjectImpl() local
218 SectionID = in loadObjectImpl()
220 DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n"); in loadObjectImpl()
223 I = processRelocationRef(SectionID, I, Obj, LocalSections, Stubs); in loadObjectImpl()
228 Checker->registerStubMap(Obj.getFileName(), SectionID, Stubs); in loadObjectImpl()
489 unsigned SectionID = Sections.size(); in emitCommonSymbols() local
491 SectionID, StringRef(), false); in emitCommonSymbols()
[all …]
HDRuntimeDyldMachO.h30 unsigned SectionID; member
65 RelocationEntry getRelocationEntry(unsigned SectionID, in getRelocationEntry() argument
79 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
125 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
HDRuntimeDyldChecker.cpp799 unsigned SectionID = SectionInfo->SectionID; in getSectionAddr() local
804 reinterpret_cast<uintptr_t>(getRTDyld().Sections[SectionID].Address)); in getSectionAddr()
806 Addr = getRTDyld().Sections[SectionID].LoadAddress; in getSectionAddr()
824 unsigned SectionID = SectionInfo->SectionID; in getStubAddrFor() local
839 reinterpret_cast<uintptr_t>(getRTDyld().Sections[SectionID].Address); in getStubAddrFor()
842 uint64_t SectionBase = getRTDyld().Sections[SectionID].LoadAddress; in getStubAddrFor()
864 StringRef FilePath, unsigned SectionID) { in registerSection() argument
866 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerSection()
869 Stubs[FileName][SectionName].SectionID = SectionID; in registerSection()
873 StringRef FilePath, unsigned SectionID, in registerStubMap() argument
[all …]
HDRuntimeDyldCheckerImpl.h37 uint64_t SectionID; member
64 void registerSection(StringRef FilePath, unsigned SectionID);
65 void registerStubMap(StringRef FilePath, unsigned SectionID,
HDRuntimeDyldMachO.cpp48 uint8_t *Src = Sections[RE.SectionID].Address + RE.Offset; in memcpyAddend()
74 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
83 Value.SectionID = findOrEmitSection(Obj, Sec, IsCode, ObjSectionToID); in getRelocationValueRef()
101 const SectionEntry &Section = Sections[RE.SectionID]; in dumpRelocationToResolve()
105 dbgs() << "resolveRelocation Section: " << RE.SectionID in dumpRelocationToResolve()
/NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
HDRuntimeDyldMachOI386.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 …]
HDRuntimeDyldMachOARM.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 …]
HDRuntimeDyldMachOX86_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()
HDRuntimeDyldMachOAArch64.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 …]
HDRuntimeDyldCOFFX86_64.h64 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
112 relocation_iterator 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()
175 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
/NextBSD/contrib/llvm/lib/Object/
HDSymbolSize.cpp24 unsigned SectionID; member
29 if (A->SectionID != B->SectionID) in compareAddress()
30 return A->SectionID - B->SectionID; in compareAddress()
/NextBSD/contrib/llvm/lib/ExecutionEngine/
HDExecutionEngineBindings.cpp366 unsigned SectionID,
370 unsigned SectionID, StringRef SectionName,
399 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
401 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
406 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument
408 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
HDSectionMemoryManager.cpp23 unsigned SectionID, in allocateDataSection() argument
33 unsigned SectionID, in allocateCodeSection() argument
/NextBSD/contrib/llvm/include/llvm/ExecutionEngine/
HDRuntimeDyld.h43 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
97 unsigned SectionID,
104 unsigned SectionID,
HDSectionMemoryManager.h51 unsigned SectionID,
60 unsigned SectionID, StringRef SectionName,
/NextBSD/contrib/llvm/tools/lli/
HDRemoteMemoryManager.h70 unsigned SectionID,
74 unsigned SectionID, StringRef SectionName,
HDRemoteMemoryManager.cpp33 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
49 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDIRExecutionUnit.cpp573 unsigned SectionID, in allocateCodeSection() argument
578 …uint8_t *return_value = m_default_mm_ap->allocateCodeSection(Size, Alignment, SectionID, SectionNa… in allocateCodeSection()
585 SectionID, in allocateCodeSection()
591 (uint64_t)Size, Alignment, SectionID, (void *)return_value); in allocateCodeSection()
600 unsigned SectionID, in allocateDataSection() argument
606 …uint8_t *return_value = m_default_mm_ap->allocateDataSection(Size, Alignment, SectionID, SectionNa… in allocateDataSection()
616 SectionID, in allocateDataSection()
621 (uint64_t)Size, Alignment, SectionID, (void *)return_value); in allocateDataSection()
/NextBSD/contrib/llvm/lib/ExecutionEngine/Orc/
HDOrcMCJITReplacement.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()
/NextBSD/contrib/llvm/include/llvm-c/
HDExecutionEngine.h180 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
183 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Expression/
HDIRExecutionUnit.h237 unsigned SectionID,
259 unsigned SectionID,
/NextBSD/contrib/llvm/tools/llvm-rtdyld/
HDllvm-rtdyld.cpp140 unsigned SectionID,
143 unsigned SectionID, StringRef SectionName,
182 unsigned SectionID, in allocateCodeSection() argument
191 unsigned SectionID, in allocateDataSection() argument