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 | 914046e1e7756aad8273f26302d39677648a3acf (patch) | |
tree | e78ee06f3935785439a15301c7ef4f161c702683 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | e68b847fdb347f386e23ebd286dec115996440ee (diff) | |
download | llvm-914046e1e7756aad8273f26302d39677648a3acf.zip llvm-914046e1e7756aad8273f26302d39677648a3acf.tar.gz llvm-914046e1e7756aad8273f26302d39677648a3acf.tar.bz2 |
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.
llvm-svn: 207263
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions