I'm not sure what to do for this, so I'm just noting my analysis for now.
new-cpp and overloaded-new work with the regular expecteds when built with clang
There is a problem with the GCC build. On Linux, the vgtest file adds a load of --ignore-fn arguments to filter out memory allocated by libstc++ from the massif measurements. That seems to work with and without debuginfo.
On FreeBSD, firstly there is no debuginfo for pkg/port GCC+libstc++, unless you build from ports and change the build options. Which no-one is going to do. Secondly, Valgrind is not seeing any function names. This can be observed by forcing memcheck to show the 'leak' , for instance
I'm not sure what to do for this, so I'm just noting my analysis for now.
new-cpp and overloaded-new work with the regular expecteds when built with clang
There is a problem with the GCC build. On Linux, the vgtest file adds a load of --ignore-fn arguments to filter out memory allocated by libstc++ from the massif measurements. That seems to work with and without debuginfo.
On FreeBSD, firstly there is no debuginfo for pkg/port GCC+libstc++, unless you build from ports and change the build options. Which no-one is going to do. Secondly, Valgrind is not seeing any function names. This can be observed by forcing memcheck to show the 'leak' , for instance
On linux I get something like