We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9261ad4 commit bd3e758Copy full SHA for bd3e758
lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp
@@ -1033,6 +1033,9 @@ void SwiftASTContext::SetCompilerInvocationLLDBOverrides() {
1033
m_compiler_invocation_ap->getIRGenOptions();
1034
ir_gen_opts.OutputKind = swift::IRGenOutputKind::Module;
1035
ir_gen_opts.UseJIT = true;
1036
+ // In the JIT we don't benefit from the indexed indirections in DWARF 5.
1037
+ ir_gen_opts.DWARFVersion = 4;
1038
+ ir_gen_opts.DebugInfoFormat = swift::IRGenDebugInfoFormat::DWARF;
1039
// Allow deserializing @_implementationOnly dependencies
1040
// to avoid crashing due to module recovery issues.
1041
swift::LangOptions &lang_opts = m_compiler_invocation_ap->getLangOptions();
0 commit comments