Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/swift/Frontend/ModuleInterfaceLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,9 @@ class ModuleInterfaceLoader : public SerializedModuleLoaderBase {
IgnoreSwiftSourceInfoFile));
}

/// Accessor used by LLDB.
ModuleInterfaceLoaderOptions &getOptions();

/// Append visible module names to \p names. Note that names are possibly
/// duplicated, and not guaranteed to be ordered in any way.
void collectVisibleTopLevelModuleNames(
Expand Down
4 changes: 4 additions & 0 deletions lib/Frontend/ModuleInterfaceLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,10 @@ ModuleInterfaceLoaderOptions::ModuleInterfaceLoaderOptions(
}
}

ModuleInterfaceLoaderOptions &ModuleInterfaceLoader::getOptions() {
return InterfaceChecker.Opts;
}

bool ModuleInterfaceLoader::isCached(StringRef DepPath) {
return InterfaceChecker.isCached(DepPath);
}
Expand Down