Lines Matching refs:attr
272 Dwarf_Attribute attr;
277 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL
278 || dwarf_formaddr (&attr, &addr2) != 0
281 else if (! dwarf_hasform (&attr, DW_FORM_addr))
283 else if (dwarf_whatform (&attr) != DW_FORM_addr)
285 else if (dwarf_whatattr (&attr) != DW_AT_low_pc)
286 puts ("************* DW_AT_low_pc attr failed ************");
290 Dwarf_Attribute attr;
294 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL
295 || dwarf_formaddr (&attr, &addr2) != 0
298 else if (! dwarf_hasform (&attr, DW_FORM_addr))
300 else if (dwarf_whatform (&attr) != DW_FORM_addr)
302 else if (dwarf_whatattr (&attr) != DW_AT_high_pc)
303 puts ("************* DW_AT_high_pc attr failed ************");
308 Dwarf_Attribute attr;
312 if (dwarf_attr (die, DW_AT_byte_size, &attr) == NULL
313 || dwarf_formudata (&attr, &u2) != 0
316 else if (! dwarf_hasform (&attr, DW_FORM_data1)
317 && ! dwarf_hasform (&attr, DW_FORM_data2)
318 && ! dwarf_hasform (&attr, DW_FORM_data4)
319 && ! dwarf_hasform (&attr, DW_FORM_data8)
320 && ! dwarf_hasform (&attr, DW_FORM_sdata)
321 && ! dwarf_hasform (&attr, DW_FORM_udata))
323 else if ((u = dwarf_whatform (&attr)) == 0
331 else if (dwarf_whatattr (&attr) != DW_AT_byte_size)
332 puts ("************* DW_AT_byte_size attr failed ************");
336 Dwarf_Attribute attr;
340 if (dwarf_attr (die, DW_AT_bit_size, &attr) == NULL
341 || dwarf_formudata (&attr, &u2) != 0
344 else if (! dwarf_hasform (&attr, DW_FORM_data1)
345 && ! dwarf_hasform (&attr, DW_FORM_data2)
346 && ! dwarf_hasform (&attr, DW_FORM_data4)
347 && ! dwarf_hasform (&attr, DW_FORM_data8)
348 && ! dwarf_hasform (&attr, DW_FORM_sdata)
349 && ! dwarf_hasform (&attr, DW_FORM_udata))
351 else if ((u = dwarf_whatform (&attr)) == 0
359 else if (dwarf_whatattr (&attr) != DW_AT_bit_size)
360 puts ("************* DW_AT_bit_size attr failed ************");
365 Dwarf_Attribute attr;
369 if (dwarf_attr (die, DW_AT_bit_offset, &attr) == NULL
370 || dwarf_formudata (&attr, &u2) != 0
373 else if (! dwarf_hasform (&attr, DW_FORM_data1)
374 && ! dwarf_hasform (&attr, DW_FORM_data2)
375 && ! dwarf_hasform (&attr, DW_FORM_data4)
376 && ! dwarf_hasform (&attr, DW_FORM_data8)
377 && ! dwarf_hasform (&attr, DW_FORM_sdata)
378 && ! dwarf_hasform (&attr, DW_FORM_udata))
380 else if ((u = dwarf_whatform (&attr)) == 0
388 else if (dwarf_whatattr (&attr) != DW_AT_bit_offset)
389 puts ("************* DW_AT_bit_offset attr failed ************");
394 Dwarf_Attribute attr;
398 if (dwarf_attr (die, DW_AT_language, &attr) == NULL
399 || dwarf_formudata (&attr, &u2) != 0
402 else if (! dwarf_hasform (&attr, DW_FORM_data1)
403 && ! dwarf_hasform (&attr, DW_FORM_data2)
404 && ! dwarf_hasform (&attr, DW_FORM_data4)
405 && ! dwarf_hasform (&attr, DW_FORM_data8)
406 && ! dwarf_hasform (&attr, DW_FORM_sdata)
407 && ! dwarf_hasform (&attr, DW_FORM_udata))
409 else if ((u = dwarf_whatform (&attr)) == 0
417 else if (dwarf_whatattr (&attr) != DW_AT_language)
418 attr failed ************");
424 Dwarf_Attribute attr;
428 if (dwarf_attr (die, DW_AT_ordering, &attr) == NULL
429 || dwarf_formudata (&attr, &u2) != 0
432 else if (! dwarf_hasform (&attr, DW_FORM_data1)
433 && ! dwarf_hasform (&attr, DW_FORM_data2)
434 && ! dwarf_hasform (&attr, DW_FORM_data4)
435 && ! dwarf_hasform (&attr, DW_FORM_data8)
436 && ! dwarf_hasform (&attr, DW_FORM_sdata)
437 && ! dwarf_hasform (&attr, DW_FORM_udata))
439 else if ((u = dwarf_whatform (&attr)) == 0
447 else if (dwarf_whatattr (&attr) != DW_AT_ordering)
448 puts ("************* DW_AT_ordering attr failed ************");
453 Dwarf_Attribute attr;
454 if (dwarf_attr (die, DW_AT_comp_dir, &attr) == NULL
455 || (name = dwarf_formstring (&attr)) == NULL)
456 puts ("************* DW_AT_comp_dir attr failed ************");
463 Dwarf_Attribute attr;
464 if (dwarf_attr (die, DW_AT_producer, &attr) == NULL
465 || (name = dwarf_formstring (&attr)) == NULL)
466 puts ("************* DW_AT_comp_dir attr failed ************");