|
From: Benoit P. <ben...@en...> - 2005-04-25 15:56:22
|
Le lun 25/04/2005 =E0 17:42, Nicholas Nethercote a =E9crit : > On Mon, 25 Apr 2005, Benoit Peccatte wrote: >=20 > > In my coverage tool, I need to call VG(demangle). However it is not > > exported from the core. Is there a way to call it properly from a tool = ? >=20 > It would require making it tool-visible by moving it from core.h to=20 > tool.h. Are you printing out function/method names as part of the=20 > coverage information? Exact. > AFAICT a coverage tool will need a couple of other changes to the=20 > core/tool interface -- to provide the ability to get all the debug line=20 > information about a file, which requires one or two extra functions. Yes, now I'm using my own in the tool (mostly pasted from the core), but it would be great if this could be available. > BTW, are you doing this work against the Subversion repository? (See=20 > http://www.valgrind.org/devel/cvs_svn.html) You should do so, as the=20 > intermediate representation has changed significantly in order to support= =20 > multiple architectures such as AMD64 and PPC. Sorry I didn't mention thi= s=20 > earlier. I'm using the svn version from 10 days ago. > How far advanced is your tool? I'll be interested to see how it compares= =20 > with mine :) It should be usable within a few days. |