forked from OSchip/llvm-project
[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:
parent
3de4cd1281
commit
da2673ce20
|
@ -575,7 +575,7 @@ static CommandRegistration Unused(&Graph, []() -> Error {
|
||||||
if (!GraphKeepGoing)
|
if (!GraphKeepGoing)
|
||||||
return joinErrors(make_error<StringError>(
|
return joinErrors(make_error<StringError>(
|
||||||
"Error encountered generating the call graph.",
|
"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));
|
std::move(E));
|
||||||
|
|
||||||
handleAllErrors(std::move(E),
|
handleAllErrors(std::move(E),
|
||||||
|
|
Loading…
Reference in New Issue