projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
59959cd
)
llvm-mc: Default -triple to LLVM_HOSTTRIPLE.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 17 Jul 2009 22:51:20 +0000
(22:51 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 17 Jul 2009 22:51:20 +0000
(22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76260
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-mc/llvm-mc.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-mc/llvm-mc.cpp
b/tools/llvm-mc/llvm-mc.cpp
index c7f3996c9725649469d4926de74d239c73fc7622..6855a830e8afbafad5ed5aabb311c6efdce0edfc 100644
(file)
--- a/
tools/llvm-mc/llvm-mc.cpp
+++ b/
tools/llvm-mc/llvm-mc.cpp
@@
-41,7
+41,7
@@
IncludeDirs("I", cl::desc("Directory of include files"),
static cl::opt<std::string>
Triple("triple", cl::desc("Target triple to assemble for,"
"see -version for available targets"),
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,
enum ActionType {
AC_AsLex,