Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp567 Rel.SectionID = 0; in findPPC64TOCSection()
582 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
660 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
1069 RelocationEntry REmovk_g2(SectionID, in resolveAArch64Branch()
1293 RelocationEntry RELo(SectionID, in processRelocationRef()
1320 SectionID == Reloc.SectionID) { in processRelocationRef()
1457 if (Value.SectionID == SectionID){ in processRelocationRef()
1469 (AbiVariant == 2 && Value.SectionID == SectionID)) { in processRelocationRef()
1474 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID) || in processRelocationRef()
1531 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID)) { in processRelocationRef()
[all …]
H A DRuntimeDyldImpl.h122 unsigned SectionID;
194 unsigned SectionID;
203 return SectionID == Other.SectionID && Offset == Other.Offset &&
208 if (SectionID != Other.SectionID)
209 return SectionID < Other.SectionID;
226 : Offset(Offset), SectionID(SectionID), Flags(Flags) {} in SymbolTableEntry()
236 unsigned SectionID = 0; variable
323 return Sections[SectionID].getLoadAddress(); in getSectionLoadAddress()
327 return Sections[SectionID].getAddress(); in getSectionAddress()
529 auto SectionID = KV.second.getSectionID(); in getSymbolTable() local
[all …]
H A DRuntimeDyld.cpp326 unsigned SectionID; in loadObjectImpl() local
329 SectionID = *SectionIDOrErr; in loadObjectImpl()
364 unsigned SectionID = 0; in loadObjectImpl() local
367 SectionID = *SectionIDOrErr; in loadObjectImpl()
664 unsigned SectionID = Sections.size(); in emitCommonSymbols() local
741 unsigned SectionID = Sections.size(); in emitSection() local
823 return SectionID; in emitSection()
832 unsigned SectionID = 0; in findOrEmitSection() local
835 SectionID = i->second; in findOrEmitSection()
838 SectionID = *SectionIDOrErr; in findOrEmitSection()
[all …]
H A DRuntimeDyldELF.h31 uint64_t SymOffset = 0, SID SectionID = 0);
43 bool resolveAArch64ShortBranch(unsigned SectionID, relocation_iterator RelI,
46 void resolveAArch64Branch(unsigned SectionID, const RelocationValueRef &Value,
102 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
113 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
122 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
126 …void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValu…
178 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
H A 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,
133 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
H A DRuntimeDyldMachO.cpp49 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
56 unsigned SectionID, relocation_iterator RelI, in processScatteredVANILLA() argument
65 SectionEntry &Section = Sections[SectionID]; in processScatteredVANILLA()
88 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
120 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
131 Value.SectionID = *SectionIDOrErr; in getRelocationValueRef()
151 const SectionEntry &Section = Sections[RE.SectionID]; in dumpRelocationToResolve()
155 dbgs() << "resolveRelocation Section: " << RE.SectionID in dumpRelocationToResolve()
H A DRuntimeDyldChecker.cpp839 unsigned SectionID = SectionInfo->SectionID; in getSectionAddr() local
843 getRTDyld().Sections[SectionID].getAddress())); in getSectionAddr()
845 Addr = getRTDyld().Sections[SectionID].getLoadAddress(); in getSectionAddr()
863 unsigned SectionID = SectionInfo->SectionID; in getStubAddrFor() local
878 getRTDyld().Sections[SectionID].getAddress()); in getStubAddrFor()
912 StringRef FilePath, unsigned SectionID) { in registerSection() argument
914 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerSection()
917 Stubs[FileName][SectionName].SectionID = SectionID; in registerSection()
921 StringRef FilePath, unsigned SectionID, in registerStubMap() argument
924 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerStubMap()
[all …]
H A DRuntimeDyldCheckerImpl.h36 uint64_t SectionID; member
68 void registerSection(StringRef FilePath, unsigned SectionID);
69 void registerStubMap(StringRef FilePath, unsigned SectionID,
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFThumb.h58 processRelocationRef(unsigned SectionID, in processRelocationRef() argument
82 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef()
100 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef()
126 SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef()
145 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef()
152 SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef()
161 RelocationEntry(SectionID, Offset, RelType, in processRelocationRef()
173 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
215 assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX && in resolveRelocation()
219 << RE.SectionID << '\n'); in resolveRelocation()
[all …]
H A DRuntimeDyldELFMips.cpp17 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
22 RE.SymOffset, RE.SectionID); in resolveRelocation()
25 RE.SymOffset, RE.SectionID); in resolveRelocation()
34 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation()
45 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation()
111 int64_t Addend, uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument
121 << " SID: " << format("%d", SectionID) in evaluateMIPS64Relocation()
268 int64_t Addend, uint64_t SymOffset, SID SectionID) { in resolveMIPSN32Relocation() argument
277 int64_t Addend, uint64_t SymOffset, SID SectionID) { in resolveMIPSN64Relocation() argument
292 SectionID); in resolveMIPSN64Relocation()
[all …]
H A DRuntimeDyldMachOARM.h52 bool isAddrTargetThumb(unsigned SectionID, uint64_t Offset) { in isAddrTargetThumb() argument
53 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset; in isAddrTargetThumb()
65 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
136 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
161 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
198 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
206 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
308 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation()
328 RE.SectionID, StubTargetAddr - Section.getAddress(), in processBranchRelocation()
334 addRelocationForSection(StubRE, Value.SectionID); in processBranchRelocation()
[all …]
H A 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 …]
H A DRuntimeDyldCOFFI386.h38 processRelocationRef(unsigned SectionID, in processRelocationRef() argument
63 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef()
83 LLVM_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()
191 assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX && in resolveRelocation()
195 << RE.SectionID << '\n'); in resolveRelocation()
196 writeBytesUnaligned(RE.SectionID, Target, 2); in resolveRelocation()
H A DRuntimeDyldCOFFX86_64.h88 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
145 generateRelocationStub(unsigned SectionID, StringRef TargetName, in generateRelocationStub() argument
149 SectionEntry &Section = Sections[SectionID]; in generateRelocationStub()
152 OriginalRelValueRef.SectionID = SectionID; in generateRelocationStub()
179 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub()
191 processRelocationRef(unsigned SectionID, in processRelocationRef() argument
212 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
234 SectionID, TargetName, Offset, RelType, Addend, Stubs); in processRelocationRef()
249 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef()
254 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
[all …]
H A 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
138 Section, SectionID); in finalizeSection()
144 processSECTDIFFRelocation(unsigned SectionID, relocation_iterator RelI, in processSECTDIFFRelocation() argument
152 SectionEntry &Section = Sections[SectionID]; in processSECTDIFFRelocation()
[all …]
H A DRuntimeDyldMachOAArch64.h36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
274 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
306 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
350 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
359 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
437 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
448 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
465 RelocationEntry GOTRE(RE.SectionID, StubOffset, in processGOTRelocation()
471 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
475 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, Offset, in processGOTRelocation()
[all …]
H A DRuntimeDyldELFMips.h36 uint64_t SymOffset, SID SectionID);
39 uint64_t SymOffset, SID SectionID);
58 uint64_t SymOffset, SID SectionID);
/freebsd-12.1/contrib/llvm/lib/Object/
H A DSymbolSize.cpp21 if (A->SectionID != B->SectionID) in compareAddress()
22 return A->SectionID < B->SectionID ? -1 : 1; in compareAddress()
/freebsd-12.1/contrib/llvm/tools/lli/
H A DRemoteJITUtils.h92 unsigned SectionID, in allocateCodeSection() argument
94 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection()
98 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
100 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp330 unsigned SectionID,
334 unsigned SectionID, StringRef SectionName,
363 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
365 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
370 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument
372 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h65 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
104 unsigned SectionID,
111 unsigned SectionID,
H A DSectionMemoryManager.h120 unsigned SectionID,
129 unsigned SectionID, StringRef SectionName,
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DExecutionEngine.h156 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
159 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DIRExecutionUnit.cpp596 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
601 Size, Alignment, SectionID, SectionName); in allocateCodeSection()
607 Alignment, SectionID, SectionName.str().c_str())); in allocateCodeSection()
612 (uint64_t)Size, Alignment, SectionID, (void *)return_value); in allocateCodeSection()
627 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument
632 Size, Alignment, SectionID, SectionName, IsReadOnly); in allocateDataSection()
640 Alignment, SectionID, SectionName.str().c_str())); in allocateDataSection()
644 (uint64_t)Size, Alignment, SectionID, (void *)return_value); in allocateDataSection()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.h69 unsigned SectionID, in allocateCodeSection() argument
72 ClientMM->allocateCodeSection(Size, Alignment, SectionID, in allocateCodeSection()
79 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
81 uint8_t *Addr = ClientMM->allocateDataSection(Size, Alignment, SectionID, in allocateDataSection()

12