From 4149a757f2f3ebebc96047eb4ac6476b38992b33 Mon Sep 17 00:00:00 2001 From: Artem Chikin Date: Wed, 15 Jul 2020 14:09:50 -0700 Subject: [PATCH] Rename SerializedModuleLoader to match Swift compiler's new API. --- lldb/include/lldb/Core/SwiftForward.h | 2 +- lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/include/lldb/Core/SwiftForward.h b/lldb/include/lldb/Core/SwiftForward.h index b7a78fe8a866d..3e9ecd4e5b466 100644 --- a/lldb/include/lldb/Core/SwiftForward.h +++ b/lldb/include/lldb/Core/SwiftForward.h @@ -49,7 +49,7 @@ class NominalType; class NominalTypeDecl; class ProtocolDecl; class SearchPathOptions; -class SerializedModuleLoader; +class ImplicitSerializedModuleLoader; class ParseableInterfaceModuleLoader; class SILModule; class SILOptions; diff --git a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp index 16489d4840562..d997abae94936 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp @@ -3325,7 +3325,7 @@ swift::ASTContext *SwiftASTContext::GetASTContext() { // 3. Create and install the serialized module loader. std::unique_ptr serialized_module_loader_ap( - swift::SerializedModuleLoader::create( + swift::ImplicitSerializedModuleLoader::create( *m_ast_context_ap, m_dependency_tracker.get(), loading_mode)); if (serialized_module_loader_ap) m_ast_context_ap->addModuleLoader(std::move(serialized_module_loader_ap));