On Thu, 2015-06-04 at 16:08 +0530, Suryansh Kumar wrote:
> Is it even possible to use valgrind on the plugin? I've searched up on
> this a lot but haven't found any concrete answer on it.
Yes, valgrind works with dynamically loaded .so
I guess that the plugin is not loaded by gcc itself, but rathe
I want to use Valgrind on a dynamically linked GCC plugin, and use
massif to find the heap usage and Callgrind to view the callgraph
showing each function used in the plugin. I am running the GCC plugin
as follows:
$gcc -fplugin=./plugin.so myfile.c
When I run the following command, valgrind