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 | 75ebbceeeda1e7a78efe1848bb90e034f0c6ba61 (patch) | |
tree | afd6cfbeeec1c66319f52becfd7b67d7f3479efb /tools/bugpoint | |
parent | 3dd08734c1812e47ae5f6aceba15f28865f75943 (diff) |
Straighten out any triple strings passed on the command line before
they hit the rest of the system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r-- | tools/bugpoint/bugpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index 025beec0bd..79cf563ec6 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/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) { |