Home | History | Annotate | Download | only in libdw

Lines Matching refs:attrp

39 dwarf_formstring (Dwarf_Attribute *attrp)
42 if (attrp == NULL)
46 if (attrp->form == DW_FORM_string)
48 return (const char *) attrp->valp;
50 Dwarf *dbg = attrp->cu->dbg;
51 Dwarf *dbg_ret = attrp->form == DW_FORM_GNU_strp_alt ? dbg->alt_dwarf : dbg;
60 if (unlikely (attrp->form != DW_FORM_strp
61 && attrp->form != DW_FORM_GNU_strp_alt)
69 if (__libdw_read_offset (dbg, dbg_ret, cu_sec_idx (attrp->cu), attrp->valp,
70 attrp->cu->offset_size, &off, IDX_debug_str, 1))