/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | DbiStreamBuilder.cpp | 149 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 D | DbiStream.cpp | 218 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 D | COFFObject.cpp | 77 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 D | COFFObject.h | 145 DenseMap<ssize_t, Section *> SectionMap; member
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldMachO.cpp | 229 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 D | RuntimeDyldMachO.h | 159 ObjSectionToIDMap &SectionMap) override;
|
H A D | RuntimeDyldELF.h | 231 ObjSectionToIDMap &SectionMap) override;
|
H A D | RuntimeDyldELF.cpp | 2328 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 D | RuntimeDyldImpl.h | 587 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | XCOFFObjectWriter.cpp | 311 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 D | WinCOFFObjectWriter.cpp | 143 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 D | RuntimeDyldCOFFX86_64.h | 300 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 D | DbiStream.h | 124 FixedStreamArray<SecMapEntry> SectionMap; variable
|
H A D | DbiStreamBuilder.h | 131 std::vector<SecMapEntry> SectionMap; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 851 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 D | DXILBitcodeWriter.cpp | 1180 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 D | llvm-pdbutil.h | 122 extern llvm::cl::opt<bool> SectionMap;
|
H A D | BytesOutputStyle.cpp | 143 if (opts::bytes::SectionMap) { in dump()
|
H A D | llvm-pdbutil.cpp | 404 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 D | BitcodeWriter.cpp | 1427 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 D | DwarfDebug.cpp | 2997 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()
|