Lines Matching refs:Sec
77 virtual Error visit(const Section &Sec) = 0;
78 virtual Error visit(const OwnedDataSection &Sec) = 0;
79 virtual Error visit(const StringTableSection &Sec) = 0;
80 virtual Error visit(const SymbolTableSection &Sec) = 0;
81 virtual Error visit(const RelocationSection &Sec) = 0;
82 virtual Error visit(const DynamicRelocationSection &Sec) = 0;
83 virtual Error visit(const GnuDebugLinkSection &Sec) = 0;
84 virtual Error visit(const GroupSection &Sec) = 0;
85 virtual Error visit(const SectionIndexSection &Sec) = 0;
86 virtual Error visit(const CompressedSection &Sec) = 0;
87 virtual Error visit(const DecompressedSection &Sec) = 0;
94 virtual Error visit(Section &Sec) = 0;
95 virtual Error visit(OwnedDataSection &Sec) = 0;
96 virtual Error visit(StringTableSection &Sec) = 0;
97 virtual Error visit(SymbolTableSection &Sec) = 0;
98 virtual Error visit(RelocationSection &Sec) = 0;
99 virtual Error visit(DynamicRelocationSection &Sec) = 0;
100 virtual Error visit(GnuDebugLinkSection &Sec) = 0;
101 virtual Error visit(GroupSection &Sec) = 0;
102 virtual Error visit(SectionIndexSection &Sec) = 0;
103 virtual Error visit(CompressedSection &Sec) = 0;
104 virtual Error visit(DecompressedSection &Sec) = 0;
114 Error visit(const Section &Sec) override;
115 Error visit(const OwnedDataSection &Sec) override;
116 Error visit(const StringTableSection &Sec) override;
117 Error visit(const DynamicRelocationSection &Sec) override;
118 virtual Error visit(const SymbolTableSection &Sec) override = 0;
119 virtual Error visit(const RelocationSection &Sec) override = 0;
120 virtual Error visit(const GnuDebugLinkSection &Sec) override = 0;
121 virtual Error visit(const GroupSection &Sec) override = 0;
122 virtual Error visit(const SectionIndexSection &Sec) override = 0;
123 virtual Error visit(const CompressedSection &Sec) override = 0;
124 virtual Error visit(const DecompressedSection &Sec) override = 0;
138 Error visit(const SymbolTableSection &Sec) override;
139 Error visit(const RelocationSection &Sec) override;
140 Error visit(const GnuDebugLinkSection &Sec) override;
141 Error visit(const GroupSection &Sec) override;
142 Error visit(const SectionIndexSection &Sec) override;
143 Error visit(const CompressedSection &Sec) override;
144 Error visit(const DecompressedSection &Sec) override;
158 Error visit(Section &Sec) override;
159 Error visit(OwnedDataSection &Sec) override;
160 Error visit(StringTableSection &Sec) override;
161 Error visit(DynamicRelocationSection &Sec) override;
162 Error visit(SymbolTableSection &Sec) override;
163 Error visit(RelocationSection &Sec) override;
164 Error visit(GnuDebugLinkSection &Sec) override;
165 Error visit(GroupSection &Sec) override;
166 Error visit(SectionIndexSection &Sec) override;
167 Error visit(CompressedSection &Sec) override;
168 Error visit(DecompressedSection &Sec) override;
182 Error visit(const SymbolTableSection &Sec) override;
183 Error visit(const RelocationSection &Sec) override;
184 Error visit(const GnuDebugLinkSection &Sec) override;
185 Error visit(const GroupSection &Sec) override;
186 Error visit(const SectionIndexSection &Sec) override;
187 Error visit(const CompressedSection &Sec) override;
188 Error visit(const DecompressedSection &Sec) override;
282 void writeSection(const SectionBase *Sec, ArrayRef<uint8_t> Data);
289 Error visit(const Section &Sec) final;
290 Error visit(const OwnedDataSection &Sec) final;
291 Error visit(const StringTableSection &Sec) override;
292 Error visit(const DynamicRelocationSection &Sec) final;
302 Error visit(const StringTableSection &Sec) override;
329 void writeShdr(const SectionBase &Sec);
376 Error checkSection(const SectionBase &Sec);
471 void removeSection(const SectionBase *Sec) { Sections.erase(Sec); } in removeSection() argument
472 void addSection(const SectionBase *Sec) { Sections.insert(Sec); } in addSection() argument
519 Error accept(SectionVisitor &Sec) const override;
533 create(const SectionBase &Sec, DebugCompressionType CompressionType);
550 CompressedSection(const SectionBase &Sec,
560 explicit DecompressedSection(const CompressedSection &Sec) in DecompressedSection() argument
561 : SectionBase(Sec) { in DecompressedSection()
562 Size = Sec.getDecompressedSize(); in DecompressedSection()
563 Align = Sec.getDecompressedAlign(); in DecompressedSection()
743 void setSection(SectionBase *Sec) { SecToApplyRel = Sec; } in setSection() argument
811 void addMember(SectionBase *Sec) { GroupMembers.push_back(Sec); } in addMember() argument
1017 static bool sectionIsAlloc(const SectionBase &Sec) { in sectionIsAlloc() argument
1018 return Sec.Flags & ELF::SHF_ALLOC; in sectionIsAlloc()
1068 find_if(Sections, [&](const SecPtr &Sec) { return Sec->Name == Name; }); in findSection()
1080 auto Sec = std::make_unique<T>(std::forward<Ts>(Args)...); in addSection() local
1081 auto Ptr = Sec.get(); in addSection()
1083 Sections.emplace_back(std::move(Sec)); in addSection()