forked from OSchip/llvm-project
Use getProcessTriple in clang-interpreter.
llvm-svn: 172664
This commit is contained in:
parent
04700d5564
commit
e8baf33712
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue