Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.cpp36 if (Obj.getSections().empty()) in getNextRVA()
38 const Section &Last = Obj.getSections().back(); in getNextRVA()
135 for (const coff::Section &Section : O.getSections()) { in dumpSection()
H A DCOFFObject.h125 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
H A DCOFFReader.cpp87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
/freebsd/contrib/llvm-project/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 DInputSection.cpp150 InputSectionBase *const &relSec = f->getSections()[relSecIdx]; in relsOrRelas()
278 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()
383 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()
395 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
H A DInputFiles.h83 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
H A DRelocations.cpp606 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
1650 for (InputSectionBase *s : f->getSections()) { in scanRelocations()
H A DOutputSections.cpp610 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
H A DWriter.cpp252 for (auto [i, sec] : llvm::enumerate(sym.file->getSections())) in demoteDefined()
400 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
H A DDriver.cpp3041 for (InputSectionBase *s : f->getSections()) { in link()
3051 for (InputSectionBase *s : f->getSections()) in link()
H A DInputFiles.cpp505 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
H A DSyntheticSections.cpp3358 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()
3950 for (InputSectionBase *sec : file->getSections()) { in splitSections()
/freebsd/contrib/llvm-project/lld/MachO/
H A DOutputSegment.h47 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
H A DMapFile.cpp198 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
222 for (const OutputSection *osec : seg->getSections()) { in writeMapFile()
H A DWriter.cpp250 for (const OutputSection *osec : seg->getSections()) { in writeTo()
965 for (const OutputSection *osec : seg->getSections()) in sortSegmentsAndSections()
969 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()
1080 for (OutputSection *osec : seg->getSections()) { in finalizeAddresses()
1142 for (OutputSection *osec : seg->getSections()) { in assignAddresses()
1175 append_range(osecs, seg->getSections()); in writeSections()
H A DRelocations.cpp70 const std::vector<OutputSection *> &sections = seg->getSections(); in offsetToInputSection()
H A DSyntheticSections.cpp150 for (const OutputSection *osec : seg->getSections()) { in writeTo()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp360 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()
527 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()
550 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in initProgramHeaders()
769 SHeaders.resize(Doc.getSections().size()); in initSectionHeaders()
799 bool IsFirstUndefSection = Sec == Doc.getSections().front(); in initSectionHeaders()
1933 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()
1935 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()
1958 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()
2013 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DLoongArch.cpp222 for (const auto *sec : f->getSections()) in inputFileHasCode()
H A DAArch64.cpp1139 for (InputSectionBase *section : file->getSections()) { in createTaggedSymbols()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h738 std::vector<Section *> getSections() { in getSections() function