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

/openbsd-current/gnu/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp122 for (const auto &S : Obj.getSections())
199 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size();
202 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size();
217 if (!Obj.getSections().empty()) {
218 const Section &S = Obj.getSections().back();
284 BigObjHeader.NumberOfSections = Obj.getSections().size();
309 for (const auto &S : Obj.getSections()) {
316 for (const auto &S : Obj.getSections()) {
407 for (const auto &S : Obj.getSections()) {
425 for (const auto &S : Obj.getSections()) {
[all...]
H A DCOFFObjcopy.cpp35 if (Obj.getSections().empty())
37 const Section &Last = Obj.getSections().back();
H A DCOFFObject.h125 ArrayRef<Section> getSections() const { return Sections; } function in struct:llvm::objcopy::coff::Object
H A DCOFFReader.cpp87 ArrayRef<Section> Sections = Obj.getSections();
/openbsd-current/gnu/llvm/lld/MachO/
H A DOutputSegment.h47 const std::vector<OutputSection *> &getSections() const { return sections; } function in class:lld::macho::OutputSegment
H A DRelocations.cpp60 const std::vector<OutputSection *> &sections = seg->getSections();
H A DMapFile.cpp181 for (OutputSection *osec : seg->getSections()) {
192 for (const OutputSection *osec : seg->getSections()) {
H A DWriter.cpp251 for (const OutputSection *osec : seg->getSections()) {
940 for (const OutputSection *osec : seg->getSections())
944 for (OutputSection *osec : seg->getSections()) {
1057 for (OutputSection *osec : seg->getSections()) {
1120 for (OutputSection *osec : seg->getSections()) {
1151 append_range(osecs, seg->getSections());
H A DSyntheticSections.cpp156 for (const OutputSection *osec : seg->getSections()) {
/openbsd-current/gnu/llvm/lld/ELF/
H A DDWARF.cpp31 assert(objSections.size() == obj->getSections().size());
32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) {
H A DInputFiles.h81 ArrayRef<InputSectionBase *> getSections() const { function in class:lld::elf::InputFile
H A DInputSection.cpp241 return cast<InputSection>(file->getSections()[link]);
336 ArrayRef<InputSectionBase *> sections = file->getSections();
348 ArrayRef<InputSectionBase *> sections = file->getSections();
H A DRelocations.cpp503 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded)
584 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded)
1547 for (InputSectionBase *s : f->getSections()) {
H A DOutputSections.cpp562 ArrayRef<InputSectionBase *> sections = section->file->getSections();
H A DInputFiles.cpp453 ArrayRef<InputSectionBase *> sections = s->file->getSections();
H A DSyntheticSections.cpp2714 ArrayRef<InputSectionBase *> sections = sec->file->getSections();
3313 for (InputSectionBase *sec : file->getSections()) {
H A DDriver.cpp2767 for (InputSectionBase *s : f->getSections()) {
2777 for (InputSectionBase *s : f->getSections())
H A DWriter.cpp622 for (InputSectionBase *s : f->getSections()) {
/openbsd-current/gnu/llvm/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp353 std::vector<ELFYAML::Section *> Sections = Doc.getSections();
520 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size());
543 std::vector<ELFYAML::Section *> Sections = Doc.getSections();
762 SHeaders.resize(Doc.getSections().size());
792 bool IsFirstUndefSection = Sec == Doc.getSections().front();
1813 for (const ELFYAML::Section *S : Doc.getSections()) {
1815 if (S == Doc.getSections().front())
1838 std::vector<ELFYAML::Section *> Sections = Doc.getSections();
1893 for (const ELFYAML::Chunk *Sec : Doc.getSections()) {
/openbsd-current/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h712 std::vector<Section *> getSections() { function in struct:llvm::ELFYAML::Object

Completed in 489 milliseconds