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

Declarations

include/llvm/Support/Error.h
 1205 Error createStringError(std::error_code EC, char const *Msg);

References

include/llvm/Support/Error.h
 1208   return createStringError(EC, S.str().c_str());
 1214   return createStringError(std::make_error_code(EC), Fmt, Vals...);
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
   49     return createStringError(errc::illegal_byte_sequence,
   65     return createStringError(
  383     return createStringError(errc::illegal_byte_sequence,
  398     return createStringError(
  442     return createStringError(errc::illegal_byte_sequence,
  468     return createStringError(errc::illegal_byte_sequence,
  504     return createStringError(errc::illegal_byte_sequence,
  517       return createStringError(errc::invalid_argument,
  603     return createStringError(errc::illegal_byte_sequence,
  612     return createStringError(errc::invalid_argument, "Invalid abbreviation.");
  619       return createStringError(errc::io_error,
lib/DebugInfo/DWARF/DWARFContext.cpp
 1842     return createStringError(errc::invalid_argument,
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
   36     WarnCallback(createStringError(errc::invalid_argument,
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  219     return createStringError(errc::invalid_argument,
  255           return createStringError(errc::invalid_argument,
  262           return createStringError(errc::invalid_argument,
  290         return createStringError(errc::invalid_argument,
  311           return createStringError(
  892         createStringError(errc::illegal_byte_sequence,
lib/DebugInfo/DWARF/DWARFUnit.cpp
  571   return createStringError(errc::invalid_argument,
  584   return createStringError(errc::invalid_argument,
  591     return createStringError(errc::invalid_argument, "No unit DIE");
  788   return createStringError(errc::invalid_argument, "length exceeds section size");
  796     return createStringError(errc::invalid_argument, "section offset exceeds section size");
  799     return createStringError(errc::invalid_argument, "32 bit contribution referenced from a 64 bit unit");
  814     return createStringError(errc::invalid_argument, "section offset exceeds section size");
  818     return createStringError(errc::invalid_argument, "invalid length");
  836       return createStringError(errc::invalid_argument, "insufficient space for 64 bit header prefix");
  845       return createStringError(errc::invalid_argument, "insufficient space for 32 bit header prefix");
lib/IR/RemarkStreamer.cpp
   41     return createStringError(std::make_error_code(std::errc::invalid_argument),
lib/Object/COFFObjectFile.cpp
 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/WasmObjectFile.cpp
 1411     return createStringError(object_error::invalid_section_index, "");
lib/Object/WindowsResource.cpp
  425         return createStringError(object_error::parse_failed,
lib/Remarks/BitstreamRemarkParser.cpp
  228     return createStringError(
  239     return createStringError(
  261     return createStringError(
  301     return createStringError(
  371     return createStringError(
  378       return createStringError(
  384     return createStringError(
  394     return createStringError(
  405     return createStringError(
  415     return createStringError(
  449     return createStringError(
  498     return createStringError(
  503     return createStringError(
  509     return createStringError(
  516     return createStringError(
  526     return createStringError(
  536     return createStringError(
  562       return createStringError(
  566       return createStringError(
lib/Remarks/RemarkParser.cpp
   57     return createStringError(
   63     return createStringError(std::make_error_code(std::errc::invalid_argument),
   74     return createStringError(std::make_error_code(std::errc::invalid_argument),
   82     return createStringError(std::make_error_code(std::errc::invalid_argument),
  103     return createStringError(std::make_error_code(std::errc::invalid_argument),
lib/Remarks/YAMLRemarkParser.cpp
  197     return createStringError(std::make_error_code(std::errc::invalid_argument),
lib/Support/DataExtractor.cpp
   20     *E = createStringError(errc::illegal_byte_sequence,
  188       *Err = createStringError(errc::illegal_byte_sequence, error);
lib/TextAPI/ELF/TBEHandler.cpp
  150     return createStringError(Err, "YAML failed reading as TBE");
lib/XRay/FDRRecordProducer.cpp
   46       return createStringError(
  126           createStringError(
lib/XRay/LogBuilderConsumer.cpp
   15     return createStringError(
   24     return createStringError(
lib/XRay/Trace.cpp
  271     return createStringError(std::make_error_code(std::errc::invalid_argument),
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  535     return llvm::createStringError(Buffer.getError(),
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  472       return createStringError(Objcopy.getError(),
  499         return createStringError(inconvertibleErrorCode(),
  800     return createStringError(inconvertibleErrorCode(),
  843       reportError(createStringError(
  849       reportError(createStringError(errc::invalid_argument,
  856       reportError(createStringError(
  862       reportError(createStringError(
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp
   28     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   45     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   61     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   76     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   84     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  100   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  116   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  130     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  140   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  154     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  177     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  200     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  221     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  242     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  258     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  271     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  302     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  323     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  329   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  365   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  390   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  400     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  412     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  424     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  435     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  453     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  468     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  488     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  556       return llvm::createStringError(llvm::inconvertibleErrorCode(),
  642     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  694     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  703       return llvm::createStringError(llvm::inconvertibleErrorCode(),
  717     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  744     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  762       return llvm::createStringError(llvm::inconvertibleErrorCode(),
  775       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  859     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
  275     return createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clang-doc/Representation.cpp
   37     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   99     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  112     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp
  292     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  175     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  604     Reply(llvm::createStringError(llvm::inconvertibleErrorCode(),
  661             return Reply(llvm::createStringError(
  684       return Reply(llvm::createStringError(
tools/clang/tools/extra/clangd/CodeComplete.cpp
  331         return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  156       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/RIFF.cpp
   17   return llvm::createStringError(llvm::inconvertibleErrorCode(), Msg);
tools/clang/tools/extra/clangd/index/Background.cpp
  369     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  374     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  412     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/index/SymbolID.cpp
   37     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   41       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/refactor/Tweak.cpp
   83     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   87     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
  205     return llvm::createStringError(
  214     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  330       return llvm::createStringError(
  347       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandAutoType.cpp
  117   return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  603     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  613     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
   76     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/clang/tools/extra/clangd/refactor/tweaks/SwapIfBranches.cpp
   71     return llvm::createStringError(
   77     return llvm::createStringError(
tools/clang/unittests/Tooling/TransformerTest.cpp
  577     return llvm::createStringError(llvm::errc::invalid_argument, "ERROR");
tools/lld/COFF/DebugTypes.cpp
  192         *p, createStringError(inconvertibleErrorCode(), pdb.first.c_str()));
tools/lldb/include/lldb/Host/common/NativeProcessProtocol.h
  124     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h
  478     return llvm::createStringError(
tools/lldb/include/lldb/Symbol/SymbolFile.h
  248     return llvm::createStringError(make_error_code(llvm::errc::not_supported),
tools/lldb/include/lldb/Target/Process.h
  694     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Host/common/File.cpp
   70   return llvm::createStringError(
   92   return llvm::createStringError(
  229   return llvm::createStringError(
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  552     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
  222     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Interpreter/Options.cpp
  996       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1426       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp
  141     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  151     return llvm::createStringError(llvm::inconvertibleErrorCode(),
  160     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2760       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 4635     return llvm::createStringError(llvm::inconvertibleErrorCode(),
 4653       return llvm::createStringError(llvm::inconvertibleErrorCode(),
 4661       return llvm::createStringError(llvm::inconvertibleErrorCode(),
 4666       return llvm::createStringError(
 4743       return llvm::createStringError(llvm::inconvertibleErrorCode(),
 4750       return llvm::createStringError(llvm::inconvertibleErrorCode(),
 4755       return llvm::createStringError(llvm::inconvertibleErrorCode(),
 4798     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
 1376     return llvm::createStringError(llvm::inconvertibleErrorCode(),
 1406     return llvm::createStringError(llvm::inconvertibleErrorCode(),
 1418     return llvm::createStringError(llvm::inconvertibleErrorCode(),
 1423   return llvm::createStringError(llvm::inconvertibleErrorCode(),
 1483     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  179   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  188   return llvm::createStringError(llvm::inconvertibleErrorCode(),
  392     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  790     return llvm::createStringError(
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  372   return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/unittests/Host/NativeProcessProtocolTest.cpp
   40           llvm::createStringError(llvm::inconvertibleErrorCode(), "Foo"))));
   55           llvm::createStringError(llvm::inconvertibleErrorCode(), "Foo"))));
   71           llvm::createStringError(llvm::inconvertibleErrorCode(), "Foo"))));
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationServerTest.cpp
   52   auto error = llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/unittests/Process/minidump/MinidumpParserTest.cpp
   60       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/unittests/Symbol/TestLineEntry.cpp
   73     return llvm::createStringError(llvm::inconvertibleErrorCode(),
   79     return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h
  127       return llvm::createStringError(llvm::inconvertibleErrorCode(),
  137       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/lldb/unittests/TestingSupport/TestUtilities.cpp
   43       return llvm::createStringError(llvm::inconvertibleErrorCode(),
tools/llvm-elfabi/ELFObjHandler.cpp
  387   return createStringError(errc::not_supported, "Unsupported binary format");
tools/llvm-ifs/llvm-ifs.cpp
  216     return createStringError(Err, "Failed reading Interface Stub File.");
  241     return createStringError(errc::not_supported, "Invalid Platform.\n");
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  209     return createStringError(llvm::errc::invalid_argument,
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
  385         return createStringError(object_error::parse_failed,
  402   return createStringError(object_error::parse_failed,
  409     return createStringError(object_error::parse_failed,
tools/llvm-objcopy/CopyConfig.cpp
  134     return createStringError(errc::invalid_argument,
  161     return createStringError(
  166     return createStringError(
  180     return createStringError(errc::invalid_argument,
  404     return createStringError(errc::invalid_argument, "no input file specified");
  407     return createStringError(errc::invalid_argument,
  416     return createStringError(
  421     return createStringError(errc::invalid_argument,
  490       return createStringError(
  524       return createStringError(errc::invalid_argument,
  599       return createStringError(errc::invalid_argument,
  602       return createStringError(
  709     return createStringError(errc::invalid_argument,
  735     return createStringError(
  742     return createStringError(
  747     return createStringError(errc::invalid_argument,
  790     return createStringError(errc::invalid_argument, "no input file specified");
  793     return createStringError(
  800     return createStringError(errc::invalid_argument,
  872           return createStringError(
  888     return createStringError(errc::invalid_argument,
tools/llvm-objcopy/ELF/ELFConfig.cpp
   54       return createStringError(
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  187       createStringError(llvm::errc::invalid_argument,
  208   return createStringError(EC, FullMsg.c_str(), std::forward<Ts>(Args)...);
  789           createStringError(object_error::parse_failed,
tools/llvm-objcopy/ELF/Object.cpp
  212       return createStringError(
  222       return createStringError(
  229       return createStringError(errc::invalid_argument,
  237       return createStringError(errc::invalid_argument,
  243       return createStringError(
  261     return createStringError(errc::invalid_argument,
  294     return createStringError(errc::invalid_argument, "incorrect checksum.");
 2026     return createStringError(llvm::errc::invalid_argument,
tools/llvm-objcopy/ELF/Object.h
  964     Error E = createStringError(errc::invalid_argument, Fmt, Vals...);
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
  277         return createStringError(llvm::errc::not_supported,
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
   54     return createStringError(llvm::errc::invalid_argument,
   69         createStringError(object_error::parse_failed,
tools/llvm-objcopy/llvm-objcopy.cpp
  176     return createStringError(object_error::invalid_file_type,
tools/llvm-readobj/ELFDumper.cpp
 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,
tools/obj2yaml/elf2yaml.cpp
  187         return createStringError(obj2yaml_error::not_implemented,
  197       return createStringError(
unittests/Support/ErrorTest.cpp
  460   logAllUnhandledErrors(createStringError(EC, Bar), S);