dsymutil: Prune module forward decl DIEs if a uniquable definition was
authorAdrian Prantl <aprantl@apple.com>
Tue, 10 Nov 2015 21:31:05 +0000 (21:31 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 10 Nov 2015 21:31:05 +0000 (21:31 +0000)
commitb29f9e5c41ba6167b32091d818097d1e4f3a3af1
treee9de544607b516127798d1e2dbc90879b090c06d
parentd1fec24fb5de8fe9ff65258a79989b7d7694c441
dsymutil: Prune module forward decl DIEs if a uniquable definition was
already emitted and fix a latent bug in DIECloner where the DW_CHILDREN_yes
flag is set based on the number of children in the input DIE rather than
the number of children that are actually being cloned.

rdar://problem/23439845

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252649 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/X86/modules.m
test/tools/dsymutil/X86/submodules.m
tools/dsymutil/DwarfLinker.cpp