Skip to content

Commit e89fd6a

Browse files
committed
post-merge fixup
1 parent 7499295 commit e89fd6a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/Frontend/ModuleInterfaceLoader.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,15 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
17151715
}
17161716
break;
17171717
}
1718+
case PluginSearchOption::Kind::LoadPlugin: {
1719+
auto &val = entry.get<PluginSearchOption::LoadPlugin>();
1720+
for (auto &moduleName : val.ModuleNames) {
1721+
GenericArgs.push_back("-load-plugin");
1722+
GenericArgs.push_back(
1723+
ArgSaver.save(val.LibraryPath + ":" + val.ServerPath + "#" + moduleName));
1724+
}
1725+
break;
1726+
}
17181727
case PluginSearchOption::Kind::PluginPath: {
17191728
auto &val = entry.get<PluginSearchOption::PluginPath>();
17201729
GenericArgs.push_back("-plugin-path");

0 commit comments

Comments
 (0)