Skip to content
  • Manman Ren's avatar
    [Dwarf] early exit to avoid creating dangling DIEs · 53f3f9f0
    Manman Ren authored
    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
    53f3f9f0
Loading