Skip to content

Commit f1bef94

Browse files
authored
Merge pull request #78551 from ahoppen/module-alias-in-old-driver
[Driver] Forward the `-module-alias` arguments from the driver to the frontend
2 parents 00b9dd5 + 175ef25 commit f1bef94

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
@@ -351,6 +351,7 @@ void ToolChain::addCommonFrontendArgs(const OutputInfo &OI,
351351
inputArgs.AddLastArg(arguments, options::OPT_enable_builtin_module);
352352
inputArgs.AddLastArg(arguments, options::OPT_compiler_assertions);
353353
inputArgs.AddLastArg(arguments, options::OPT_load_pass_plugin_EQ);
354+
inputArgs.AddAllArgs(arguments, options::OPT_module_alias);
354355

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

0 commit comments

Comments
 (0)