[LLVMdev] GSoC'09 question - previous mail w/o html

Dan Gohman gohman at apple.com
Fri Mar 27 18:15:09 PDT 2009


On Mar 26, 2009, at 8:28 AM, Mihai Balint wrote:
>
> This summer however, I plan to create an "optimization" that
> automatically fixes memory leaks in programs - obviously only those
> that can be fixed with the available information, for example:

Hello,

This doesn't sound advisable.  A memory leak in a normal C/C++ program
is a bug, so this wouldn't be an optimization -- it'd be a  
transformation that
unreliably hides bugs.

Dan




More information about the llvm-dev mailing list