[LLVMbugs] [Bug 4762] [2.6] double free in Kaleidoscope example

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Aug 23 22:43:00 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4762


reid.kleckner at gmail.com <reid.kleckner at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from reid.kleckner at gmail.com  2009-08-24 00:43:00 ---
I think the bug has been present since the original.  It's creating two
ExistingModuleProviders, both of which delete the module in their dtors.  That
said, it's easy to fix, just pass the ModuleProvider to the EngineBuilder.  I
didn't find any other instances of this bug, and I committed the fix as r79896.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list