mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ClangImporter] Set the debug info level to full debug info.
Upstream clang has introduced a new default level for Linux that sits between no debug info and full debug info.
This commit is contained in:
@@ -2089,6 +2089,12 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
GenericArgs.push_back("-enable-experimental-feature");
|
||||
GenericArgs.push_back("Embedded");
|
||||
}
|
||||
|
||||
if (langOpts.DebuggerSupport) {
|
||||
subClangImporterOpts.ExtraArgs.push_back("-gmodules");
|
||||
subClangImporterOpts.ExtraArgs.push_back("-g");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// Calculate an output filename in \p genericSubInvocation's cache path that
|
||||
|
||||
Reference in New Issue
Block a user