Lines Matching refs:derr
446 Dwarf_Error derr; in ctf_dwarf_attribute() local
449 ret = dwarf_attr(die, name, attrp, &derr); in ctf_dwarf_attribute()
459 dwarf_errmsg(derr)); in ctf_dwarf_attribute()
476 Dwarf_Error derr; in ctf_dwarf_ref() local
482 ret = dwarf_formref(attr, refp, &derr); in ctf_dwarf_ref()
491 dwarf_errmsg(derr)); in ctf_dwarf_ref()
501 Dwarf_Error derr; in ctf_dwarf_refdie() local
508 ret = dwarf_offdie(cup->cu_dwarf, off, diep, &derr); in ctf_dwarf_refdie()
513 off, dwarf_errmsg(derr)); in ctf_dwarf_refdie()
526 Dwarf_Error derr; in ctf_dwarf_signed() local
532 ret = dwarf_formsdata(attr, valp, &derr); in ctf_dwarf_signed()
541 dwarf_errmsg(derr)); in ctf_dwarf_signed()
551 Dwarf_Error derr; in ctf_dwarf_unsigned() local
557 ret = dwarf_formudata(attr, valp, &derr); in ctf_dwarf_unsigned()
566 dwarf_errmsg(derr)); in ctf_dwarf_unsigned()
576 Dwarf_Error derr; in ctf_dwarf_boolean() local
582 ret = dwarf_formflag(attr, val, &derr); in ctf_dwarf_boolean()
591 dwarf_errmsg(derr)); in ctf_dwarf_boolean()
602 Dwarf_Error derr; in ctf_dwarf_string() local
609 ret = dwarf_formstring(attr, &s, &derr); in ctf_dwarf_string()
622 dwarf_errmsg(derr)); in ctf_dwarf_string()
637 Dwarf_Error derr; in ctf_dwarf_member_location() local
650 ret = dwarf_whatform(attr, &form, &derr); in ctf_dwarf_member_location()
656 dwarf_errmsg(derr)); in ctf_dwarf_member_location()
673 if (dwarf_formudata(attr, valp, &derr) == DW_DLV_OK) { in ctf_dwarf_member_location()
679 if (dwarf_formsdata(attr, &sign, &derr) == DW_DLV_OK) { in ctf_dwarf_member_location()
692 if (dwarf_loclist(attr, &loc, &locnum, &derr) != DW_DLV_OK) { in ctf_dwarf_member_location()
696 dwarf_errmsg(derr)); in ctf_dwarf_member_location()
722 Dwarf_Error derr; in ctf_dwarf_offset() local
726 ret = dwarf_dieoffset(die, offsetp, &derr); in ctf_dwarf_offset()
733 dwarf_errmsg(derr)); in ctf_dwarf_offset()
742 Dwarf_Error derr; in ctf_die_offset() local
745 (void) dwarf_dieoffset(die, &off, &derr); in ctf_die_offset()
753 Dwarf_Error derr; in ctf_dwarf_tag() local
757 ret = dwarf_tag(die, tagp, &derr); in ctf_dwarf_tag()
764 dwarf_errmsg(derr)); in ctf_dwarf_tag()
771 Dwarf_Error derr; in ctf_dwarf_sib() local
776 ret = dwarf_siblingof(cup->cu_dwarf, base, sibp, &derr); in ctf_dwarf_sib()
783 dwarf_errmsg(derr)); in ctf_dwarf_sib()
790 Dwarf_Error derr; in ctf_dwarf_child() local
795 ret = dwarf_child(base, childp, &derr); in ctf_dwarf_child()
802 dwarf_errmsg(derr)); in ctf_dwarf_child()
1593 Dwarf_Error derr; in ctf_dwarf_array_upper_bound() local
1632 ret = dwarf_whatform(attr, &form, &derr); in ctf_dwarf_array_upper_bound()
1636 dwarf_errmsg(derr)); in ctf_dwarf_array_upper_bound()
1671 if (dwarf_formsdata(attr, &sval, &derr) == DW_DLV_OK) { in ctf_dwarf_array_upper_bound()
1678 if (dwarf_formudata(attr, &uval, &derr) == DW_DLV_OK) { in ctf_dwarf_array_upper_bound()
1702 formstr, form, dwarf_errmsg(derr)); in ctf_dwarf_array_upper_bound()
3148 ctf_dwarf_count_dies(Dwarf_Debug dw, Dwarf_Error *derr, uint_t *ndies, in ctf_dwarf_count_dies() argument
3156 &nexthdr, derr)) != DW_DLV_NO_ENTRY) { in ctf_dwarf_count_dies()
3160 dwarf_errmsg(*derr)); in ctf_dwarf_count_dies()
3185 mutex_t *dwlock, Dwarf_Error *derr, uint_t ndies, ctf_cu_t *cdies, in ctf_dwarf_preinit_dies() argument
3195 &addrsz, &nexthdr, derr)) != DW_DLV_NO_ENTRY) { in ctf_dwarf_preinit_dies()
3581 Dwarf_Error derr; in ctf_dwarf_convert() local
3588 ret = dwarf_elf_init(elf, DW_DLC_READ, NULL, NULL, &dw, &derr); in ctf_dwarf_convert()
3591 dwarf_errno(derr) == DW_DLE_DEBUG_INFO_NULL) { in ctf_dwarf_convert()
3598 "dwarf_elf_init() failed: %s\n", dwarf_errmsg(derr)); in ctf_dwarf_convert()
3610 err = ctf_dwarf_count_dies(dw, &derr, &ndies, errbuf, errlen); in ctf_dwarf_convert()
3617 (void) dwarf_finish(dw, &derr); in ctf_dwarf_convert()
3623 (void) dwarf_finish(dw, &derr); in ctf_dwarf_convert()
3629 if ((err = ctf_dwarf_preinit_dies(cch, fd, elf, dw, &dwlock, &derr, in ctf_dwarf_convert()
3689 (void) dwarf_finish(dw, &derr); in ctf_dwarf_convert()