> void* __intercept_delete__(void*, const std::type_info&); I'm concerned about passing the type in here: the type need not match the type passed to the new interceptor. Also, do you really want to intercept placement-new?
I wonder whether this would be better addressed by adding a specific form of operator new, which is passed the type_info in addition to the usual parameters? http://llvm-reviews.chandlerc.com/D298 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
