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.cpp78 SectionMap = DenseMap<ssize_t, Section *>(Sections.size()); in updateSections()
81 SectionMap[S.UniqueId] = &S; in updateSections()
87 return SectionMap.lookup(UniqueId); in findSection()
H A DCOFFObject.h147 DenseMap<ssize_t, Section *> SectionMap; member
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp228 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
244 if (auto TextSIDOrErr = findOrEmitSection(Obj, Section, true, SectionMap)) in finalizeLoad()
250 SectionMap)) in finalizeLoad()
256 SectionMap)) in finalizeLoad()
261 auto I = SectionMap.find(Section); in finalizeLoad()
262 if (I != SectionMap.end()) in finalizeLoad()
H A DRuntimeDyldMachO.h154 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldELF.h250 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldImpl.h592 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
H A DRuntimeDyldELF.cpp2725 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
2789 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
2790 assert(i != SectionMap.end()); in finalizeLoad()
2800 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp309 DenseMap<const MCSectionXCOFF *, XCOFFSection *> SectionMap; member in __anon43032e790111::XCOFFWriter
467 SectionMap.clear(); in reset()
560 assert(!SectionMap.contains(MCSec) && "Cannot add a section twice."); in executePostLayoutBinding()
574 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding()
579 SectionMap[MCSec] = DwarfSec.get(); in executePostLayoutBinding()
606 SectionMap[ContainingCsect] = &UndefinedCsects.back(); in executePostLayoutBinding()
621 assert(SectionMap.contains(ContainingCsect) && in executePostLayoutBinding()
623 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding()
680 return SectionMap[ContainingSect]->Address; in recordRelocation()
684 return SectionMap[ContainingSect]->Address + Asm->getSymbolOffset(*Sym); in recordRelocation()
[all …]
H A DWinCOFFObjectWriter.cpp142 section_map SectionMap; member in llvm::WinCOFFWriter
325 SectionMap[&MCSec] = Section; in defineSection()
377 Sec = SectionMap[MCSec]; in defineSymbol()
741 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
802 SectionMap.clear(); in reset()
854 assert(SectionMap.contains(MCSec) && in recordRelocation()
857 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
887 SectionMap.contains(TargetSection) && in recordRelocation()
889 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
1058 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() argument
302 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h127 FixedStreamArray<SecMapEntry> SectionMap; variable
H A DDbiStreamBuilder.h135 std::vector<SecMapEntry> SectionMap; variable
/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/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h881 using SectionMap = DenseMap<StringRef, std::unique_ptr<Section>>;
942 Section &operator()(SectionMap::value_type &KV) const { return *KV.second; } in operator()
946 const Section &operator()(const SectionMap::value_type &KV) const { in operator()
958 mapped_iterator<SectionMap::iterator, GetSectionMapEntryValue>;
960 mapped_iterator<SectionMap::const_iterator, GetSectionMapEntryConstValue>;
/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.cpp406 cl::opt<bool> SectionMap("sm", cl::desc("Dump section map"), variable
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1495 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1508 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1512 Entry = SectionMap.size(); in writeModuleInfo()
1520 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1524 Entry = SectionMap.size(); in writeModuleInfo()
1560 if (SectionMap.empty()) // Section. in writeModuleInfo()
1564 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1610 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1659 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp3446 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
3453 SectionMap[Section].push_back(SCU); in emitDebugARanges()
3458 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
3464 for (auto &I : SectionMap) { in emitDebugARanges()