+2009-05-26 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (follow_die_ref): Add comment.
+ (dwarf2_mark_helper): Tweak comment.
+ (dwarf2_mark): Move description to its proper place.
+
2009-05-25 Pierre Muller <muller@ics.u-strasbg.fr>
* procfs.c (procfs_wait): Add options parameter.
queue_comp_unit (per_cu, this_cu->objfile);
}
+/* Follow reference attribute ATTR of SRC_DIE.
+ On entry *REF_CU is the CU of SRC_DIE.
+ On exit *REF_CU is the CU of the result. */
+
static struct die_info *
follow_die_ref (struct die_info *src_die, struct attribute *attr,
struct dwarf2_cu **ref_cu)
return NULL;
}
-/* Set the mark field in CU and in every other compilation unit in the
- cache that we must keep because we are keeping CU. */
-
/* Add a dependence relationship from CU to REF_PER_CU. */
static void
*slot = ref_per_cu;
}
-/* Set the mark field in CU and in every other compilation unit in the
+/* Subroutine of dwarf2_mark to pass to htab_traverse.
+ Set the mark field in every compilation unit in the
cache that we must keep because we are keeping CU. */
static int
return 1;
}
+/* Set the mark field in CU and in every other compilation unit in the
+ cache that we must keep because we are keeping CU. */
+
static void
dwarf2_mark (struct dwarf2_cu *cu)
{