Commit aea091b
[clang][CoverageMapping] do not emit a gap region when either end doesn't have valid source locations (llvm#89564)
Fixes llvm#86998
(cherry picked from commit c1b6cca)1 parent 58648f3 commit aea091b
File tree
2 files changed
+44
-3
lines changed- clang
- lib/CodeGen
- test/CoverageMapping
2 files changed
+44
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
1210 | 1216 | | |
1211 | 1217 | | |
1212 | 1218 | | |
| |||
1370 | 1376 | | |
1371 | 1377 | | |
1372 | 1378 | | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
| 1379 | + | |
| 1380 | + | |
1376 | 1381 | | |
1377 | 1382 | | |
1378 | 1383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments