|
From: Trevor S. <tsp...@ie...> - 2011-05-18 16:52:35
|
Is there a way to omit the parameters from the demangled C++ function
names in valgrind? Templates cause long lines, which then become
difficult to read, and using --demangle=no doesn't help much, mangled
function names are still long and not much easier to read. For example,
if function foo takes a reference to vector of int as an argument,
valgrind shows something like:
foo(std::vector<int, std::allocator<int> > const&) (filename.cpp:100)
This will become much worse for more complicated templates. So my
question is, is there any way to reduce the output to something like this?
foo(...) (filename.cpp:100)
Thanks.
Trevor
|
|
From: Nicholas N. <n.n...@gm...> - 2011-06-01 05:13:21
|
On Thu, May 19, 2011 at 2:52 AM, Trevor Spiteri <tsp...@ie...> wrote: > Is there a way to omit the parameters from the demangled C++ function > names in valgrind? It would be useful, but I don't know how to do it. Nick |