[llvm-commits] [llvm] r110684 - /llvm/trunk/tools/gold/gold-plugin.cpp
Rafael Espindola
rafael.espindola at gmail.com
Tue Aug 10 09:32:15 PDT 2010
Author: rafael
Date: Tue Aug 10 11:32:15 2010
New Revision: 110684
URL: http://llvm.org/viewvc/llvm-project?rev=110684&view=rev
Log:
Fix silly bug.
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=110684&r1=110683&r2=110684&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Tue Aug 10 11:32:15 2010
@@ -96,7 +96,7 @@
} else if (opt.startswith("pass-through=")) {
llvm::StringRef item = opt.substr(strlen("pass-through="));
pass_through.push_back(item.str());
- } else if (opt == "mtriple=") {
+ } else if (opt.startswith("mtriple=")) {
triple = opt.substr(strlen("mtriple="));
} else if (opt == "emit-llvm") {
generate_bc_file = BC_ONLY;
More information about the llvm-commits
mailing list