[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 3de4cd1281
commit da2673ce20
1 changed files with 1 additions and 1 deletions

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),