зеркало из https://github.com/microsoft/clang-1.git
Use getProcessTriple in clang-interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
f109afdc0a
Коммит
804381d8ce
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче