[llvm-commits] [llvm] r80855 - /llvm/trunk/lib/Support/CommandLine.cpp
Daniel Dunbar
daniel at zuster.org
Wed Sep 2 16:52:38 PDT 2009
Author: ddunbar
Date: Wed Sep 2 18:52:38 2009
New Revision: 80855
URL: http://llvm.org/viewvc/llvm-project?rev=80855&view=rev
Log:
Show derived host triple in --version.
Modified:
llvm/trunk/lib/Support/CommandLine.cpp
Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=80855&r1=80854&r2=80855&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Wed Sep 2 18:52:38 2009
@@ -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 @@
#endif
outs() << ".\n"
<< " Built " << __DATE__ << " (" << __TIME__ << ").\n"
+ << " Host: " << sys::getHostTriple() << "\n"
<< "\n"
<< " Registered Targets:\n";
More information about the llvm-commits
mailing list