Commit 7f954b0
committed
[clang] Fix assertion failure using -MJ with -fsyntax-only
If there is no output filename we should not assert when writing output
for -MJ.
Differential Revision: https://reviews.llvm.org/D159016
(cherry picked from commit aca23d8)1 parent 6abb5d1 commit 7f954b0
File tree
2 files changed
+14
-2
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2446 | 2446 | | |
2447 | 2447 | | |
2448 | 2448 | | |
2449 | | - | |
| 2449 | + | |
| 2450 | + | |
2450 | 2451 | | |
2451 | 2452 | | |
2452 | 2453 | | |
| |||
2458 | 2459 | | |
2459 | 2460 | | |
2460 | 2461 | | |
2461 | | - | |
| 2462 | + | |
| 2463 | + | |
2462 | 2464 | | |
2463 | 2465 | | |
2464 | 2466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
10 | 20 | | |
11 | 21 | | |
0 commit comments