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
This commit is contained in:
Duncan Sands
2010-08-28 01:30:02 +00:00
parent 3dd08734c1
commit 75ebbceeed
4 changed files with 6 additions and 4 deletions

View File

@ -390,6 +390,7 @@ int main(int argc, char **argv) {
llvm::InitializeAllDisassemblers();
cl::ParseCommandLineOptions(argc, argv, "llvm machine code playground\n");
TripleName = Triple::normalize(TripleName);
switch (Action) {
default: