Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DWriter.cpp120 for (const auto &S : Obj.getSections()) in finalizeStringTable()
192 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
195 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()
210 if (!Obj.getSections().empty()) { in finalize()
211 const Section &S = Obj.getSections().back(); in finalize()
273 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
298 for (const auto &S : Obj.getSections()) { in writeHeaders()
305 for (const auto &S : Obj.getSections()) { in writeSections()
396 for (const auto &S : Obj.getSections()) { in virtualAddressToFileAddress()
414 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 DObject.h125 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
H A DReader.cpp87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp32 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()
33 for (auto it : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
H A DInputFiles.h80 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
H A DInputSection.cpp275 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()
390 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()
402 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
H A DOutputSections.cpp391 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
H A DRelocations.cpp698 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded) in maybeReportDiscarded()
769 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
H A DDriver.cpp2355 for (InputSectionBase *s : f->getSections()) in link()
2359 for (InputSectionBase *s : f->getSections()) in link()
H A DInputFiles.cpp318 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
H A DWriter.cpp690 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
H A DSyntheticSections.cpp2786 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DOutputSegment.h48 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
H A DMapFile.cpp136 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
H A DWriter.cpp247 for (const OutputSection *osec : seg->getSections()) { in writeTo()
889 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()
1030 for (OutputSection *osec : seg->getSections()) { in assignAddresses()
1060 for (const OutputSection *osec : seg->getSections()) in writeSections()
H A DSyntheticSections.cpp125 for (const OutputSection *osec : seg->getSections()) { in writeTo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp352 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()
519 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()
542 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()
1809 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()
1811 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()
1834 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()
1889 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h708 std::vector<Section *> getSections() { in getSections() function