serialization: encode allowable client names in binary module format

This commit is contained in:
Xi Ge
2022-11-25 10:47:51 -08:00
parent 1f3e159cfe
commit 67bbab7e02
15 changed files with 61 additions and 2 deletions

View File

@@ -88,6 +88,9 @@ class ModuleFileSharedCore {
/// \c true if this module was compiled with -enable-ossa-modules.
bool RequiresOSSAModules;
/// An array of module names that are allowed to import this one.
ArrayRef<StringRef> AllowableClientNames;
public:
/// Represents another module that has been imported as a dependency.
class Dependency {