mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 23:22:10 +00:00
[XRay] Use std::errc::invalid_argument instead of std::errc::bad_message
This change should appease the mingw32 builds. Follow-up to D29319. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40fe3a93e9
commit
dd336006bd
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user