Author: Argyrios Kyrtzidis Date: 2022-07-26T14:05:22-07:00 New Revision: c5ddacb3b6afe2fd507b5f4a10c32ec00ffb245e
URL: https://github.com/llvm/llvm-project/commit/c5ddacb3b6afe2fd507b5f4a10c32ec00ffb245e DIFF: https://github.com/llvm/llvm-project/commit/c5ddacb3b6afe2fd507b5f4a10c32ec00ffb245e.diff LOG: [lldb/ClangExpressionParser] Fix compiler error due to `clang::CreateLLVMCodeGen()` API change Added: Modified: lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp index fad0f724e4c86..ec3dc28a3a8cc 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp @@ -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; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits