mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Record parseable interface imports in the debug info.
When a Swift module built with debug info imports a library without debug info from a textual interface, the textual interface is necessary to reconstruct types defined in the library's interface. By recording the Swift interface files in DWARF dsymutil can collect them and LLDB can find them. rdar://problem/49751363
This commit is contained in:
@@ -1332,6 +1332,11 @@ ModuleFile::ModuleFile(
|
||||
SearchPaths.push_back({blobData, isFramework, isSystem});
|
||||
break;
|
||||
}
|
||||
case input_block::PARSEABLE_INTERFACE_PATH: {
|
||||
if (extInfo)
|
||||
extInfo->setParseableInterface(blobData);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
// Unknown input kind, possibly for use by a future version of the
|
||||
// module format.
|
||||
|
||||
Reference in New Issue
Block a user