inverse of std.demangle?

Sean Kelly sean at invisibleduck.org
Thu Jul 11 10:07:46 PDT 2013


On Jul 11, 2013, at 10:00 AM, "Adam D. Ruppe" <destructionator at gmail.com> wrote:

> BTW if you guys are wondering how I found the allocations, it was pretty simple:
> 
> dmd mangle.d -debug -gc
> gdb ./mangle
> 
> break gc_malloc
> break gc_qalloc
> r
> 
> 
> Then when it breaks, do "where" and see what called the gc alloc. Then hit "c" to continue and repeat until you've found and fixed them (or ignored if they are in runtime).

I usually grep the output of obj2asm.  Your way sounds easier :-)


More information about the Digitalmars-d-learn mailing list