diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-08-28 01:30:02 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-08-28 01:30:02 +0000 |
| commit | 3bd97fec8f6923892c79e8073576d36d3cc67a3d (patch) | |
| tree | a8e764414a00932cadf707abdcbae9aef788aa6e /llvm/tools/bugpoint | |
| parent | dd6601048ef0392c5a58ebf1458f7f5196352bc9 (diff) | |
| download | bcm5719-llvm-3bd97fec8f6923892c79e8073576d36d3cc67a3d.tar.gz bcm5719-llvm-3bd97fec8f6923892c79e8073576d36d3cc67a3d.zip | |
Straighten out any triple strings passed on the command line before
they hit the rest of the system.
llvm-svn: 112344
Diffstat (limited to 'llvm/tools/bugpoint')
| -rw-r--r-- | llvm/tools/bugpoint/bugpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp index 025beec0bd8..79cf563ec6f 100644 --- a/llvm/tools/bugpoint/bugpoint.cpp +++ b/llvm/tools/bugpoint/bugpoint.cpp @@ -104,8 +104,8 @@ int main(int argc, char **argv) { // If we have an override, set it and then track the triple we want Modules // to use. if (!OverrideTriple.empty()) { - TargetTriple.setTriple(OverrideTriple); - outs() << "Override triple set to '" << OverrideTriple << "'\n"; + TargetTriple.setTriple(Triple::normalize(OverrideTriple)); + outs() << "Override triple set to '" << TargetTriple.getTriple() << "'\n"; } if (MemoryLimit < 0) { |

