• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/

Lines Matching refs:SectionID

147     // symbol for the relocation is located.  The SectionID in the relocation
305 unsigned SectionID = AbsoluteSymbolSection;
308 << " SID: " << SectionID
313 SymbolTableEntry(SectionID, Addr, *JITSymFlags);
334 unsigned SectionID;
337 SectionID = *SectionIDOrErr;
342 << " SID: " << SectionID
347 SymbolTableEntry(SectionID, SectOffset, *JITSymFlags);
377 unsigned SectionID = 0;
380 SectionID = *SectionIDOrErr;
384 LLVM_DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n");
387 if (auto IOrErr = processRelocationRef(SectionID, I, Obj, LocalSections, Stubs))
396 StringRef SectionName = Sections[SectionID].getName();
404 NotifyStubEmitted(FileName, SectionName, VR.SymbolName, SectionID,
413 if (GSTEntry.getSectionID() == VR.SectionID &&
415 NotifyStubEmitted(FileName, SectionName, SymbolName, SectionID,
738 unsigned SectionID = Sections.size();
739 uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, SectionID,
748 LLVM_DEBUG(dbgs() << "emitCommonSection SectionID: " << SectionID
777 SymbolTableEntry(SectionID, Offset, std::move(*JITSymFlags));
820 unsigned SectionID = Sections.size();
850 Addr = IsCode ? MemMgr.allocateCodeSection(Allocate, Alignment, SectionID,
852 : MemMgr.allocateDataSection(Allocate, Alignment, SectionID,
875 LLVM_DEBUG(dbgs() << "emitSection SectionID: " << SectionID << " Name: "
887 dbgs() << "emitSection SectionID: " << SectionID << " Name: " << Name
900 return SectionID;
909 unsigned SectionID = 0;
912 SectionID = i->second;
915 SectionID = *SectionIDOrErr;
918 LocalSections[Section] = SectionID;
920 return SectionID;
924 unsigned SectionID) {
925 Relocations[SectionID].push_back(RE);
1055 void RuntimeDyldImpl::reassignSectionAddress(unsigned SectionID,
1068 dbgs() << "Reassigning address for section " << SectionID << " ("
1069 << Sections[SectionID].getName() << "): "
1070 << format("0x%016" PRIx64, Sections[SectionID].getLoadAddress())
1072 Sections[SectionID].setLoadAddress(Addr);
1080 if (Sections[RE.SectionID].getAddress() == nullptr)
1378 void RuntimeDyld::reassignSectionAddress(unsigned SectionID, uint64_t Addr) {
1379 Dyld->reassignSectionAddress(SectionID, Addr);
1402 StringRef RuntimeDyld::getSectionContent(unsigned SectionID) const {
1404 return Dyld->getSectionContent(SectionID);
1407 uint64_t RuntimeDyld::getSectionLoadAddress(unsigned SectionID) const {
1409 return Dyld->getSectionLoadAddress(SectionID);