Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValue
authorJeffrey Yasskin <jyasskin@google.com>
Mon, 22 Mar 2010 18:47:14 +0000 (18:47 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Mon, 22 Mar 2010 18:47:14 +0000 (18:47 +0000)
commit638fe8dd62f0bd37a0ae7374eea280c224a84b6f
tree3a94a7f3218e7edab94615767ad1da9875c29fe1
parentfc91114a2e622776d003d121eebc3c1b79f418f3
Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValue
it allocates to DwarfDebug::DIEValues.

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