Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp122 for (const auto &S : Obj.getSections()) in finalizeStringTable()
199 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
202 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()
217 if (!Obj.getSections().empty()) { in finalize()
218 const Section &S = Obj.getSections().back(); in finalize()
284 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
309 for (const auto &S : Obj.getSections()) { in writeHeaders()
316 for (const auto &S : Obj.getSections()) { in writeSections()
407 for (const auto &S : Obj.getSections()) { in virtualAddressToFileAddress()
425 for (const auto &S : Obj.getSections()) { in patchDebugDirectory()
[all …]
H A DCOFFObjcopy.cpp35 if (Obj.getSections().empty()) in getNextRVA()
37 const Section &Last = Obj.getSections().back(); in getNextRVA()
H A DCOFFObject.h125 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
H A DCOFFReader.cpp87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
/openbsd/gnu/llvm/lld/ELF/
H A DDWARF.cpp31 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()
32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
H A DInputFiles.h81 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
H A DInputSection.cpp241 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()
336 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()
348 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
H A DRelocations.cpp503 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded) in maybeReportDiscarded()
584 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
1547 for (InputSectionBase *s : f->getSections()) { in scanRelocations()
H A DOutputSections.cpp562 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
H A DDriver.cpp2767 for (InputSectionBase *s : f->getSections()) { in link()
2777 for (InputSectionBase *s : f->getSections()) in link()
H A DInputFiles.cpp453 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
H A DSyntheticSections.cpp2714 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()
3313 for (InputSectionBase *sec : file->getSections()) { in splitSections()
H A DWriter.cpp622 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
/openbsd/gnu/llvm/lld/MachO/
H A DOutputSegment.h47 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
H A DMapFile.cpp181 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
192 for (const OutputSection *osec : seg->getSections()) { in writeMapFile()
H A DRelocations.cpp60 const std::vector<OutputSection *> &sections = seg->getSections(); in offsetToInputSection()
H A DWriter.cpp251 for (const OutputSection *osec : seg->getSections()) { in writeTo()
940 for (const OutputSection *osec : seg->getSections()) in sortSegmentsAndSections()
944 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()
1057 for (OutputSection *osec : seg->getSections()) { in finalizeAddresses()
1120 for (OutputSection *osec : seg->getSections()) { in assignAddresses()
1151 append_range(osecs, seg->getSections()); in writeSections()
H A DSyntheticSections.cpp156 for (const OutputSection *osec : seg->getSections()) { in writeTo()
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp353 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()
520 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()
543 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in initProgramHeaders()
762 SHeaders.resize(Doc.getSections().size()); in initSectionHeaders()
792 bool IsFirstUndefSection = Sec == Doc.getSections().front(); in initSectionHeaders()
1813 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()
1815 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()
1838 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()
1893 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
/openbsd/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h712 std::vector<Section *> getSections() { in getSections() function