Commit 7d4f7bd
committed
SILVerifier: fix a wrong debug-scope verifier crash
Remove the "initialization loop" for LastSeenScope in verifyDebugScopeHoles.
It's not required because LastSeenScope is initialized the same way in the main loop.
And most importantly: this loop was missing the check for cleanup locations.
rdar://753746711 parent 126850e commit 7d4f7bd
File tree
2 files changed
+10
-7
lines changed- lib/SIL/Verifier
- test/DebugInfo
2 files changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5465 | 5465 | | |
5466 | 5466 | | |
5467 | 5467 | | |
5468 | | - | |
5469 | | - | |
5470 | | - | |
5471 | | - | |
5472 | | - | |
5473 | | - | |
5474 | | - | |
5475 | 5468 | | |
5476 | 5469 | | |
5477 | 5470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments