commit | 12d5224df6df05dc1189788591c381f467f5ff25 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Fri Apr 25 20:00:34 2014 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Fri Apr 25 20:00:34 2014 +0000 |
tree | bad04f40bd47ad13a98b05e748fc1e4de4dfb23f | |
parent | 172515f0be61f91c3a67206c6627c5e2572bdb26 [diff] |
DIE: Pass ownership of children via std::unique_ptr rather than raw pointer. This should reduce the chance of memory leaks like those fixed in r207240. There's still some unclear ownership of DIEs happening in DwarfDebug. Pushing unique_ptr and references through more APIs should help expose the cases where ownership is a bit fuzzy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207263 91177308-0d34-0410-b5e6-96231b3b80d8