Skip to content
Snippets Groups Projects
Commit 424ac213 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

Add PCH version to the -v output

llvm-svn: 70424
parent 4b4ef863
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
#include "clang/Driver/Types.h"
#include "clang/Basic/Version.h"
#include "clang/Frontend/PCHBitCodes.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/PrettyStackTrace.h"
......@@ -357,6 +358,8 @@ void Driver::PrintVersion(const Compilation &C) const {
llvm::errs() << "clang version " CLANG_VERSION_STRING " ("
<< vers << " " << revision << ")" << "\n";
llvm::errs() << "PCH version " << pch::VERSION_MAJOR << "."
<< pch::VERSION_MINOR << "\n";
const ToolChain &TC = C.getDefaultToolChain();
llvm::errs() << "Target: " << TC.getTripleString() << '\n';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment