projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6463720
)
[driver] Have the crash diagnostics print the clang version information.
author
Chad Rosier
<mcrosier@apple.com>
Wed, 23 May 2012 21:38:47 +0000
(21:38 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Wed, 23 May 2012 21:38:47 +0000
(21:38 +0000)
rdar://
11518308
llvm-svn: 157346
clang/lib/Driver/Driver.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/Driver.cpp
b/clang/lib/Driver/Driver.cpp
index
9e3ba84
..
9a73da6
100644
(file)
--- a/
clang/lib/Driver/Driver.cpp
+++ b/
clang/lib/Driver/Driver.cpp
@@
-386,6
+386,9
@@
void Driver::generateCompilationDiagnostics(Compilation &C,
<< "Please submit a bug report to " BUG_REPORT_URL " and include command"
" line arguments and all diagnostic information.";
+ // Print the version of the compiler.
+ PrintVersion(C, llvm::errs());
+
// Suppress driver output and emit preprocessor output to temp file.
CCCIsCPP = true;
CCGenDiagnostics = true;