[LLVMdev] Releasing Module memory
Michael Smith
Michael.Smith at synopsys.com
Fri Dec 2 17:40:03 PST 2011
After I've dumped a Module to disk, I'd like to delete all the memory needed for it. I've looked at the Module destructor, but I don't see anything that looks like it's deleting all the Functions, BasicBlocks, Instructions, Values that are attached to the Module.
What should I do to free up all the memory used while creating that Module?
Regards,
Michael Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111202/acf826a2/attachment.html>
More information about the llvm-dev
mailing list