Use getProcessTriple in clang-interpreter.

llvm-svn: 172664
This commit is contained in:
Peter Collingbourne 2013-01-16 22:37:09 +00:00
parent 04700d5564
commit e8baf33712
1 changed files with 1 additions and 2 deletions

View File

@ -74,8 +74,7 @@ int main(int argc, const char **argv, char * const *envp) {
IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
Driver TheDriver(Path.str(), llvm::sys::getDefaultTargetTriple(),
"a.out", Diags);
Driver TheDriver(Path.str(), llvm::sys::getProcessTriple(), "a.out", Diags);
TheDriver.setTitle("clang interpreter");
// FIXME: This is a hack to try to force the driver to do something we can