Fix clang-interpreter build

llvm-svn: 109347
This commit is contained in:
Peter Collingbourne
2010-07-24 17:59:51 +00:00
parent b724226063
commit 5a75e1ae07
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ set(LLVM_USED_LIBS
clangCodeGen
clangSema
clangChecker
clangIndex
clangAnalysis
clangRewrite
clangAST

View File

@@ -69,8 +69,7 @@ int main(int argc, const char **argv, char * const *envp) {
TextDiagnosticPrinter DiagClient(llvm::errs(), DiagnosticOptions());
Diagnostic Diags(&DiagClient);
Driver TheDriver(Path.getBasename(), Path.getDirname(),
llvm::sys::getHostTriple(),
Driver TheDriver(Path.str(), llvm::sys::getHostTriple(),
"a.out", /*IsProduction=*/false, /*CXXIsProduction=*/false,
Diags);
TheDriver.setTitle("clang interpreter");