Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp165 DenseMap<const MCSectionXCOFF *, ControlSection *> SectionMap; member in __anondc5f94440111::XCOFFObjectWriter
266 SectionMap.clear(); in reset()
352 assert(SectionMap.find(MCSec) == SectionMap.end() && in executePostLayoutBinding()
364 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding()
378 SectionMap[ContainingCsect] = &UndefinedCsects.back(); in executePostLayoutBinding()
393 assert(SectionMap.find(ContainingCsect) != SectionMap.end() && in executePostLayoutBinding()
396 SectionMap[ContainingCsect]->Syms.emplace_back(XSym); in executePostLayoutBinding()
428 return SectionMap[ContainingCsect]->Address + in recordRelocation()
448 assert(SectionMap.find(SymASec) != SectionMap.end() && in recordRelocation()
465 const int64_t TOCEntryOffset = SectionMap[SymASec]->Address - in recordRelocation()
[all …]
H A DWinCOFFObjectWriter.cpp146 section_map SectionMap; member in __anon9a7db13a0111::WinCOFFObjectWriter
168 SectionMap.clear(); in reset()
331 SectionMap[&MCSec] = Section; in defineSection()
371 Sec = SectionMap[Base->getFragment()->getParent()]; in DefineSymbol()
638 COFFSection *Sec = SectionMap[&MCSec]; in writeSection()
738 assert(SectionMap.find(MCSec) != SectionMap.end() && in recordRelocation()
741 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
775 SectionMap.find(TargetSection) != SectionMap.end() && in recordRelocation()
777 Reloc.Symb = SectionMap[TargetSection]->Symbol; in recordRelocation()
964 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp149 if (SectionMap.empty()) in calculateSectionMapStreamSize()
151 return sizeof(SecMapHeader) + sizeof(SecMapEntry) * SectionMap.size(); in calculateSectionMapStreamSize()
358 SectionMap.emplace_back(); in createSectionMap()
359 auto &Entry = SectionMap.back(); in createSectionMap()
416 if (!SectionMap.empty()) { in commit()
417 ulittle16_t Size = static_cast<ulittle16_t>(SectionMap.size()); in commit()
421 if (auto EC = Writer.writeArray(makeArrayRef(SectionMap))) in commit()
H A DDbiStream.cpp220 return SectionMap; in getSectionMap()
373 if (auto EC = SMReader.readArray(SectionMap, Header->SecCount)) in initializeSectionMapData()
/netbsd-src/external/apache2/llvm/dist/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.h185 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldELF.cpp1924 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
1956 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
1957 assert (i != SectionMap.end()); in finalizeLoad()
1967 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
H A DRuntimeDyldImpl.h577 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
H A DObject.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 DObject.h145 DenseMap<ssize_t, Section *> SectionMap; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h293 ObjSectionToIDMap &SectionMap) override { in finalizeLoad() argument
295 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h122 FixedStreamArray<SecMapEntry> SectionMap; variable
H A DDbiStreamBuilder.h134 std::vector<SecMapEntry> SectionMap; variable
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h121 extern llvm::cl::opt<bool> SectionMap;
H A DBytesOutputStyle.cpp143 if (opts::bytes::SectionMap) { in dump()
H A Dllvm-pdbutil.cpp399 cl::opt<bool> SectionMap("sm", cl::desc("Dump section map"), variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1226 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1239 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1243 Entry = SectionMap.size(); in writeModuleInfo()
1251 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1255 Entry = SectionMap.size(); in writeModuleInfo()
1291 if (SectionMap.empty()) // Section. in writeModuleInfo()
1295 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1341 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1387 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2843 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
2851 SectionMap[Section].push_back(SCU); in emitDebugARanges()
2856 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
2862 for (auto &I : SectionMap) { in emitDebugARanges()