diff options
Diffstat (limited to 'lld/ELF/Driver.cpp')
| -rw-r--r-- | lld/ELF/Driver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index 82171ac0da4..d5d11e3d94b 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -584,7 +584,8 @@ static bool getCompressDebugSections(opt::InputArgList &Args) { static int parseInt(StringRef S, opt::Arg *Arg) { int V = 0; if (!to_integer(S, V, 10)) - error(Arg->getSpelling() + ": number expected, but got '" + S + "'"); + error(Arg->getSpelling() + "=" + Arg->getValue() + + ": number expected, but got '" + S + "'"); return V; } |

