Skip to content

Commit e72497d

Browse files
committed
1. Rename -debug-compilation-dir with -file-compilation-dir to make it more general
2. Update Options.swift with makeOptions
1 parent 322d6f7 commit e72497d

File tree

3 files changed

+32
-17
lines changed

3 files changed

+32
-17
lines changed

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ extension Driver {
256256
commandLine.appendFlag(.enableAnonymousContextMangledNames)
257257
}
258258

259-
try commandLine.appendAll(.debugCompilationDir, from: &parsedOptions)
259+
// TODO: Should we support -fcoverage-compilation-dir?
260+
try commandLine.appendAll(.fileCompilationDir, from: &parsedOptions)
260261
}
261262

262263
// Pass through any subsystem flags.

0 commit comments

Comments
 (0)