Commit 916d857
committed
[PCH][OutputFileMap] GeneratePCH output should use single output entry
The build system has been emitting the output path of generating PCH job
in the module level entry in the output file map, while swift-driver is
expecting the entry in an entry that accosiated with imported bridging
header.
This patch unifies the behavior by picking the implementation of the
swift-build, where it is a module level entry. This works better for
future when bridging header can be chained, thus creating PCH job even
there isn't a imported objc header explicitly provided.
rdar://1463953161 parent a9afe15 commit 916d857
File tree
2 files changed
+34
-3
lines changed- Sources/SwiftDriver/Driver
- Tests/SwiftDriverTests
2 files changed
+34
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3133 | 3133 | | |
3134 | 3134 | | |
3135 | 3135 | | |
3136 | | - | |
3137 | | - | |
| 3136 | + | |
3138 | 3137 | | |
3139 | 3138 | | |
3140 | 3139 | | |
| |||
3154 | 3153 | | |
3155 | 3154 | | |
3156 | 3155 | | |
3157 | | - | |
| 3156 | + | |
3158 | 3157 | | |
3159 | 3158 | | |
3160 | 3159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1433 | 1433 | | |
1434 | 1434 | | |
1435 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
1436 | 1468 | | |
1437 | 1469 | | |
1438 | 1470 | | |
| |||
0 commit comments