[llvm-commits] [llvm] r134907 - /llvm/trunk/utils/TableGen/

David A. Greene greened at obbligato.org
Mon Jul 11 16:48:08 PDT 2011


Francois Pichet <pichet2000 at gmail.com> writes:

> I started the VC++ debugger on tblgen and the pure function call is on
> line 71 of file Support\Allocator.cpp:
>>    Allocator.Deallocate(Slab);
>
> This is during doexit() after main has finished.. static variable
> destructor i suppose.
>
> I suspect a memory corruption.

I ran valgrind on a gcc-compiled tblgen on Linux and didn't see any
obvious errors.  Lots of leaks, but that's a separate issue.  It doesn't
mean there's not a problem, just that I can't see it at all.

Is there a similar memory analysis tool available for Windows that you
could run?

Evan, could you go back to the old version of Clang you were using to
build and do a valgrind run on the resulting executable?  That might
help us track this down.

                                 -Dave



More information about the llvm-commits mailing list