| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 345 SectionMap.clear(); in reset() 430 assert(SectionMap.find(MCSec) == SectionMap.end() && in executePostLayoutBinding() 445 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding() 450 SectionMap[MCSec] = DwarfSec.get(); in executePostLayoutBinding() 489 assert(SectionMap.find(ContainingCsect) != SectionMap.end() && in executePostLayoutBinding() 491 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding() 539 return SectionMap[ContainingSect]->Address; in recordRelocation() 562 assert(SectionMap.find(SymASec) != SectionMap.end() && in recordRelocation() 596 assert(SectionMap.find(RelocationSec) != SectionMap.end() && in recordRelocation() 598 SectionMap[RelocationSec]->Relocations.push_back(Reloc); in recordRelocation() [all …]
|
| H A D | WinCOFFObjectWriter.cpp | 149 section_map SectionMap; member in __anon93f2c7df0111::WinCOFFObjectWriter 170 SectionMap.clear(); in reset() 335 SectionMap[&MCSec] = Section; in defineSection() 619 COFFSection *Sec = SectionMap[&MCSec]; in writeSection() 719 assert(SectionMap.find(MCSec) != SectionMap.end() && in recordRelocation() 722 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation() 756 SectionMap.find(TargetSection) != SectionMap.end() && in recordRelocation() 960 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets() 1085 assert(SectionMap.count(AssocMCSec)); in writeObject() 1086 COFFSection *AssocSec = SectionMap[AssocMCSec]; in writeObject() [all …]
|
| /llvm-project-15.0.7/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 | 146 DenseMap<ssize_t, Section *> SectionMap; member
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiStreamBuilder.cpp | 148 if (SectionMap.empty()) in calculateSectionMapStreamSize() 150 return sizeof(SecMapHeader) + sizeof(SecMapEntry) * SectionMap.size(); in calculateSectionMapStreamSize() 355 SectionMap.emplace_back(); in createSectionMap() 356 auto &Entry = SectionMap.back(); in createSectionMap() 413 if (!SectionMap.empty()) { in commit() 414 ulittle16_t Size = static_cast<ulittle16_t>(SectionMap.size()); in commit() 418 if (auto EC = Writer.writeArray(makeArrayRef(SectionMap))) in commit()
|
| H A D | DbiStream.cpp | 218 return SectionMap; in getSectionMap() 371 if (auto EC = SMReader.readArray(SectionMap, Header->SecCount)) in initializeSectionMapData()
|
| /llvm-project-15.0.7/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 | 197 ObjSectionToIDMap &SectionMap) override;
|
| H A D | RuntimeDyldELF.cpp | 2296 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument 2328 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad() 2329 assert (i != SectionMap.end()); in finalizeLoad() 2339 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
|
| H A D | RuntimeDyldImpl.h | 577 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFX86_64.h | 293 ObjSectionToIDMap &SectionMap) override { in finalizeLoad() argument 295 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | DbiStream.h | 124 FixedStreamArray<SecMapEntry> SectionMap; variable
|
| H A D | DbiStreamBuilder.h | 132 std::vector<SecMapEntry> SectionMap; variable
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 1202 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local 1215 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo() 1219 Entry = SectionMap.size(); in writeModuleInfo() 1227 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo() 1231 Entry = SectionMap.size(); in writeModuleInfo() 1266 if (SectionMap.empty()) // Section. in writeModuleInfo() 1270 Log2_32_Ceil(SectionMap.size() + 1))); in writeModuleInfo() 1293 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo() 1326 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.h | 124 extern llvm::cl::opt<bool> SectionMap;
|
| H A D | BytesOutputStyle.cpp | 143 if (opts::bytes::SectionMap) { in dump()
|
| H A D | llvm-pdbutil.cpp | 406 cl::opt<bool> SectionMap("sm", cl::desc("Dump section map"), variable
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1257 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local 1270 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo() 1274 Entry = SectionMap.size(); in writeModuleInfo() 1282 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo() 1286 Entry = SectionMap.size(); in writeModuleInfo() 1322 if (SectionMap.empty()) // Section. in writeModuleInfo() 1326 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo() 1372 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo() 1420 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 2913 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local 2921 SectionMap[Section].push_back(SCU); in emitDebugARanges() 2926 SectionMap[nullptr].push_back(SCU); in emitDebugARanges() 2932 for (auto &I : SectionMap) { in emitDebugARanges()
|