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/llc | |
parent | 3dd08734c1812e47ae5f6aceba15f28865f75943 (diff) | |
download | llvm-75ebbceeeda1e7a78efe1848bb90e034f0c6ba61.tar.gz llvm-75ebbceeeda1e7a78efe1848bb90e034f0c6ba61.tar.bz2 llvm-75ebbceeeda1e7a78efe1848bb90e034f0c6ba61.tar.xz |
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/llc')
-rw-r--r-- | tools/llc/llc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 208d9f75ef..2ca502ec41 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -223,7 +223,7 @@ int main(int argc, char **argv) { // If we are supposed to override the target triple, do so now. if (!TargetTriple.empty()) - mod.setTargetTriple(TargetTriple); + mod.setTargetTriple(Triple::normalize(TargetTriple)); Triple TheTriple(mod.getTargetTriple()); if (TheTriple.getTriple().empty()) |