[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:
Jordan Rose
2014-03-20 21:53:48 +00:00
parent 1a25251ea6
commit 1fec0510f7

View File

@@ -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);