summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-01-31 20:05:14 +0000
committerManman Ren <mren@apple.com>2013-01-31 20:05:14 +0000
commit53f3f9f0cbc3688a9ed77b185b70c2ef608d4481 (patch)
tree3aa43db51b9dd5fcb9239dad46f95a3ebfa1087c /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentdf782d222529e1ed1d81488a32ee8b5958225a12 (diff)
downloadbcm5719-llvm-53f3f9f0cbc3688a9ed77b185b70c2ef608d4481.tar.gz
bcm5719-llvm-53f3f9f0cbc3688a9ed77b185b70c2ef608d4481.zip
[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 llvm-svn: 174084
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud