[Incremental] Plumb -verify-incremental-dependencies Through The Frontend and Driver

When enabled at the driver level, the frontends will inherit the flag. For each frontend that recieves this option, all primaries will have their reference dependencies validated.
This commit is contained in:
Robert Widmann
2020-02-28 15:28:42 -08:00
parent 101dd2d9f7
commit d3edb5b15a
8 changed files with 45 additions and 1 deletions

View File

@@ -254,7 +254,9 @@ static void addCommonFrontendArgs(const ToolChain &TC, const OutputInfo &OI,
inputArgs.AddLastArg(arguments, options::OPT_disable_parser_lookup);
inputArgs.AddLastArg(arguments,
options::OPT_enable_experimental_concise_pound_file);
inputArgs.AddLastArg(arguments,
options::OPT_verify_incremental_dependencies);
// Pass on any build config options
inputArgs.AddAllArgs(arguments, options::OPT_D);