[llvm-commits] [PATCH] Delete the CompileUnits that DwarfDebug allocates

Jeffrey Yasskin jyasskin at google.com
Sat Mar 6 15:20:16 PST 2010


On Sat, Mar 6, 2010 at 1:51 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> DwarfDebug new's CompileUnits in beginModule() but never deleted them.
> This patch deletes them in endModule(), but I don't know enough about
> how DwarfDebug is used to know for sure that's right. Please
> double-check it.

Here's a new patch which also destroys the DbgScopes. I'm still
working on testing it against the FrontendC* set. It passes the rest
of check-lit.
This should enable my MDNode deletion patch to go in, but I haven't
tested that again either.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delete_cu_and_dbgscopes.patch
Type: application/octet-stream
Size: 7566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100306/3994f522/attachment.obj>


More information about the llvm-commits mailing list