[DWARF parser] Compress DIEMinimal even further, simplify building DIE tree.
authorAlexey Samsonov <samsonov@google.com>
Tue, 29 Apr 2014 17:12:42 +0000 (17:12 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 29 Apr 2014 17:12:42 +0000 (17:12 +0000)
commitb58db2293dff0eb47d9e16a8482b32e2008b68e4
treeb99c2fdc50c13024bfa468a3e8e0eab5eca13181
parentf38f17c463cae4ffae73336fa5b738241fd55d3a
[DWARF parser] Compress DIEMinimal even further, simplify building DIE tree.

DIE doesn't need to store a pointer to its parent: we can traverse the DIE tree
only with functions getFirstChild() and getSibling(). Parents must be known
only when we construct the tree. Rewrite setDIERelations() procedure in a more
straightforward way, and get rid of lots of now unused DIEMinimal methods.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFDebugInfoEntry.h
lib/DebugInfo/DWARFUnit.cpp