Commit 99f1c1b
committed
[SwiftCaching] Don't drop
When using swift caching, `-Xcc` should not be appended to compilation
commmands because dependency scanner returns the cc1 command needed to
create clang importer. But `-Xcc` options were accidentally dropped from
scan-dependencies command, causing them to be ignored.
rdar://119391228-Xcc during dependency scanning1 parent 0afa340 commit 99f1c1b
File tree
2 files changed
+11
-1
lines changed- Sources/SwiftDriver/Jobs
- Tests/SwiftDriverTests
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
| 391 | + | |
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
602 | 606 | | |
603 | 607 | | |
604 | 608 | | |
| |||
615 | 619 | | |
616 | 620 | | |
617 | 621 | | |
| 622 | + | |
618 | 623 | | |
619 | 624 | | |
620 | 625 | | |
| |||
642 | 647 | | |
643 | 648 | | |
644 | 649 | | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
645 | 654 | | |
646 | 655 | | |
647 | 656 | | |
| |||
0 commit comments