mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[driver] Added support for -Xfrontend, which passes arguments through to the frontend.
Swift SVN r11166
This commit is contained in:
@@ -101,7 +101,11 @@ std::unique_ptr<Job> Swift::constructJob(const JobAction &JA,
|
||||
|
||||
// Set the SDK for the frontend.
|
||||
Args.AddLastArg(Arguments, options::OPT_sdk);
|
||||
|
||||
|
||||
// Pass through the values passed to -Xfrontend.
|
||||
Args.AddAllArgValues(Arguments, options::OPT_Xfrontend);
|
||||
|
||||
|
||||
// Add the output file argument.
|
||||
Arguments.push_back("-o");
|
||||
Arguments.push_back(Output->getFilename().data());
|
||||
|
||||
Reference in New Issue
Block a user