• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/dtrace-147/libdwarf/

Lines Matching defs:die

338     this flag is true, it checks if the input die has
340 a pointer to the start of the sibling die in the
345 a pointer to the immediately adjacent die in the
349 portion for the cu the die belongs to. It is used
350 to check that the search for the next die does not
356 the present die has children, false otherwise.
357 However, in case want_AT_child is true and the die
475 Given a Dwarf_Debug dbg, and a Dwarf_Die die, it returns
476 a Dwarf_Die for the sibling of die. In case die is NULL,
477 it returns (thru ptr) a Dwarf_Die for the first die in the current
481 only one element is terminated with a NULL die, except a
482 chain with only a NULL die.
484 The algorithm moves from one die to the adjacent one. It
488 encountered. Child_depth is incremented when a die has the
489 Has-Child flag set unless the child happens to be a NULL die.
490 Child_depth is decremented when a die has Has-Child false,
491 and the adjacent die is NULL. Algorithm returns when
494 **NOTE: Do not modify input die, since it is used at the end.
498 Dwarf_Die die,
505 /* die_info_end points 1-past end of die (once set) */
516 if (die == NULL) {
517 /* Find root die of cu */
534 /* Find sibling die. */
538 /* We cannot have a legal die unless debug_info was loaded, so
540 CHECK_DIE(die, DW_DLV_ERROR)
542 die_info_ptr = die->di_debug_info_ptr;
547 die->di_cu_context->cc_debug_info_offset;
548 die_info_end = cu_info_start + die->di_cu_context->cc_length +
549 die->di_cu_context->cc_length_size +
550 die->di_cu_context->cc_extension_size;
558 die->di_cu_context,
587 if (die != NULL && die_info_ptr >= die_info_end) {
603 die == NULL ? dbg->de_cu_context : die->di_cu_context;
614 if (ret_die->di_abbrev_list == NULL || (die == NULL &&
629 dwarf_child(Dwarf_Die die,
634 /* die_info_end points one-past-end of die area. */
643 CHECK_DIE(die, DW_DLV_ERROR)
644 dbg = die->di_cu_context->cc_dbg;
645 die_info_ptr = die->di_debug_info_ptr;
647 /* NULL die has no child. */
652 die->di_cu_context->cc_debug_info_offset +
653 die->di_cu_context->cc_length +
654 die->di_cu_context->cc_length_size +
655 die->di_cu_context->cc_extension_size;
658 _dwarf_next_die_info_ptr(die_info_ptr, die->di_cu_context,
675 ret_die->di_cu_context = die->di_cu_context;
687 _dwarf_get_abbrev_for_code(die->di_cu_context, abbrev_code);
699 Given a die offset, this returns
710 Dwarf_Die die = 0;
771 die = (Dwarf_Die) _dwarf_get_alloc(dbg, DW_DLA_DIE, 1);
772 if (die == NULL) {
776 die->di_cu_context = cu_context;
779 die->di_debug_info_ptr = info_ptr;
785 dwarf_dealloc(dbg, die, DW_DLA_DIE);
789 die->di_abbrev_list =
791 if (die->di_abbrev_list == NULL) {
792 dwarf_dealloc(dbg, die, DW_DLA_DIE);
797 *new_die = die;