Lines Matching refs:Error

53 Error SectionBase::removeSectionReferences(
56 return Error::success();
59 Error SectionBase::removeSymbols(function_ref<bool(const Symbol &)> ToRemove) {
60 return Error::success();
208 static Error checkRecord(const IHexRecord &R) {
252 return Error::success();
258 static Error checkChars(StringRef Line) {
268 return Error::success();
279 if (Error E = checkChars(Line))
295 if (Error E = checkRecord(Rec))
434 if (Error E = zlib::uncompress(CompressedContent, DecompressedContent,
507 if (Error E = zlib::compress(
672 Error SymbolTableSection::removeSectionReferences(
699 Error SymbolTableSection::removeSymbols(
707 return Error::success();
804 Error RelocationSection::removeSectionReferences(
829 return Error::success();
895 Error RelocationSection::removeSymbols(
903 return Error::success();
931 Error DynamicRelocationSection::removeSectionReferences(
948 return Error::success();
951 Error Section::removeSectionReferences(
962 return Error::success();
970 Error GroupSection::removeSymbols(function_ref<bool(const Symbol &)> ToRemove) {
976 return Error::success();
1822 Error Object::removeSections(bool AllowBrokenLinks,
1858 if (Error E = KeepSec->removeSectionReferences(AllowBrokenLinks,
1870 return Error::success();
1873 Error Object::removeSymbols(function_ref<bool(const Symbol &)> ToRemove) {
1876 if (Error E = Sec->removeSymbols(ToRemove))
1878 return Error::success();
2087 template <class ELFT> Error ELFWriter<ELFT>::write() {
2099 static Error removeUnneededSections(Object &Obj) {
2106 return Error::success();
2118 template <class ELFT> Error ELFWriter<ELFT>::finalize() {
2127 if (Error E = removeUnneededSections(Obj))
2159 if (Error E = Obj.removeSections(false /*AllowBrokenLinks*/,
2215 if (Error E = Buf.allocate(totalSize()))
2218 return Error::success();
2221 Error BinaryWriter::write() {
2227 Error BinaryWriter::finalize() {
2280 if (Error E = Buf.allocate(TotalSize))
2283 return Error::success();
2319 Error IHexWriter::write() {
2334 Error IHexWriter::checkSection(const SectionBase &Sec) {
2341 return Error::success();
2344 Error IHexWriter::finalize() {
2370 if (Error E = checkSection(Sec))
2384 if (Error E = Buf.allocate(TotalSize))
2386 return Error::success();