Skip to content

Commit 117a1b7

Browse files
[lldb][Swift] Update swift performIRGen API
Update lldb's usage of swift compiler API after update.
1 parent c64c118 commit 117a1b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,8 @@ SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
20872087
&parsed_expr->module, IRGenOpts, m_swift_ast_ctx.GetTBDGenOptions(),
20882088
std::move(sil_module), "lldb_module",
20892089
swift::PrimarySpecificPaths("", parsed_expr->main_filename),
2090-
llvm::ArrayRef<std::string>(), llvm::ArrayRef<std::string>());
2090+
/*CAS=*/nullptr, llvm::ArrayRef<std::string>(),
2091+
llvm::ArrayRef<std::string>());
20912092

20922093
if (GenModule) {
20932094
swift::performLLVMOptimizations(

0 commit comments

Comments
 (0)