diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-04-25 20:00:34 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-04-25 20:00:34 +0000 |
| commit | 12d5224df6df05dc1189788591c381f467f5ff25 (patch) | |
| tree | bad04f40bd47ad13a98b05e748fc1e4de4dfb23f /lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | 172515f0be61f91c3a67206c6627c5e2572bdb26 (diff) | |
| download | llvm-12d5224df6df05dc1189788591c381f467f5ff25.tar.gz llvm-12d5224df6df05dc1189788591c381f467f5ff25.tar.bz2 llvm-12d5224df6df05dc1189788591c381f467f5ff25.tar.xz | |
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
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
