[Issue 14527] New: [Enh] Instrument calls to operator new with -profilenew compiler switch
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Apr 29 19:29:13 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14527
Issue ID: 14527
Summary: [Enh] Instrument calls to operator new with
-profilenew compiler switch
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: bugzilla at digitalmars.com
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
--
More information about the Digitalmars-d-bugs
mailing list