diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-02 23:52:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-02 23:52:38 +0000 |
commit | 6552478ee74abe6851cebc5762a1dbe6982bb122 (patch) | |
tree | 04cddb61d665a4e2e30b3c5939deecdb3ae1e912 /lib/Support/CommandLine.cpp | |
parent | 5e869c353c01f168712ae33cb7de2e9ba5cdf658 (diff) |
Show derived host triple in --version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r-- | lib/Support/CommandLine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index d45694b046..666f6417a2 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -22,6 +22,7 @@ #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetRegistry.h" +#include "llvm/System/Host.h" #include "llvm/System/Path.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/Config/config.h" @@ -1135,6 +1136,7 @@ public: #endif outs() << ".\n" << " Built " << __DATE__ << " (" << __TIME__ << ").\n" + << " Host: " << sys::getHostTriple() << "\n" << "\n" << " Registered Targets:\n"; |