mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Driver] For the persistent PCH job there is no output path, the frontend determines the filename to use.
Previously the parseable output would have an empty string as the output of the PCH job, this fixes the issue.
This commit is contained in:
@@ -808,7 +808,10 @@ ToolChain::constructInvocation(const GeneratePCHJobAction &job,
|
||||
const JobContext &context) const {
|
||||
assert(context.Inputs.empty());
|
||||
assert(context.InputActions.size() == 1);
|
||||
assert(context.Output.getPrimaryOutputType() == types::TY_PCH);
|
||||
assert((!job.isPersistentPCH() &&
|
||||
context.Output.getPrimaryOutputType() == types::TY_PCH) ||
|
||||
(job.isPersistentPCH() &&
|
||||
context.Output.getPrimaryOutputType() == types::TY_Nothing));
|
||||
|
||||
ArgStringList Arguments;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user