Home
last modified time | relevance | path

Searched refs:SectionIndexMap (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DELFObjectWriter.cpp186 const SectionIndexMapTy &SectionIndexMap,
198 const SectionIndexMapTy &SectionIndexMap,
212 void writeSection(const SectionIndexMapTy &SectionIndexMap,
633 const SectionIndexMapTy &SectionIndexMap, const RevGroupMapTy &RevGroupMap, in computeSymbolTable() argument
717 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
995 void ELFWriter::writeSection(const SectionIndexMapTy &SectionIndexMap, in writeSection() argument
1014 sh_info = SectionIndexMap.lookup(cast<MCSectionELF>(InfoSection)); in writeSection()
1041 sh_link = SectionIndexMap.lookup(Sec); in writeSection()
1052 const MCAsmLayout &Layout, const SectionIndexMapTy &SectionIndexMap, in writeSectionHeader() argument
1077 writeSection(SectionIndexMap, GroupSymbolIndex, Offsets.first, Size, in writeSectionHeader()
[all …]
H A DMachObjectWriter.cpp547 DenseMap<const MCSection*, uint8_t> SectionIndexMap; in computeSymbolTable() local
551 SectionIndexMap[&*it] = Index; in computeSymbolTable()
587 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
610 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp75 DenseMap<StringRef, int16_t> SectionIndexMap = { member in __anon861d44700111::XCOFFWriter
127 !SectionIndexMap[InitSections[I].SectionName]) { in initSectionHeader()
129 SectionIndexMap[InitSections[I].SectionName] = I + 1; in initSectionHeader()
670 if (!SectionIndexMap.count(*YamlSym.SectionName)) { in writeSymbols()
676 SectionIndexMap[*YamlSym.SectionName] != *YamlSym.SectionIndex) { in writeSymbols()
682 W.write<int16_t>(SectionIndexMap[*YamlSym.SectionName]); in writeSymbols()