|
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
|