Skip to content

Commit fc8b9e1

Browse files
[lldb][Swift] Update swift performIRGen API
Update lldb's usage of swift compiler API after update. (cherry picked from commit 117a1b7)
1 parent 46503fa commit fc8b9e1

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
@@ -2100,7 +2100,8 @@ SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
21002100
&parsed_expr->module, IRGenOpts, m_swift_ast_ctx.GetTBDGenOptions(),
21012101
std::move(sil_module), "lldb_module",
21022102
swift::PrimarySpecificPaths("", parsed_expr->main_filename),
2103-
llvm::ArrayRef<std::string>(), llvm::ArrayRef<std::string>());
2103+
/*CAS=*/nullptr, llvm::ArrayRef<std::string>(),
2104+
llvm::ArrayRef<std::string>());
21042105
if (GenModule) {
21052106
auto parse_result = verify(*GenModule.getModule());
21062107
if (parse_result != ParseResult::success)

0 commit comments

Comments
 (0)