Skip to content

Commit 425d318

Browse files
committed
[Driver] Forward the -module-alias arguments from the driver to the frontend
1 parent c0ad0b6 commit 425d318

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Driver/ToolChains.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ void ToolChain::addCommonFrontendArgs(const OutputInfo &OI,
350350
inputArgs.AddLastArg(arguments, options::OPT_enable_builtin_module);
351351
inputArgs.AddLastArg(arguments, options::OPT_compiler_assertions);
352352
inputArgs.AddLastArg(arguments, options::OPT_load_pass_plugin_EQ);
353+
inputArgs.AddAllArgs(arguments, options::OPT_module_alias);
353354

354355
// Pass on any build config options
355356
inputArgs.AddAllArgs(arguments, options::OPT_D);

0 commit comments

Comments
 (0)