]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move VG_(am_get_filename) to the tool accessible aspacemgr header file.
authorTom Hughes <tom@compton.nu>
Wed, 16 Nov 2005 00:11:14 +0000 (00:11 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 16 Nov 2005 00:11:14 +0000 (00:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5141

coregrind/pub_core_aspacemgr.h
include/pub_tool_aspacemgr.h

index 88b9127bd6322f57f2cd5b7e48eaa3793468e25b..567188058829edd5d65e03cdee296ed68064fdfd 100644 (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. */
index 03553b4b72a45881c08d10de9c2b1d2f14acedb4..3968d76bbeb03048fe8a7ed5a9e6f0a8801074f7 100644 (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 );