On Friday, March 02, 2012, SFBay Area wrote:
> Hi,
> 
> I have started coding in C++ and use a lot of templates, and I do mean a
> lot. Unfortunately, my type names became way too long for Valgrind to
> handle. Currently, it seems that it cuts the type name at around 4100
> characters (slightly less than that). That is not much of a problem per se,
> but it means I do not know where the error is reported to be (the file+line
> number combination is missing).  Any idea where the error message length is
> specified? I am using memcheck and the newest stable Valgrind 3.7.0.

It might be BUF_LEN defined in VG_(describe_IP) in
coregrind/m_debuginfo/debuginfo.c, currently 4096.
Alternatively you can use --demangle=no and demangle
the output by hand by pushing it through c++filt.

J

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to