[ModuleInterface] Conditionalize .swiftinterface loading by -enable-parseable-module-interface

This commit is contained in:
Graydon Hoare
2018-10-11 14:24:20 -07:00
parent 4f315363f8
commit 410fc10045
5 changed files with 12 additions and 1 deletions

View File

@@ -191,6 +191,7 @@ static void addCommonFrontendArgs(const ToolChain &TC, const OutputInfo &OI,
inputArgs.AddLastArg(arguments, options::OPT_import_underlying_module);
inputArgs.AddLastArg(arguments, options::OPT_module_cache_path);
inputArgs.AddLastArg(arguments, options::OPT_module_link_name);
inputArgs.AddLastArg(arguments, options::OPT_enable_parseable_module_interface);
inputArgs.AddLastArg(arguments, options::OPT_nostdimport);
inputArgs.AddLastArg(arguments, options::OPT_parse_stdlib);
inputArgs.AddLastArg(arguments, options::OPT_resource_dir);