mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #17665 from allevato/debug-prefix-map-wip
Implement -debug-prefix-map flag.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user