Fix PR4948 (and a leak): by not destroying the DwarfException
commita24946acb21bffc40e9054f7ac25eb9319b406d8
authorDuncan Sands <baldrick@free.fr>
Fri, 11 Sep 2009 17:24:29 +0000 (11 17:24 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 11 Sep 2009 17:24:29 +0000 (11 17:24 +0000)
tree7a011e30c56eb7c36c732b9e02e4ce81c661549d
parent6cd70ca0ab41c5eab214b92689b072f3fe53bb37
Fix PR4948 (and a leak): by not destroying the DwarfException
object, the timer it creates was not being deleted.  Since the
timer belonged to a static timer group, the timer group would
be destroyed on shutdown, and would notice and complain that
not all timers it contained were destroyed.

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