Lines Matching refs:Error

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 Error visit(const SymbolTableSection &Sec) override = 0;
119 Error visit(const RelocationSection &Sec) override = 0;
120 Error visit(const GnuDebugLinkSection &Sec) override = 0;
121 Error visit(const GroupSection &Sec) override = 0;
122 Error visit(const SectionIndexSection &Sec) override = 0;
123 Error visit(const CompressedSection &Sec) override = 0;
124 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;
185 Error visit(const SymbolTableSection &Sec) override;
186 Error visit(const RelocationSection &Sec) override;
187 Error visit(const GnuDebugLinkSection &Sec) override;
188 Error visit(const GroupSection &Sec) override;
189 Error visit(const SectionIndexSection &Sec) override;
190 Error visit(const CompressedSection &Sec) override;
191 Error visit(const DecompressedSection &Sec) override;
294 Error visit(const Section &Sec) final;
295 Error visit(const OwnedDataSection &Sec) final;
296 Error visit(const StringTableSection &Sec) override;
297 Error visit(const DynamicRelocationSection &Sec) final;
307 Error visit(const StringTableSection &Sec) override;
318 virtual Error finalize() = 0;
319 virtual Error write() = 0;
339 Error writeSectionData();
356 Error finalize() override;
357 Error write() override;
371 Error finalize() override;
372 Error write() override;
382 Error finalize() override;
389 Error checkSection(const SectionBase &S) const;
396 Error write() override;
411 Error write() override;
469 Error visit(const Section &S) override;
470 Error visit(const OwnedDataSection &S) override;
471 Error visit(const StringTableSection &S) override;
472 Error visit(const DynamicRelocationSection &S) override;
503 Error visit(const StringTableSection &Sec) override;
539 virtual Error initialize(SectionTableRef SecTable);
542 virtual Error
545 virtual Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove);
546 virtual Error accept(SectionVisitor &Visitor) const = 0;
547 virtual Error accept(MutableSectionVisitor &Visitor) = 0;
612 Error accept(SectionVisitor &Visitor) const override;
613 Error accept(MutableSectionVisitor &Visitor) override;
614 Error removeSectionReferences(
617 Error initialize(SectionTableRef SecTable) override;
654 Error accept(SectionVisitor &Sec) const override;
655 Error accept(MutableSectionVisitor &Visitor) override;
678 Error accept(SectionVisitor &Visitor) const override;
679 Error accept(MutableSectionVisitor &Visitor) override;
698 Error accept(SectionVisitor &Visitor) const override;
699 Error accept(MutableSectionVisitor &Visitor) override;
723 Error accept(SectionVisitor &Visitor) const override;
724 Error accept(MutableSectionVisitor &Visitor) override;
794 Error initialize(SectionTableRef SecTable) override;
796 Error accept(SectionVisitor &Visitor) const override;
797 Error accept(MutableSectionVisitor &Visitor) override;
841 Error removeSectionReferences(
844 Error initialize(SectionTableRef SecTable) override;
846 Error accept(SectionVisitor &Visitor) const override;
847 Error accept(MutableSectionVisitor &Visitor) override;
848 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override;
901 Error initialize(SectionTableRef SecTable) override;
915 Error accept(SectionVisitor &Visitor) const override;
916 Error accept(MutableSectionVisitor &Visitor) override;
917 Error removeSectionReferences(
920 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override;
958 Error accept(SectionVisitor &) const override;
959 Error accept(MutableSectionVisitor &Visitor) override;
961 Error removeSectionReferences(
964 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override;
1007 Error accept(SectionVisitor &) const override;
1008 Error accept(MutableSectionVisitor &Visitor) override;
1009 Error removeSectionReferences(
1032 Error accept(SectionVisitor &Visitor) const override;
1033 Error accept(MutableSectionVisitor &Visitor) override;
1055 Error initSections();
1096 Error readProgramHeaders(const ELFFile<ELFT> &HeadersFile);
1097 Error initGroupSection(GroupSection *GroupSec);
1098 Error initSymbolTable(SymbolTableSection *SymTab);
1099 Error readSectionHeaders();
1100 Error readSections(bool EnsureSymtab);
1101 Error findEhdrOffset();
1108 Error build(bool EnsureSymtab);
1125 Error parseError(size_t LineNo, Error E) const { in parseError()
1132 Error parseError(size_t LineNo, char const *Fmt, const Ts &...Vals) const { in parseError()
1133 Error E = createStringError(errc::invalid_argument, Fmt, Vals...); in parseError()
1208 Error updateSection(StringRef Name, ArrayRef<uint8_t> Data);
1219 Error removeSections(bool AllowBrokenLinks,
1221 Error compressOrDecompressSections(const CommonConfig &Config);
1222 Error replaceSections(const DenseMap<SectionBase *, SectionBase *> &FromTo);
1223 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove);
1232 Error addNewSymbolTable();