Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp144 section_map SectionMap; member in __anon7d37be940111::WinCOFFObjectWriter
162 SectionMap.clear(); in reset()
324 SectionMap[&MCSec] = Section; in defineSection()
628 COFFSection *Sec = SectionMap[&MCSec]; in writeSection()
721 assert(SectionMap.find(MCSec) != SectionMap.end() && in recordRelocation()
724 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
758 SectionMap.find(TargetSection) != SectionMap.end() && in recordRelocation()
760 Reloc.Symb = SectionMap[TargetSection]->Symbol; in recordRelocation()
901 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
1025 assert(SectionMap.count(AssocMCSec)); in writeObject()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp230 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
243 if (auto TextSIDOrErr = findOrEmitSection(Obj, Section, true, SectionMap)) in finalizeLoad()
249 SectionMap)) in finalizeLoad()
255 SectionMap)) in finalizeLoad()
260 auto I = SectionMap.find(Section); in finalizeLoad()
261 if (I != SectionMap.end()) in finalizeLoad()
H A DRuntimeDyldCheckerImpl.h39 typedef std::map<std::string, SectionAddressInfo> SectionMap; typedef
40 typedef std::map<std::string, SectionMap> StubMap;
H A DRuntimeDyldMachO.h160 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldELF.h185 ObjSectionToIDMap &SectionMap) override;
H A DRuntimeDyldELF.cpp1843 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
1873 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
1874 assert (i != SectionMap.end()); in finalizeLoad()
1884 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
H A DRuntimeDyldImpl.h568 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp63 SectionMap = SecMap; in setSectionMap()
153 if (SectionMap.empty()) in calculateSectionMapStreamSize()
155 return sizeof(SecMapHeader) + sizeof(SecMapEntry) * SectionMap.size(); in calculateSectionMapStreamSize()
416 if (!SectionMap.empty()) { in commit()
417 ulittle16_t Size = static_cast<ulittle16_t>(SectionMap.size()); in commit()
421 if (auto EC = Writer.writeArray(SectionMap)) in commit()
H A DDbiStream.cpp211 return SectionMap; in getSectionMap()
345 if (auto EC = SMReader.readArray(SectionMap, Header->SecCount)) in initializeSectionMapData()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DAArch64ErrataFix.h43 std::map<InputSection *, std::vector<const Defined *>> SectionMap; variable
H A DAArch64ErrataFix.cpp456 SectionMap[Sec].push_back(Def); in init()
463 for (auto &KV : SectionMap) { in init()
596 std::vector<const Defined *> &MapSyms = SectionMap[IS]; in patchInputSectionDescription()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h284 ObjSectionToIDMap &SectionMap) override { in finalizeLoad() argument
286 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h115 FixedStreamArray<SecMapEntry> SectionMap; variable
H A DDbiStreamBuilder.h137 ArrayRef<SecMapEntry> SectionMap; variable
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h122 extern llvm::cl::opt<bool> SectionMap;
H A DBytesOutputStyle.cpp144 if (opts::bytes::SectionMap) { in dump()
H A Dllvm-pdbutil.cpp400 cl::opt<bool> SectionMap("sm", cl::desc("Dump section map"), variable
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DPDB.cpp214 std::vector<pdb::SecMapEntry> SectionMap; member in __anon97f256dd0111::PDBLinker
1612 SectionMap = pdb::DbiStreamBuilder::createSectionMap(Sections); in addSections()
1613 DbiBuilder.setSectionMap(SectionMap); in addSections()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1140 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1149 unsigned &Entry = SectionMap[GV.getSection()]; in writeModuleInfo()
1153 Entry = SectionMap.size(); in writeModuleInfo()
1161 unsigned &Entry = SectionMap[F.getSection()]; in writeModuleInfo()
1165 Entry = SectionMap.size(); in writeModuleInfo()
1201 if (SectionMap.empty()) // Section. in writeModuleInfo()
1205 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1251 Vals.push_back(GV.hasSection() ? SectionMap[GV.getSection()] : 0); in writeModuleInfo()
1293 Vals.push_back(F.hasSection() ? SectionMap[F.getSection()] : 0); in writeModuleInfo()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2136 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
2144 SectionMap[Section].push_back(SCU); in emitDebugARanges()
2149 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
2155 for (auto &I : SectionMap) { in emitDebugARanges()
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp184 typedef std::map<const Section*, SectionExtraInfo> SectionMap; typedef in lld::mach_o::normalized::MachOFileLayout
227 SectionMap _sectInfo;