Skip to content

Commit 8d2d6b6

Browse files
authored
Merge pull request #968 from pofat/support_debug_compilation_dir
Support `-file-compilation-dir`
2 parents eca12ad + e72497d commit 8d2d6b6

File tree

3 files changed

+39
-9
lines changed

3 files changed

+39
-9
lines changed

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ extension Driver {
255255
if shouldSupportAnonymousContextMangledNames {
256256
commandLine.appendFlag(.enableAnonymousContextMangledNames)
257257
}
258+
259+
// TODO: Should we support -fcoverage-compilation-dir?
260+
try commandLine.appendAll(.fileCompilationDir, from: &parsedOptions)
258261
}
259262

260263
// Pass through any subsystem flags.

0 commit comments

Comments
 (0)