forked from OSchip/llvm-project
[driver] Have the crash diagnostics print the clang version information.
rdar://11518308 llvm-svn: 157346
This commit is contained in:
parent
6463720505
commit
37a12af0af
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue