Merge pull request #17665 from allevato/debug-prefix-map-wip

Implement -debug-prefix-map flag.
This commit is contained in:
Jordan Rose
2018-07-24 17:34:42 -07:00
committed by GitHub
10 changed files with 133 additions and 17 deletions

View File

@@ -220,6 +220,9 @@ static void addCommonFrontendArgs(const ToolChain &TC, const OutputInfo &OI,
// Pass on any build config options
inputArgs.AddAllArgs(arguments, options::OPT_D);
// Pass on file paths that should be remapped in debug info.
inputArgs.AddAllArgs(arguments, options::OPT_debug_prefix_map);
// Pass through the values passed to -Xfrontend.
inputArgs.AddAllArgValues(arguments, options::OPT_Xfrontend);