mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 01:25:49 +00:00
DIE: Document some learnings about why the world isn't perfect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -124,6 +124,12 @@ protected:
|
|||||||
|
|
||||||
/// Children DIEs.
|
/// Children DIEs.
|
||||||
///
|
///
|
||||||
|
// This can't be a vector<DIE> because pointer validity is requirent for the
|
||||||
|
// Parent pointer and DIEEntry.
|
||||||
|
// It can't be a list<DIE> because some clients need pointer validity before
|
||||||
|
// the object has been added to any child list
|
||||||
|
// (eg: DwarfUnit::constructVariableDIE). These aren't insurmountable, but may
|
||||||
|
// be more convoluted than beneficial.
|
||||||
std::vector<std::unique_ptr<DIE>> Children;
|
std::vector<std::unique_ptr<DIE>> Children;
|
||||||
|
|
||||||
DIE *Parent;
|
DIE *Parent;
|
||||||
|
Reference in New Issue
Block a user