Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp255 DenseMap<const MCSectionXCOFF *, XCOFFSection *> SectionMap; member in __anon0367a1100111::XCOFFObjectWriter
404 SectionMap.clear(); in reset()
491 assert(SectionMap.find(MCSec) == SectionMap.end() && in executePostLayoutBinding()
506 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding()
511 SectionMap[MCSec] = DwarfSec.get(); in executePostLayoutBinding()
535 SectionMap[ContainingCsect] = &UndefinedCsects.back(); in executePostLayoutBinding()
550 assert(SectionMap.find(ContainingCsect) != SectionMap.end() && in executePostLayoutBinding()
552 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding()
600 return SectionMap[ContainingSect]->Address; in recordRelocation()
604 return SectionMap[ContainingSect]->Address + Layout.getSymbolOffset(*Sym); in recordRelocation()
[all …]
H A DWinCOFFObjectWriter.cpp149 section_map SectionMap; member in __anona3bc21060111::WinCOFFObjectWriter
170 SectionMap.clear(); in reset()
335 SectionMap[&MCSec] = Section; in defineSection()
389 Sec = SectionMap[Base->getFragment()->getParent()]; in DefineSymbol()
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()
758 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
960 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
[all …]
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp148 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(ArrayRef(SectionMap))) in commit()
H A DDbiStream.cpp218 return SectionMap; in getSectionMap()
371 if (auto EC = SMReader.readArray(SectionMap, Header->SecCount)) in initializeSectionMapData()
/openbsd-src/gnu/llvm/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.cpp2317 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
2381 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
2382 assert(i != SectionMap.end()); in finalizeLoad()
2392 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
H A DRuntimeDyldImpl.h581 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h293 ObjSectionToIDMap &SectionMap) override { in finalizeLoad() argument
295 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h124 FixedStreamArray<SecMapEntry> SectionMap; variable
H A DDbiStreamBuilder.h131 std::vector<SecMapEntry> SectionMap; variable
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1192 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1208 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1212 Entry = SectionMap.size(); in writeModuleInfo()
1220 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1224 Entry = SectionMap.size(); in writeModuleInfo()
1259 if (SectionMap.empty()) // Section. in writeModuleInfo()
1263 Log2_32_Ceil(SectionMap.size() + 1))); in writeModuleInfo()
1286 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1319 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h123 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
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1296 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1309 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1313 Entry = SectionMap.size(); in writeModuleInfo()
1321 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1325 Entry = SectionMap.size(); in writeModuleInfo()
1361 if (SectionMap.empty()) // Section. in writeModuleInfo()
1365 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1411 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1459 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2949 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
2957 SectionMap[Section].push_back(SCU); in emitDebugARanges()
2962 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
2968 for (auto &I : SectionMap) { in emitDebugARanges()