Serialize symbol graphs for extended modules separately

When a module extends a type from another module, serialize those symbols into
separated files dedicated to those extended modules. This makes it easier to
ingest and categorize those symbols under the extended module if desired.

rdar://58941718
This commit is contained in:
Ashley Garland
2020-02-06 17:26:15 -08:00
parent be68f864e0
commit 7190073a85
35 changed files with 254 additions and 61 deletions

View File

@@ -823,6 +823,10 @@ public:
return ModuleInputBuffer->getBufferIdentifier();
}
StringRef getTargetTriple() const {
return TargetTriple;
}
/// AST-verify imported decls.
///
/// Has no effect in NDEBUG builds.