Commit Graph

2 Commits

Author SHA1 Message Date
Adrian Prantl
59226f383d Debug Info: Fix a backend crash by removing obsolete linetable heuristics.
Recent versions of LLDB can deal with line 0 locations much better and
due to a subtle bug in the heuristic instructions immediately following
the prologue could end up without debug locations which can cause serious
problems for the LLVM inliner when constructing inline debug scope info.

<rdar://problem/24394944>
2016-02-01 13:05:52 -08:00
Adrian Prantl
d1ec8a225b Debug Info: Ensure that patterns bound in a foreach stmt end up in their
own debug scope.

rdar://problem/22677613

Swift SVN r31996
2015-09-16 17:30:14 +00:00