Merge all remaining changes from branches/PTRCHECK.  These are some
relatively minor extensions to m_debuginfo, a major overhaul of
m_debuginfo/readdwarf3.c to get its space usage under control, and
changes throughout the system to enable heap-use profiling.

The majority of the merged changes were committed into
branches/PTRCHECK as the following revs: 8591 8595 8598 8599 8601 and
8161.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8621 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/callgrind/jumps.c b/callgrind/jumps.c
index 1549c4f..425e22a 100644
--- a/callgrind/jumps.c
+++ b/callgrind/jumps.c
@@ -46,7 +46,8 @@
 
    jccs->size    = N_JCC_INITIAL_ENTRIES;
    jccs->entries = 0;
-   jccs->table = (jCC**) CLG_MALLOC(jccs->size * sizeof(jCC*));
+   jccs->table = (jCC**) CLG_MALLOC("cl.jumps.ijh.1",
+                                    jccs->size * sizeof(jCC*));
    jccs->spontaneous = 0;
 
    for (i = 0; i < jccs->size; i++)
@@ -89,7 +90,8 @@
     jCC *curr_jcc, *next_jcc;
 
     new_size  = 2* current_jccs.size +3;
-    new_table = (jCC**) CLG_MALLOC(new_size * sizeof(jCC*));
+    new_table = (jCC**) CLG_MALLOC("cl.jumps.rjt.1",
+                                   new_size * sizeof(jCC*));
  
     if (!new_table) return;
  
@@ -145,7 +147,7 @@
    if (10 * current_jccs.entries / current_jccs.size > 8)
        resize_jcc_table();
 
-   new = (jCC*) CLG_MALLOC(sizeof(jCC));
+   new = (jCC*) CLG_MALLOC("cl.jumps.nj.1", sizeof(jCC));
 
    new->from      = from;
    new->jmp       = jmp;