1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[XRay] Use std::errc::invalid_argument instead of std::errc::bad_message

This change should appease the mingw32 builds.

Follow-up to D29319.

llvm-svn: 293725
This commit is contained in:
Dean Michael Berris 2017-02-01 00:22:20 +00:00
parent e89e1cb893
commit 4abfe24e92

View File

@ -575,7 +575,7 @@ static CommandRegistration Unused(&Graph, []() -> Error {
if (!GraphKeepGoing)
return joinErrors(make_error<StringError>(
"Error encountered generating the call graph.",
std::make_error_code(std::errc::bad_message)),
std::make_error_code(std::errc::invalid_argument)),
std::move(E));
handleAllErrors(std::move(E),