|
From: <sv...@va...> - 2008-02-25 13:47:33
|
Author: sewardj
Date: 2008-02-25 13:44:04 +0000 (Mon, 25 Feb 2008)
New Revision: 7456
Log:
Comment-only changes.
Modified:
branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h
branches/DATASYMS/coregrind/m_debuginfo/storage.c
Modified: branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h 2008-02-25 13:40:42 UTC (rev 7455)
+++ branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h 2008-02-25 13:44:04 UTC (rev 7456)
@@ -149,7 +149,7 @@
been converted into pointers) */
void ML_(pp_Type_C_ishly) ( Type* ty );
-/* How big is this type? (post-resolved only) If . b in the
+/* How big is this type? (post-resolved only) If .b in the
returned struct is False, the size is unknown. */
/* FIXME: check all pointers before dereferencing */
Modified: branches/DATASYMS/coregrind/m_debuginfo/storage.c
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/storage.c 2008-02-25 13:40:42 UTC (rev 7455)
+++ branches/DATASYMS/coregrind/m_debuginfo/storage.c 2008-02-25 13:44:04 UTC (rev 7456)
@@ -553,13 +553,12 @@
VG_(printf)("}\n");
}
-/* 'inner' is an XArray of DiAddrRange. Find the entry corresponding
- to [aMin,aMax]. If that doesn't exist, create one. Take care to
- preserve the invariant that none of the address ranges have the
- same starting value (aMin). That's unlikely to be the case unless
- the DWARF3 from which these calls results contains bogus range
- info; however in the interests of robustness, do handle the
- case. */
+/* Add the variable 'var' to 'scope' for the address range [aMin,aMax]
+ (inclusive of aMin and aMax). Split existing ranges as required if
+ aMin or aMax or both don't match existing range boundaries, and add
+ 'var' to all required ranges. Take great care to preserve the
+ invariant that the ranges in 'scope' cover the entire address range
+ exactly once, with no overlaps and no holes. */
static void add_var_to_arange (
/*MOD*/OSet* /* of DiAddrRange */ scope,
Addr aMin,
|