mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[driver] Pass -Xcc options down to frontend tools.
These options are supposed to go to the Clang importer, but we were just dropping them on the floor. Swift SVN r15300
This commit is contained in:
@@ -118,8 +118,9 @@ static void addCommonFrontendArgs(const ToolChain &TC,
|
||||
// Pass through the values passed to -Xfrontend.
|
||||
inputArgs.AddAllArgValues(arguments, options::OPT_Xfrontend);
|
||||
|
||||
// Pass through any -Xllvm flags.
|
||||
// Pass through any subsystem flags.
|
||||
inputArgs.AddAllArgs(arguments, options::OPT_Xllvm);
|
||||
inputArgs.AddAllArgs(arguments, options::OPT_Xcc);
|
||||
|
||||
const std::string &moduleDocOutputPath =
|
||||
output->getAdditionalOutputForType(types::TY_SwiftModuleDocFile);
|
||||
|
||||
Reference in New Issue
Block a user