Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down