inverse of std.demangle?

Jacob Carlborg doob at me.com
Thu Jul 11 23:30:31 PDT 2013


On 2013-07-11 19:00, Adam D. Ruppe 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 druntime).

That's a good tip. I'm going to start using that.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list