DwarfDebug: Move ownership of CompileUnits into DwarfUnits
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 23 Nov 2013 01:17:34 +0000 (01:17 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 23 Nov 2013 01:17:34 +0000 (01:17 +0000)
commita3507d4883b8ec5fd068b28dda7e928f450ba883
tree525936e5f846ec3697db80c0d7c9ea0fbc66c7e4
parentbc8569d0c09368d2375f3b6bb895e07a9e24df41
DwarfDebug: Move ownership of CompileUnits into DwarfUnits

This avoids the need for an extra list of SkeletonCUs and associated
cleanup while staging things to be cleaner for further type unit
improvements.

Also hopefully fixes a memory leak introduced in r195166.

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