From b88ea45f727bd9c483568f376483cf98a9b80a23 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sat, 10 Jul 2004 16:59:25 +0000 Subject: [PATCH] Comment changes only. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2468 --- coregrind/vg_memory.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c index c7a71de633..21d83c1b42 100644 --- a/coregrind/vg_memory.c +++ b/coregrind/vg_memory.c @@ -672,7 +672,7 @@ Bool VG_(is_addressable)(Addr p, Int size) } /*--------------------------------------------------------------------*/ -/*--- manage allocation of memory on behalf of the client ---*/ +/*--- Manage allocation of memory on behalf of the client ---*/ /*--------------------------------------------------------------------*/ // Returns 0 on failure. @@ -709,6 +709,10 @@ void VG_(client_free)(Addr addr) VG_(munmap)((void *)s->addr, s->len); } +/*--------------------------------------------------------------------*/ +/*--- Querying memory layout ---*/ +/*--------------------------------------------------------------------*/ + Bool VG_(is_client_addr)(Addr a) { return a >= VG_(client_base) && a < VG_(client_end); @@ -754,6 +758,9 @@ Addr VG_(get_shadow_size)(void) return VG_(shadow_end)-VG_(shadow_base); } +/*--------------------------------------------------------------------*/ +/*--- manage allocation of memory on behalf of the client ---*/ +/*--------------------------------------------------------------------*/ void VG_(init_shadow_range)(Addr p, UInt sz, Bool call_init) { -- 2.47.2