On Sunday, 13 October 2013 at 13:46:13 UTC, develop32 wrote:
My question is, are there any more places in druntime that I can change so that I will get a notification when allocation occurs, besides _d_allocmemory?
I set breakpoints on gc_malloc and gc_qalloc too. I'm pretty sure they catch more than d_allocmemory.
qalloc in particular catches accidental usage of array literals. Yes, they always allocate at runtime unless specifically marked static... i'd love for that to change!
