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 | fc39586b4f2c06a2debfb462b108c1e0d1f3c81c (patch) | |
tree | 5103457cfd538a36682fee044bc25250efee0096 /llvm/lib/Support/CommandLine.cpp | |
parent | 96995e817984adca0fad10b882549f8efca63d2c (diff) | |
download | bcm5719-llvm-fc39586b4f2c06a2debfb462b108c1e0d1f3c81c.tar.gz bcm5719-llvm-fc39586b4f2c06a2debfb462b108c1e0d1f3c81c.zip |
Show derived host triple in --version.
llvm-svn: 80855
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index d45694b0461..666f6417a27 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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"; |