Lines Matching refs:attr
63 attr_ok (Dwarf_Attribute *attr)
65 if (attr == NULL)
69 switch (attr->code)
342 dwarf_getlocation (attr, llbuf, listlen)
343 Dwarf_Attribute *attr;
347 if (! attr_ok (attr))
352 if (INTUSE(dwarf_formblock) (attr, &block) != 0)
355 return getlocation (attr->cu, &block, llbuf, listlen);
359 dwarf_getlocation_addr (attr, address, llbufs, listlens, maxlocs)
360 Dwarf_Attribute *attr;
366 if (! attr_ok (attr))
374 if (INTUSE(dwarf_formblock) (attr, &block) == 0)
379 getlocation (attr->cu, &block, &llbufs[0], &listlens[0]) != 0)
393 if (unlikely (INTUSE(dwarf_formudata) (attr, &offset) != 0))
396 const Elf_Data *d = attr->cu->dbg->sectiondata[IDX_debug_loc];
409 < attr->cu->address_size * 2)
418 if (attr->cu->address_size == 8)
420 begin = read_8ubyte_unaligned_inc (attr->cu->dbg, readp);
421 end = read_8ubyte_unaligned_inc (attr->cu->dbg, readp);
433 begin = read_4ubyte_unaligned_inc (attr->cu->dbg, readp);
434 end = read_4ubyte_unaligned_inc (attr->cu->dbg, readp);
450 block.length = read_2ubyte_unaligned_inc (attr->cu->dbg, readp);
460 Dwarf_Die cudie = CUDIE (attr->cu);
488 && unlikely (getlocation (attr->cu, &block,