mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -1307,6 +1307,11 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.DebugPrefixMap.addMapping(SplitMap.first, SplitMap.second);
|
||||
}
|
||||
|
||||
for (auto A : Args.getAllArgValues(options::OPT_coverage_prefix_map)) {
|
||||
auto SplitMap = StringRef(A).split('=');
|
||||
Opts.CoveragePrefixMap.addMapping(SplitMap.first, SplitMap.second);
|
||||
}
|
||||
|
||||
for (const Arg *A : Args.filtered(OPT_Xcc)) {
|
||||
StringRef Opt = A->getValue();
|
||||
if (Opt.startswith("-D") || Opt.startswith("-U"))
|
||||
|
||||
Reference in New Issue
Block a user