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.cpp195 for (const auto &S : Obj.getSections()) in finalizeStringTable()
277 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
280 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()
295 if (!Obj.getSections().empty()) { in finalize()
296 const Section &S = Obj.getSections().back(); in finalize()
362 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
387 for (const auto &S : Obj.getSections()) { in writeHeaders()
394 for (const auto &S : Obj.getSections()) { in writeSections()
485 for (const auto &S : Obj.getSections()) { in virtualAddressToFileAddress()
503 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.h126 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
H A DCOFFReader.cpp86 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
/freebsd/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp28 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()
29 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
H A DInputSection.cpp153 InputSectionBase *const &relSec = f->getSections()[relSecIdx]; in relsOrRelas()
288 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()
335 ArrayRef<InputSectionBase *> sections = file.getSections(); in operator <<()
415 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()
427 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
H A DInputFiles.h83 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
H A DOutputSections.cpp629 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
H A DRelocations.cpp579 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
1713 for (InputSectionBase *s : f->getSections()) { in scanRelocations()
H A DWriter.cpp265 for (auto [i, sec] : llvm::enumerate(sym.file->getSections())) in demoteDefined()
417 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
H A DDriver.cpp3347 for (InputSectionBase *s : f->getSections()) { in link()
3357 for (InputSectionBase *s : f->getSections()) in link()
H A DSyntheticSections.cpp3447 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()
4040 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.cpp196 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
237 for (const OutputSection *osec : seg->getSections()) { in writeMapFile()
H A DWriter.cpp249 for (const OutputSection *osec : seg->getSections()) { in writeTo()
994 for (const OutputSection *osec : seg->getSections()) in sortSegmentsAndSections()
998 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()
1109 for (OutputSection *osec : seg->getSections()) { in finalizeAddresses()
1171 for (OutputSection *osec : seg->getSections()) { in assignAddresses()
1204 append_range(osecs, seg->getSections()); in writeSections()
H A DRelocations.cpp95 const std::vector<OutputSection *> &sections = seg->getSections(); in offsetToInputSection()
H A DSyntheticSections.cpp149 for (const OutputSection *osec : seg->getSections()) { in writeTo()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DTargetImpl.h61 for (InputSectionBase *sb : f->getSections()) { in applyBranchToBranchOptImpl()
H A DAArch64.cpp1261 for (InputSectionBase *section : file->getSections()) { in createTaggedSymbols()
H A DLoongArch.cpp245 for (const auto *sec : f->getSections()) in inputFileHasCode()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp357 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()
524 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()
762 SHeaders.resize(Doc.getSections().size()); in initSectionHeaders()
792 bool IsFirstUndefSection = Sec == Doc.getSections().front(); in initSectionHeaders()
1960 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()
1962 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()
1985 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()
2040 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h754 std::vector<Section *> getSections() { in getSections() function