diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-19 10:24:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-19 10:24:49 +0000 |
commit | ecff7c80e5ce4ccb1d2765c234c88efafdc1a378 (patch) | |
tree | 1a514fd98ff65991dd0d288e03708e5de4645ea1 /lib/Driver/Driver.cpp | |
parent | 459001f7351c8ca542301690f0a63ec9ae870e09 (diff) |
Driver: Remove the signal number from the "command failed" diagnostic.
- With the current implementation of sys::Program this always printed "2".
- The command execution code will output the right number anyway (including the signal name).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 6873add198..feeeb049f5 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -523,7 +523,7 @@ int Driver::ExecuteCompilation(const Compilation &C, // FIXME: See FIXME above regarding result code interpretation. if (Res < 0) Diag(clang::diag::err_drv_command_signalled) - << FailingTool.getShortName() << -Res; + << FailingTool.getShortName(); else Diag(clang::diag::err_drv_command_failed) << FailingTool.getShortName() << Res; |