diff options
author | Manman Ren <mren@apple.com> | 2013-01-31 20:05:14 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-01-31 20:05:14 +0000 |
commit | 8b15d74434dfde5ea9227b985c2c934f62bf03a7 (patch) | |
tree | 8f5b1e57364303e2931e5750a276970de4937d1a /lib/CodeGen/SelectionDAG | |
parent | 108fb3202af6f500073cdbb7be32c25d7a273a2e (diff) |
[Dwarf] early exit to avoid creating dangling DIEs
We used to create children DIEs for a scope, then check whether ScopeDIE is
null. If ScopeDIE is null, the children DIEs will be dangling. Other DIEs can
link to those dangling DIEs, which are not emitted at all, causing dwarf error.
The current testing case is 4k lines, from MultiSource/BenchMark/McCat/09-vor.
rdar://problem/13071959
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions