[LLVMdev] Memory leaks in LLVM on linux

Villmow, Micah Micah.Villmow at amd.com
Fri Jan 13 10:22:59 PST 2012


Chris,
 I'm using a llvm_shutdown_obj object and it calls llvm_shutdown when I delete it. Do I need to call llvm_shutdown() again afterwards? It looks to me like the static object is being created after my program exits main().

From: Chris Lattner [mailto:clattner at apple.com]
Sent: Friday, January 13, 2012 10:11 AM
To: Villmow, Micah
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Memory leaks in LLVM on linux


On Jan 13, 2012, at 10:08 AM, Villmow, Micah wrote:



Are these known issues? If so, how do I free this memory?


Hi Micah,

Please try calling llvm_shutdown()

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120113/eb712b8d/attachment.html>


More information about the llvm-dev mailing list