From fc8b9e110b8443ed85b27b81ec3ddcef8c030046 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 17 Nov 2025 10:13:24 -0800 Subject: [PATCH] [lldb][Swift] Update swift performIRGen API Update lldb's usage of swift compiler API after update. (cherry picked from commit 117a1b753e2838d62a4b298d337a5f7f61c6ef05) --- .../Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp index 7799e7b171186..bb6f34fbdfe00 100644 --- a/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp @@ -2100,7 +2100,8 @@ SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager, &parsed_expr->module, IRGenOpts, m_swift_ast_ctx.GetTBDGenOptions(), std::move(sil_module), "lldb_module", swift::PrimarySpecificPaths("", parsed_expr->main_filename), - llvm::ArrayRef(), llvm::ArrayRef()); + /*CAS=*/nullptr, llvm::ArrayRef(), + llvm::ArrayRef()); if (GenModule) { auto parse_result = verify(*GenModule.getModule()); if (parse_result != ParseResult::success)