diff --git a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp index c25e55dfa61f3..e6b4d9e38c423 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp @@ -1036,10 +1036,7 @@ void SwiftASTContext::SetCompilerInvocationLLDBOverrides() { // In the JIT we don't benefit from the indexed indirections in DWARF 5. ir_gen_opts.DWARFVersion = 4; ir_gen_opts.DebugInfoFormat = swift::IRGenDebugInfoFormat::DWARF; - // Allow deserializing @_implementationOnly dependencies - // to avoid crashing due to module recovery issues. swift::LangOptions &lang_opts = m_compiler_invocation_ap->getLangOptions(); - lang_opts.AllowDeserializingImplementationOnly = true; lang_opts.DebuggerSupport = true; // ModuleFileSharedCore::getTransitiveLoadingBehavior() has a