[llvm-commits] [llvm] r132174 - /llvm/trunk/lib/MC/MCStreamer.cpp

Rafael Avila de Espindola rafael.espindola at gmail.com
Fri May 27 07:27:18 PDT 2011


On 11-05-26 10:01 PM, Charles Davis wrote:
> Author: cdavis
> Date: Thu May 26 21:01:08 2011
> New Revision: 132174
>
> URL: http://llvm.org/viewvc/llvm-project?rev=132174&view=rev
> Log:
> My attempt at fixing the leak reported by the valgrind buildbots. Valgrind will
> still report leaks, but they're spurious now. Valgrind cannot peer into
> std::vector objects--or any dynamic array, for that matter--because it doesn't
> know how big the array is.

This is not accurate. Valgrind replaces all the memory allocation 
functions so it knows where any pointers might be.

Cheers,
Rafael



More information about the llvm-commits mailing list