Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp287 SectionMap.clear(); in reset()
373 assert(SectionMap.find(MCSec) == SectionMap.end() && in executePostLayoutBinding()
385 SectionMap[MCSec] = &Group.back(); in executePostLayoutBinding()
414 assert(SectionMap.find(ContainingCsect) != SectionMap.end() && in executePostLayoutBinding()
416 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding()
451 return SectionMap[ContainingCsect]->Address + in recordRelocation()
471 assert(SectionMap.find(SymASec) != SectionMap.end() && in recordRelocation()
506 assert(SectionMap.find(RelocationSec) != SectionMap.end() && in recordRelocation()
508 SectionMap[RelocationSec]->Relocations.push_back(Reloc); in recordRelocation()
518 assert(SectionMap.find(SymBSec) != SectionMap.end() && in recordRelocation()
[all …]
H A DWinCOFFObjectWriter.cpp146 section_map SectionMap; member in __anon6e96ad630111::WinCOFFObjectWriter
168 SectionMap.clear(); in reset()
331 SectionMap[&MCSec] = Section; in defineSection()
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()
1089 assert(SectionMap.count(AssocMCSec)); in writeObject()
[all …]
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.cpp1927 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
1959 ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection); in finalizeLoad()
1960 assert (i != SectionMap.end()); in finalizeLoad()
1970 for (i = SectionMap.begin(), e = SectionMap.end(); i != e; ++i) { in finalizeLoad()
H A DRuntimeDyldImpl.h577 ObjSectionToIDMap &SectionMap) { in finalizeLoad() argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h293 ObjSectionToIDMap &SectionMap) override { in finalizeLoad() argument
295 for (const auto &SectionPair : SectionMap) { in finalizeLoad()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h122 FixedStreamArray<SecMapEntry> SectionMap; variable
H A DDbiStreamBuilder.h134 std::vector<SecMapEntry> SectionMap; variable
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1230 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() local
1243 unsigned &Entry = SectionMap[std::string(GV.getSection())]; in writeModuleInfo()
1247 Entry = SectionMap.size(); in writeModuleInfo()
1255 unsigned &Entry = SectionMap[std::string(F.getSection())]; in writeModuleInfo()
1259 Entry = SectionMap.size(); in writeModuleInfo()
1295 if (SectionMap.empty()) // Section. in writeModuleInfo()
1299 Log2_32_Ceil(SectionMap.size()+1))); in writeModuleInfo()
1345 Vals.push_back(GV.hasSection() ? SectionMap[std::string(GV.getSection())] in writeModuleInfo()
1391 Vals.push_back(F.hasSection() ? SectionMap[std::string(F.getSection())] in writeModuleInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2893 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap; in emitDebugARanges() local
2901 SectionMap[Section].push_back(SCU); in emitDebugARanges()
2906 SectionMap[nullptr].push_back(SCU); in emitDebugARanges()
2912 for (auto &I : SectionMap) { in emitDebugARanges()
/freebsd-13.1/contrib/llvm-project/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;