[LLVMdev] Memory leaks in LLVM on linux

Alexander Potapenko ramosian.glider at gmail.com
Tue Jan 17 00:36:29 PST 2012


On Fri, Jan 13, 2012 at 10:31 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote:
> Also, this can be easily reproduced with the following command:
>
> valgrind --tool=memcheck --show-reachable=yes --leak-check=full
> --track-origins=yes --leak-check=full opt -disable-opt -O0 <some random
> bitcode file>
>
>
>
> Micah
>

Hi Micah,

the --show-reachable=yes option of Valgrind is a bit too much for
practical use, see
http://valgrind.org/docs/manual/mc-manual.html#mc-manual.leaks
These leaks are most certainly bound and can't cause major memory
problems during the program execution.

HTH,
Alex



More information about the llvm-dev mailing list