about summary refs log tree commit diff homepage
path: root/lib/Support/PrintVersion.cpp
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2015-04-25 18:38:19 +0100
committerDan Liew <daniel.liew@imperial.ac.uk>2015-04-25 18:38:19 +0100
commit47b4608a033a6b6c05f8798ab675baa120d15a7f (patch)
tree84a4b5bee0ac3afc7246c0e9a81c3efd2972d7bb /lib/Support/PrintVersion.cpp
parent9fc9cdde42b5a1d38dd5a3ea0815104762c2b367 (diff)
downloadklee-47b4608a033a6b6c05f8798ab675baa120d15a7f.tar.gz
Report the git tag if exists in the output of --version from klee
and kleaver.
Diffstat (limited to 'lib/Support/PrintVersion.cpp')
-rw-r--r--lib/Support/PrintVersion.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/PrintVersion.cpp b/lib/Support/PrintVersion.cpp
index d62269ba..b4ff9811 100644
--- a/lib/Support/PrintVersion.cpp
+++ b/lib/Support/PrintVersion.cpp
@@ -25,6 +25,9 @@ void klee::printVersion()
 #else
   llvm::outs() << "unknown\n";
 #endif
+#ifdef KLEE_BUILD_TAG
+  llvm::outs() << "  Build tag: " << KLEE_BUILD_TAG "\n";
+#endif
   // Show LLVM version information
   llvm::outs() << "\n";
   llvm::cl::PrintVersionMessage();