reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Object/Binary.h
  168       return object_error::unexpected_eof;
include/llvm/Object/COFF.h
  993       return object_error::parse_failed;
 1011     return errorCodeToError(object_error::parse_failed);
include/llvm/Object/ELF.h
   48   return make_error<StringError>(Err, object_error::parse_failed);
include/llvm/Object/ELFTypes.h
  251     return createStringError(object_error::parse_failed,
  638                                    object_error::parse_failed);
include/llvm/Object/Error.h
   39 inline std::error_code make_error_code(object_error e) {
   57     setErrorCode(make_error_code(object_error::parse_failed));
   69   GenericBinaryError(Twine Msg, object_error ECOverride);
include/llvm/Object/Minidump.h
  145     return make_error<GenericBinaryError>(Str, object_error::parse_failed);
  150                                           object_error::unexpected_eof);
include/llvm/Object/ObjectFile.h
  323     return errorCodeToError(object_error::parse_failed);
include/llvm/Object/WindowsResource.h
   94   EmptyResError(Twine Msg, object_error ECOverride)
include/llvm/Support/Error.h
  330 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) {
  331   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
lib/DebugInfo/DWARF/DWARFContext.cpp
 1691                           errorCodeToError(object_error::parse_failed)));
lib/DebugInfo/Symbolize/Symbolize.cpp
  405   return errorCodeToError(object_error::arch_not_found);
lib/LTO/LTOModule.cpp
  210     return make_error_code(object::object_error::arch_not_found);
lib/Object/Archive.cpp
   50                                         object_error::parse_failed);
  554                                          object_error::invalid_file_type);
  728     Err = errorCodeToError(object_error::parse_failed);
  834       return errorCodeToError(object_error::parse_failed);
  846       return errorCodeToError(object_error::parse_failed);
lib/Object/ArchiveWriter.cpp
  485           std::move(StringMsg), object::object_error::parse_failed);
lib/Object/Binary.cpp
   83     return errorCodeToError(object_error::invalid_file_type);
   87     return errorCodeToError(object_error::invalid_file_type);
lib/Object/COFFImportFile.cpp
  123         "' with '" + To + "' failed").str()), object_error::parse_failed);
lib/Object/COFFModuleDefinition.cpp
   85                                  object_error::parse_failed);
lib/Object/COFFObjectFile.cpp
   48     EC = object_error::unexpected_eof;
  435     return  object_error::parse_failed;
  468   return object_error::parse_failed;
  489   return object_error::parse_failed;
  514     return object_error::parse_failed;
  634     return object_error::parse_failed;
  693         EC = object_error::parse_failed;
  750       EC = object_error::parse_failed;
  775       EC = object_error::parse_failed;
  945     return object_error::parse_failed;
  952     return object_error::parse_failed;
  968   return object_error::parse_failed;
  984   return object_error::parse_failed;
  991     return object_error::parse_failed;
  993     return object_error::unexpected_eof;
 1069         return createStringError(object_error::parse_failed,
 1073         return createStringError(object_error::parse_failed,
 1741     return createStringError(object_error::parse_failed, "index out of range");
 1757   return createStringError(object_error::parse_failed,
 1783     return createStringError(object_error::parse_failed, "no object provided");
 1816       return createStringError(object_error::parse_failed,
 1820       return createStringError(object_error::parse_failed,
 1837       return createStringError(object_error::parse_failed,
 1845       return createStringError(object_error::parse_failed,
 1860     return createStringError(object_error::parse_failed,
lib/Object/Error.cpp
   36   object_error E = static_cast<object_error>(EV);
   38   case object_error::arch_not_found:
   40   case object_error::invalid_file_type:
   42   case object_error::parse_failed:
   44   case object_error::unexpected_eof:
   46   case object_error::string_table_non_null_end:
   48   case object_error::invalid_section_index:
   50   case object_error::bitcode_section_not_found:
   52   case object_error::invalid_symbol_index:
   65 GenericBinaryError::GenericBinaryError(Twine Msg, object_error ECOverride)
   84     if (M->convertToErrorCode() == object_error::invalid_file_type)
lib/Object/IRObjectFile.cpp
   81         return errorCodeToError(object_error::bitcode_section_not_found);
   86   return errorCodeToError(object_error::bitcode_section_not_found);
  105     return errorCodeToError(object_error::invalid_file_type);
lib/Object/MachOObjectFile.cpp
   63                                         object_error::parse_failed);
 1785     return object_error::parse_failed;
 1788     return object_error::parse_failed;
 2001   return errorCodeToError(object_error::parse_failed);
 2434     return object_error::parse_failed;
 2443         return object_error::parse_failed;
 2446         return object_error::parse_failed;
 2450         return object_error::parse_failed;
 4653                                         object_error::invalid_file_type);
lib/Object/MachOUniversal.cpp
   28                                         object_error::parse_failed);
  119                                          object_error::invalid_file_type);
  219                                           object_error::arch_not_found);
  226                                         object_error::arch_not_found);
lib/Object/ObjectFile.cpp
  132     return errorCodeToError(object_error::invalid_file_type);
  134     return errorCodeToError(object_error::invalid_file_type);
lib/Object/SymbolicFile.cpp
   57     return errorCodeToError(object_error::invalid_file_type);
lib/Object/WasmObjectFile.cpp
  184                                           object_error::parse_failed);
  190                                           object_error::parse_failed);
  219                                    object_error::parse_failed);
  222                                    object_error::parse_failed);
  239                                    object_error::parse_failed);
  253         make_error<StringError>("Bad magic number", object_error::parse_failed);
  264                                   object_error::parse_failed);
  271                                   object_error::parse_failed);
  323         "Invalid section type: " + Twine(Sec.Type), object_error::parse_failed);
  340                                           object_error::parse_failed);
  348                                           object_error::parse_failed);
  362                                                 object_error::parse_failed);
  366                                                 object_error::parse_failed);
  381           "Name sub-section ended prematurely", object_error::parse_failed);
  386                                           object_error::parse_failed);
  395         object_error::parse_failed);
  403         object_error::parse_failed);
  423                                               object_error::parse_failed);
  441                                                 object_error::parse_failed);
  456           "Linking sub-section ended prematurely", object_error::parse_failed);
  460                                           object_error::parse_failed);
  501                                               object_error::parse_failed);
  526                                               object_error::parse_failed);
  530                                               object_error::parse_failed);
  556                                                 object_error::parse_failed);
  561                                                 object_error::parse_failed);
  571             object_error::parse_failed);
  584                                               object_error::parse_failed);
  588                                               object_error::parse_failed);
  614                                             object_error::parse_failed);
  622                                             object_error::parse_failed);
  640                                             object_error::parse_failed);
  645                                             object_error::parse_failed);
  654                                               object_error::parse_failed);
  658               "COMDAT data index out of range", object_error::parse_failed);
  661                                                 object_error::parse_failed);
  667               "COMDAT function index out of range", object_error::parse_failed);
  670                                                 object_error::parse_failed);
  687           object_error::parse_failed);
  699           object_error::parse_failed);
  709             object_error::parse_failed);
  716                                           object_error::parse_failed);
  733                                             object_error::parse_failed);
  740           object_error::parse_failed);
  746         object_error::parse_failed);
  754                                           object_error::parse_failed);
  765                                             object_error::parse_failed);
  775                                               object_error::parse_failed);
  780                                               object_error::parse_failed);
  789                                               object_error::parse_failed);
  794                                               object_error::parse_failed);
  802                                               object_error::parse_failed);
  808                                               object_error::parse_failed);
  814                                               object_error::parse_failed);
  820                                             object_error::parse_failed);
  834                                             object_error::parse_failed);
  840                                           object_error::parse_failed);
  875                                             object_error::parse_failed);
  892                                           object_error::parse_failed);
  921                                               object_error::parse_failed);
  930                                             object_error::parse_failed);
  936                                           object_error::parse_failed);
  948                                             object_error::parse_failed);
  953                                           object_error::parse_failed);
  964                                             object_error::parse_failed);
  969                                           object_error::parse_failed);
  981                                           object_error::parse_failed);
 1000                                           object_error::parse_failed);
 1018                                           object_error::parse_failed);
 1034                                               object_error::parse_failed);
 1039                                               object_error::parse_failed);
 1044                                               object_error::parse_failed);
 1051                                             object_error::parse_failed);
 1057                                           object_error::parse_failed);
 1130                                           object_error::parse_failed);
 1139                                           object_error::parse_failed);
 1172                                           object_error::parse_failed);
 1184                                             object_error::parse_failed);
 1196                                           object_error::parse_failed);
 1222                                             object_error::parse_failed);
 1235                                           object_error::parse_failed);
 1411     return createStringError(object_error::invalid_section_index, "");
lib/Object/WindowsResource.cpp
   64         object_error::invalid_file_type);
   72                                      object_error::unexpected_eof);
  123                                           object_error::parse_failed);
  425         return createStringError(object_error::parse_failed,
lib/Object/XCOFFObjectFile.cpp
  153                                         object_error::parse_failed);
  407     return errorCodeToError(object_error::invalid_section_index);
  514     return errorCodeToError(object_error::invalid_symbol_index);
  572   return errorCodeToError(object_error::parse_failed);
  619     return errorCodeToError(object_error::string_table_non_null_end);
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  694       return errorCodeToError(object_error::arch_not_found);
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  357         llvm::object::object_error::invalid_file_type)
tools/dsymutil/BinaryHolder.cpp
  142   return errorCodeToError(object::object_error::arch_not_found);
tools/dsymutil/BinaryHolder.h
   71           return errorCodeToError(object::object_error::invalid_file_type);
tools/gold/gold-plugin.cpp
  532       if (EC == object::object_error::invalid_file_type ||
  533           EC == object::object_error::bitcode_section_not_found)
tools/llvm-elfabi/ELFObjHandler.cpp
  132         object_error::parse_failed,
  140           object_error::parse_failed,
tools/llvm-objcopy/COFF/Object.cpp
   55         return createStringError(object_error::invalid_symbol_index,
tools/llvm-objcopy/COFF/Reader.cpp
   78       return createStringError(object_error::parse_failed,
  132       return createStringError(object_error::parse_failed,
  141         return createStringError(object_error::parse_failed,
  168         return createStringError(object_error::parse_failed,
  172         return createStringError(object_error::parse_failed,
  180         return createStringError(object_error::parse_failed,
  184         return createStringError(object_error::parse_failed,
  202       return createStringError(object_error::parse_failed,
tools/llvm-objcopy/COFF/Writer.cpp
   31         return createStringError(object_error::invalid_symbol_index,
   49         return createStringError(object_error::invalid_symbol_index,
   68                 object_error::invalid_symbol_index,
   85         return createStringError(object_error::invalid_symbol_index,
  385         return createStringError(object_error::parse_failed,
  402   return createStringError(object_error::parse_failed,
  409     return createStringError(object_error::parse_failed,
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  289         return createStringError(object_error::parse_failed,
  304   return createStringError(object_error::parse_failed, "section '%s' not found",
  789           createStringError(object_error::parse_failed,
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
   69         createStringError(object_error::parse_failed,
tools/llvm-objcopy/llvm-objcopy.cpp
  176     return createStringError(object_error::invalid_file_type,
tools/llvm-objdump/llvm-objdump.cpp
 2226       reportError(errorCodeToError(object_error::invalid_file_type),
 2254     reportError(errorCodeToError(object_error::invalid_file_type), file);
tools/llvm-readobj/COFFDumper.cpp
   64   return make_error<StringError>(Err, object_error::parse_failed);
  961     reportError(errorCodeToError(object_error::parse_failed),
  988       return reportError(errorCodeToError(object_error::parse_failed),
  998       return reportError(errorCodeToError(object_error::parse_failed),
 1029         reportError(errorCodeToError(object_error::parse_failed),
 1042         reportError(errorCodeToError(object_error::parse_failed),
 1133           reportError(errorCodeToError(object_error::parse_failed),
 1229     reportError(errorCodeToError(object_error::parse_failed),
 1236     reportError(errorCodeToError(object_error::parse_failed),
 1261         reportError(errorCodeToError(object_error::parse_failed),
 1269         reportError(errorCodeToError(object_error::parse_failed),
 1305     reportError(errorCodeToError(object_error::parse_failed),
 1837         reportError(errorCodeToError(object_error::parse_failed),
tools/llvm-readobj/ELFDumper.cpp
  202       reportError(errorCodeToError(llvm::object::object_error::parse_failed),
 4547     return createStringError(object_error::parse_failed,
 4550     return createStringError(object_error::parse_failed,
 4558     return createStringError(object_error::parse_failed,
 4569       return createStringError(object_error::parse_failed,
 4754         createStringError(object_error::parse_failed,
 4813         createStringError(object_error::parse_failed,
 4853                 object_error::parse_failed,
 4899       reportError(createStringError(object_error::parse_failed,
 4950                         object_error::parse_failed,
tools/llvm-readobj/ObjDumper.cpp
   27   return createStringError(object::object_error::parse_failed, Msg);
tools/llvm-readobj/XCOFFDumper.cpp
  462                                           object_error::parse_failed),
tools/sancov/sancov.cpp
  786       failIfError(object::object_error::invalid_file_type);
  805     failIfError(object::object_error::invalid_file_type);
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/bits/unique_ptr.h
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/system_error
  156       error_code(_ErrorCodeEnum __e) noexcept
  172       typename enable_if<is_error_code_enum<_ErrorCodeEnum>::value,
  174       operator=(_ErrorCodeEnum __e) noexcept
usr/include/c++/7.4.0/type_traits
 1629     { typedef _Tp   type; };