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 | 148c3284ee1c111ad0ce1d5743d1dbd427181603 (patch) | |
| tree | 87ddd54fdf7c00478d76249273af0088015461a4 | |
| parent | 18bf25f1892aed1d0bb986460f5461a2f8cc4548 (diff) | |
| download | bcm5719-llvm-148c3284ee1c111ad0ce1d5743d1dbd427181603.tar.gz bcm5719-llvm-148c3284ee1c111ad0ce1d5743d1dbd427181603.zip | |
Fix silly bug.
llvm-svn: 110684
| -rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index e7161a64a8e..207c0d8b46a 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/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; |

