Commit d9c3e6d
committed
[-debug-module-path] Prefer the moduleOutputInfo.output path if available.
While testing the LLDB support for enhanced module tracking I noticed
that the driver currently always uses a relative path for
-debug-module-path, which is an obvious problem when compiling in a
different directory, or if the swift module output is in a different
path than the object file output. This patch addresses this by
preferring moduleOutputInfo.output if available.
rdar://1645242411 parent c3e6a55 commit d9c3e6d
File tree
2 files changed
+7
-1
lines changed- Sources/SwiftDriver/Jobs
- Tests/SwiftDriverTests
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
1078 | 1082 | | |
1079 | 1083 | | |
1080 | 1084 | | |
| |||
0 commit comments