Home
last modified time | relevance | path

Searched refs:SectionMap (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp77 SectionMap = DenseMap<ssize_t, Section *>(Sections.size()); in updateSections()
80 SectionMap[S.UniqueId] = &S; in updateSections()
86 return SectionMap.lookup(UniqueId); in findSection()
H A DCOFFObject.h145 DenseMap<ssize_t, Section *> SectionMap; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp149 if (SectionMap.empty()) in calculateSectionMapStreamSize()
151 return sizeof(SecMapHeader) + sizeof(SecMapEntry) * SectionMap.size(); in calculateSectionMapStreamSize()
356 SectionMap.emplace_back(); in createSectionMap()
357 auto &Entry = SectionMap.back(); in createSectionMap()
415 if (!SectionMap.empty()) { in commit()
416 ulittle16_t Size = static_cast<ulittle16_t>(SectionMap.size()); in commit()
420 if (auto EC = Writer.writeArray(ArrayRef(SectionMap))) in commit()
H A DDbiStream.cpp218 return SectionMap; in getSectionMap()
371 if (auto EC = SMReader.readArray(SectionMap, Header->SecCount)) in initializeSectionMapData()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp229 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
245 if (auto TextSIDOrErr = findOrEmitSection(Obj, Section, true, SectionMap)) in finalizeLoad()
251 SectionMap)) in finalizeLoad()
257 SectionMap)) in finalizeLoad()
262 auto I = SectionMap.find(Section); in finalizeLoad()
263 if (I != SectionMap.end()) in finalizeLoad()
H A DRuntimeDyldMachO.h159 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldELF.h231 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldELF.cpp2323 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
2387 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
2388 assert(i != SectionMap.end()); in finalizeLoad()
2398 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
H A DRuntimeDyldImpl.h587 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp469 SectionMap.clear(); in reset()
571 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding()
576 SectionMap[MCSec] = DwarfSec.get(); in executePostLayoutBinding()
615 assert(SectionMap.contains(ContainingCsect) && in executePostLayoutBinding()
617 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding()
669 return SectionMap[ContainingSect]->Address; in recordRelocation()
688 assert(SectionMap.contains(SymASec) && in recordRelocation()
752 assert(SectionMap.contains(RelocationSec) && in recordRelocation()
754 SectionMap[RelocationSec]->Relocations.push_back(Reloc); in recordRelocation()
764 assert(SectionMap.contains(SymBSec) && in recordRelocation()
[all …]
H A DWinCOFFObjectWriter.cpp145 section_map SectionMap; member in __anon1ceee7e50111::WinCOFFWriter
355 SectionMap[&MCSec] = Section; in defineSection()
774 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
832 SectionMap.clear(); in reset()
880 assert(SectionMap.contains(MCSec) && in recordRelocation()
883 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
917 SectionMap.contains(TargetSection) && in recordRelocation()
919 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
1088 assert(SectionMap.count(AssocMCSec)); in writeObject()
1089 COFFSection *AssocSec = SectionMap[AssocMCSec]; in writeObject()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h300 ObjSectionToIDMap &SectionMap) override { in finalizeLoad() argument
302 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h124 FixedStreamArray<SecMapEntry> SectionMap; variable
H A DDbiStreamBuilder.h131 std::vector<SecMapEntry> SectionMap; variable
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h850 using SectionMap = DenseMap<StringRef, std::unique_ptr<Section>>;
911 Section &operator()(SectionMap::value_type &KV) const { return *KV.second; } in operator()
915 const Section &operator()(const SectionMap::value_type &KV) const { in operator()
927 mapped_iterator<SectionMap::iterator, GetSectionMapEntryValue>;
929 mapped_iterator<SectionMap::const_iterator, GetSectionMapEntryConstValue>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1181 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1197 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1201 Entry = SectionMap.size(); in writeModuleInfo()
1209 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1213 Entry = SectionMap.size(); in writeModuleInfo()
1248 if (SectionMap.empty()) // Section. in writeModuleInfo()
1252 Log2_32_Ceil(SectionMap.size() + 1))); in writeModuleInfo()
1275 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1308 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h122 extern llvm::cl::opt<bool> SectionMap;
H A DBytesOutputStyle.cpp143 if (opts::bytes::SectionMap) { in dump()
H A Dllvm-pdbutil.cpp404 cl::opt<bool> SectionMap("sm", cl::desc("Dump section map"), variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1335 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1348 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1352 Entry = SectionMap.size(); in writeModuleInfo()
1360 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1364 Entry = SectionMap.size(); in writeModuleInfo()
1400 if (SectionMap.empty()) // Section. in writeModuleInfo()
1404 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1450 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1499 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2993 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
3001 SectionMap[Section].push_back(SCU); in emitDebugARanges()
3006 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
3012 for (auto &I : SectionMap) { in emitDebugARanges()