diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-10 16:32:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-10 16:32:15 +0000 |
commit | 15af387bffbf8e1fbab720fd0b92291bb68c023b (patch) | |
tree | 8ccaa59472019a2388dc7b1d6fa2efbcb0d0d09d /tools/gold/gold-plugin.cpp | |
parent | b0f3b3e7de5068e04754fe1a454a754328233346 (diff) | |
download | llvm-15af387bffbf8e1fbab720fd0b92291bb68c023b.tar.gz llvm-15af387bffbf8e1fbab720fd0b92291bb68c023b.tar.bz2 llvm-15af387bffbf8e1fbab720fd0b92291bb68c023b.tar.xz |
Fix silly bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold/gold-plugin.cpp')
-rw-r--r-- | tools/gold/gold-plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index e7161a64a8..207c0d8b46 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -96,7 +96,7 @@ namespace options { } 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; |