From: Tom Hughes Date: Wed, 16 Nov 2005 00:11:14 +0000 (+0000) Subject: Move VG_(am_get_filename) to the tool accessible aspacemgr header file. X-Git-Tag: svn/VALGRIND_3_1_0~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9b07e443eb56eb1d0b7495495fc06e28d86a13e;p=thirdparty%2Fvalgrind.git Move VG_(am_get_filename) to the tool accessible aspacemgr header file. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5141 --- diff --git a/coregrind/pub_core_aspacemgr.h b/coregrind/pub_core_aspacemgr.h index 88b9127bd6..5671880588 100644 --- a/coregrind/pub_core_aspacemgr.h +++ b/coregrind/pub_core_aspacemgr.h @@ -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. */ diff --git a/include/pub_tool_aspacemgr.h b/include/pub_tool_aspacemgr.h index 03553b4b72..3968d76bbe 100644 --- a/include/pub_tool_aspacemgr.h +++ b/include/pub_tool_aspacemgr.h @@ -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 );