Displaying 2 results from an estimated 2 matches for "memcleanup".
Did you mean:
_mcleanup
2004 Nov 15
0
[LLVMdev] LLVM and memory leaks
...s.
I dropped the memory pool thing because the use lists always 'new' one
element, so I could not avoid calling the destructors of the constants
even if they have no (real) uses...
m.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: memcleanup.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041115/1edddba3/attachment.txt>
2004 Nov 12
2
[LLVMdev] LLVM and memory leaks
On Thu, 11 Nov 2004, Morten Ofstad wrote:
> Well, I already tried that, but the destructors crash because they are
> referencing other things which are being destroyed - Constants are Users
> of each other and there is no easy way to destroy them in the right
> order.
There are ways around this, but it turns into a two-pass operation: loop
over all constants to drop their uses, then