Use std::unique_ptr for DIE children
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 14 Apr 2014 22:45:02 +0000 (22:45 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 14 Apr 2014 22:45:02 +0000 (22:45 +0000)
commit40352669ba5a42c22395abf03e289c4f2ee9ec47
tree83ebabbbfa5cd80018f0e3fcb2a34dfe1e0fdd84
parentfdf3f439ebd999c6f7084fde89ccad503ea7b3f9
Use std::unique_ptr for DIE children

Got bored, removed some manual memory management.

Pushed references (rather than pointers) through a few APIs rather than
replacing *x with x.get().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206222 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DIE.h
lib/CodeGen/AsmPrinter/DIEHash.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h