[llvm-commits] [llvm] r76260 - /llvm/trunk/tools/llvm-mc/llvm-mc.cpp
Daniel Dunbar
daniel at zuster.org
Fri Jul 17 15:51:20 PDT 2009
Author: ddunbar
Date: Fri Jul 17 17:51:20 2009
New Revision: 76260
URL: http://llvm.org/viewvc/llvm-project?rev=76260&view=rev
Log:
llvm-mc: Default -triple to LLVM_HOSTTRIPLE.
Modified:
llvm/trunk/tools/llvm-mc/llvm-mc.cpp
Modified: llvm/trunk/tools/llvm-mc/llvm-mc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mc/llvm-mc.cpp?rev=76260&r1=76259&r2=76260&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mc/llvm-mc.cpp (original)
+++ llvm/trunk/tools/llvm-mc/llvm-mc.cpp Fri Jul 17 17:51:20 2009
@@ -41,7 +41,7 @@
static cl::opt<std::string>
Triple("triple", cl::desc("Target triple to assemble for,"
"see -version for available targets"),
- cl::init(""));
+ cl::init(LLVM_HOSTTRIPLE));
enum ActionType {
AC_AsLex,
More information about the llvm-commits
mailing list