mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 06:31:50 +08:00
Fix clang-interpreter build
llvm-svn: 109347
This commit is contained in:
@@ -6,6 +6,7 @@ set(LLVM_USED_LIBS
|
||||
clangCodeGen
|
||||
clangSema
|
||||
clangChecker
|
||||
clangIndex
|
||||
clangAnalysis
|
||||
clangRewrite
|
||||
clangAST
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user