Move VG_(am_get_filename) to the tool accessible aspacemgr header file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5141
This commit is contained in:
Tom Hughes 2005-11-16 00:11:14 +00:00
parent 15300b2f2f
commit e9b07e443e
2 changed files with 5 additions and 1 deletions

View File

@ -103,7 +103,8 @@ extern void VG_(am_show_nsegments) ( Int logLevel, HChar* who );
has one. The returned name's storage cannot be assumed to be
persistent, so the caller should immediately copy the name
elsewhere. */
extern HChar* VG_(am_get_filename)( NSegment* );
// Is in tool-visible header file.
// extern HChar* VG_(am_get_filename)( NSegment* );
/* VG_(am_get_segment_starts) is also part of this section, but its
prototype is tool-visible, hence not in this header file. */

View File

@ -136,6 +136,9 @@ extern Int VG_(am_get_segment_starts)( Addr* starts, Int nStarts );
// See pub_core_aspacemgr.h for description.
extern NSegment* VG_(am_find_nsegment) ( Addr a );
// See pub_core_aspacemgr.h for description.
extern HChar* VG_(am_get_filename)( NSegment* );
// See pub_core_aspacemgr.h for description.
extern Bool VG_(am_is_valid_for_client) ( Addr start, SizeT len,
UInt prot );