Throwing the -profilenew switch to the compiler will case file, line, and function data to be added to the call. druntime's default behavior with this will be to report every location that allocates memory and how much memory. The user will be able to provide their own logging capability by overriding the default functions in druntime. An initial implementation: https://github.com/D-Programming-Language/dmd/pull/4621
This seems to have been fixed, since profile=gc exists for some time.