On Jun 23, 2010, at 5:59 AM CDT, Satya V. Gupta wrote:

> Would you happen to know if c++filt requires the instrumented process to be
> running in order for it to do the translation? Or is the required
> information already present in the Valgrind trace for c++filt to do this
> translation independently? My device ends up in an "out of memory" situation
> soon with Valgrind running - so if c++filt needs the process to be up then I
> wouldn't know how to get c++filt that information.

No.  It is purely a mechanical transformation that is applied to the text 
strings:

-----8<-----
% c++filt __ZN3MPI4File11Read_at_allExPviRKNS_8DatatypeE
MPI::File::Read_at_all(long long, void*, int, MPI::Datatype const&)
-----8<-----

It has nothing to do with the executable or process or debug info.

-----8<-----
c++filt __ZN1I4MADE4this2UpEi
I::MADE::this::Up(int)
-----8<-----

-Dave


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to