[PATCH] Intercept allocation to skim allocated types

John McCall rjmccall at apple.com
Wed Jan 30 10:27:12 PST 2013


On Jan 30, 2013, at 2:42 AM, Dai MIKURUBE <dmikurube at acm.org> wrote:
>  Hello, what do you think about it, John and Richard?

To be frank, the more I look at it, the more this seems like a very questionable language extension.  It adds a lot of linguistic and implementation complexity to some already-quite-complex parts of the language and implementation, all to benefit the approximately 0% of users that will know about and enable the feature.

My understanding is that you'd just like to be able to track what types are being allocated.  Perhaps it would be better to replace operator new, record return addresses, and then somehow map those back to source code?

John.



More information about the cfe-commits mailing list