Home
last modified time | relevance | path

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

/freebsd/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/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/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.cpp2328 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
2392 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
2393 assert(i != SectionMap.end()); in finalizeLoad()
2403 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
H A DRuntimeDyldImpl.h587 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp311 DenseMap<const MCSectionXCOFF *, XCOFFSection *> SectionMap; member in __anon43032e790111::XCOFFObjectWriter
469 SectionMap.clear(); in reset()
562 assert(!SectionMap.contains(MCSec) && "Cannot add a section twice."); in executePostLayoutBinding()
576 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding()
581 SectionMap[MCSec] = DwarfSec.get(); in executePostLayoutBinding()
608 SectionMap[ContainingCsect] = &UndefinedCsects.back(); in executePostLayoutBinding()
623 assert(SectionMap.contains(ContainingCsect) && in executePostLayoutBinding()
625 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding()
683 return SectionMap[ContainingSect]->Address; in recordRelocation()
687 return SectionMap[ContainingSect]->Address + Asm.getSymbolOffset(*Sym); in recordRelocation()
[all …]
H A DWinCOFFObjectWriter.cpp143 section_map SectionMap; member in llvm::WinCOFFWriter
325 SectionMap[&MCSec] = Section; in defineSection()
378 Sec = SectionMap[MCSec]; in defineSymbol()
743 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
801 SectionMap.clear(); in reset()
847 assert(SectionMap.contains(MCSec) && in recordRelocation()
850 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
884 SectionMap.contains(TargetSection) && in recordRelocation()
886 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
1054 assert(SectionMap.count(AssocMCSec)); in writeObject()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h300 ObjSectionToIDMap &SectionMap) override { in finalizeLoad()
302 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
293 finalizeLoad(const object::ObjectFile & Obj,ObjSectionToIDMap & SectionMap) finalizeLoad() argument
/freebsd/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/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h851 using SectionMap = MapVector<StringRef, std::unique_ptr<Section>>;
912 Section &operator()(SectionMap::value_type &KV) const { return *KV.second; } in operator()
916 const Section &operator()(const SectionMap::value_type &KV) const { in operator()
928 mapped_iterator<SectionMap::iterator, GetSectionMapEntryValue>;
930 mapped_iterator<SectionMap::const_iterator, GetSectionMapEntryConstValue>;
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1180 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1196 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1200 Entry = SectionMap.size(); in writeModuleInfo()
1208 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1212 Entry = SectionMap.size(); in writeModuleInfo()
1247 if (SectionMap.empty()) // Section. in writeModuleInfo()
1251 Log2_32_Ceil(SectionMap.size() + 1))); in writeModuleInfo()
1274 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1307 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd/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"),
406 cl::opt<bool> SectionMap("sm", cl::desc("Dump section map"), global() variable
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1427 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1440 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1444 Entry = SectionMap.size(); in writeModuleInfo()
1452 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1456 Entry = SectionMap.size(); in writeModuleInfo()
1492 if (SectionMap.empty()) // Section. in writeModuleInfo()
1496 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1542 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1591 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2997 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
3004 SectionMap[Section].push_back(SCU); in emitDebugARanges()
3009 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
3015 for (auto &I : SectionMap) { in emitDebugARanges()