[dsymutil] Gather the DIE tree child->parent relationships.
authorFrederic Riss <friss@apple.com>
Wed, 28 Jan 2015 22:15:14 +0000 (22:15 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 28 Jan 2015 22:15:14 +0000 (22:15 +0000)
commit3ddec31300922a807b1fa92189991dcbae3794f6
tree770591d83eb80c871f4fc97aa6c592986f1aea9a
parent33c9f17f2c6d09a617fe056dd871240c28938371
[dsymutil] Gather the DIE tree child->parent relationships.

The libDebugInfo DIE parsing doesn't store these relationships, we have to
recompute them. This commit introduces the CompileUnit bookkeeping class to
store this data. It will be expanded with more fields in the future.

No tests as this produces no visible output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227382 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/DwarfLinker.cpp