memory allocation in dmd
Martin Nowak
code at dawg.eu
Mon Jun 24 11:47:16 PDT 2013
On 06/23/2013 03:19 AM, Walter Bright wrote:
> On 6/22/2013 4:24 PM, Kiith-Sa wrote:
>> With valgrind; did you use massif?
>> That would be the right tool to use instead of memcheck (the default
>> tool).
>
> I've never heard of massif. Will check it out.
I tried it, works nice. No graphical output though.
1. compile dmd with debug symbols (-g)
2. valgrind --tool=massif ../dmd/src/dmd -main -unittest std/algorithm
3. ms_print massif.out.%PID% > outfile
http://valgrind.org/docs/manual/ms-manual.html
More information about the Digitalmars-d
mailing list