forked from OSchip/llvm-project
[lldb/ClangExpressionParser] Fix compiler error due to `clang::CreateLLVMCodeGen()` API change
This commit is contained in:
parent
8dfaecc4c2
commit
c5ddacb3b6
|
@ -722,8 +722,9 @@ ClangExpressionParser::ClangExpressionParser(
|
|||
m_llvm_context = std::make_unique<LLVMContext>();
|
||||
m_code_generator.reset(CreateLLVMCodeGen(
|
||||
m_compiler->getDiagnostics(), module_name,
|
||||
m_compiler->getHeaderSearchOpts(), m_compiler->getPreprocessorOpts(),
|
||||
m_compiler->getCodeGenOpts(), *m_llvm_context));
|
||||
&m_compiler->getVirtualFileSystem(), m_compiler->getHeaderSearchOpts(),
|
||||
m_compiler->getPreprocessorOpts(), m_compiler->getCodeGenOpts(),
|
||||
*m_llvm_context));
|
||||
}
|
||||
|
||||
ClangExpressionParser::~ClangExpressionParser() = default;
|
||||
|
|
Loading…
Reference in New Issue