Lines Matching refs:attr
105 Dwarf_Attribute attr; in handle() local
110 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL in handle()
111 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
114 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
116 else if (dwarf_whatform (&attr) != DW_FORM_addr) in handle()
118 else if (dwarf_whatattr (&attr) != DW_AT_low_pc) in handle()
123 Dwarf_Attribute attr; in handle() local
127 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL in handle()
128 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
131 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
133 else if (dwarf_whatform (&attr) != DW_FORM_addr) in handle()
135 else if (dwarf_whatattr (&attr) != DW_AT_high_pc) in handle()
141 Dwarf_Attribute attr; in handle() local
145 if (dwarf_attr (die, DW_AT_byte_size, &attr) == NULL in handle()
146 || dwarf_formudata (&attr, &u2) != 0 in handle()
149 else if (! dwarf_hasform (&attr, DW_FORM_data1) in handle()
150 && ! dwarf_hasform (&attr, DW_FORM_data2) in handle()
151 && ! dwarf_hasform (&attr, DW_FORM_data4) in handle()
152 && ! dwarf_hasform (&attr, DW_FORM_data8) in handle()
153 && ! dwarf_hasform (&attr, DW_FORM_sdata) in handle()
154 && ! dwarf_hasform (&attr, DW_FORM_udata)) in handle()
156 else if ((u = dwarf_whatform (&attr)) == 0 in handle()
164 else if (dwarf_whatattr (&attr) != DW_AT_byte_size) in handle()
169 Dwarf_Attribute attr; in handle() local
173 if (dwarf_attr (die, DW_AT_bit_size, &attr) == NULL in handle()
174 || dwarf_formudata (&attr, &u2) != 0 in handle()
177 else if (! dwarf_hasform (&attr, DW_FORM_data1) in handle()
178 && ! dwarf_hasform (&attr, DW_FORM_data2) in handle()
179 && ! dwarf_hasform (&attr, DW_FORM_data4) in handle()
180 && ! dwarf_hasform (&attr, DW_FORM_data8) in handle()
181 && ! dwarf_hasform (&attr, DW_FORM_sdata) in handle()
182 && ! dwarf_hasform (&attr, DW_FORM_udata)) in handle()
184 else if ((u = dwarf_whatform (&attr)) == 0 in handle()
192 else if (dwarf_whatattr (&attr) != DW_AT_bit_size) in handle()
198 Dwarf_Attribute attr; in handle() local
202 if (dwarf_attr (die, DW_AT_bit_offset, &attr) == NULL in handle()
203 || dwarf_formudata (&attr, &u2) != 0 in handle()
206 else if (! dwarf_hasform (&attr, DW_FORM_data1) in handle()
207 && ! dwarf_hasform (&attr, DW_FORM_data2) in handle()
208 && ! dwarf_hasform (&attr, DW_FORM_data4) in handle()
209 && ! dwarf_hasform (&attr, DW_FORM_data8) in handle()
210 && ! dwarf_hasform (&attr, DW_FORM_sdata) in handle()
211 && ! dwarf_hasform (&attr, DW_FORM_udata)) in handle()
213 else if ((u = dwarf_whatform (&attr)) == 0 in handle()
221 else if (dwarf_whatattr (&attr) != DW_AT_bit_offset) in handle()
227 Dwarf_Attribute attr; in handle() local
231 if (dwarf_attr (die, DW_AT_language, &attr) == NULL in handle()
232 || dwarf_formudata (&attr, &u2) != 0 in handle()
235 else if (! dwarf_hasform (&attr, DW_FORM_data1) in handle()
236 && ! dwarf_hasform (&attr, DW_FORM_data2) in handle()
237 && ! dwarf_hasform (&attr, DW_FORM_data4) in handle()
238 && ! dwarf_hasform (&attr, DW_FORM_data8) in handle()
239 && ! dwarf_hasform (&attr, DW_FORM_sdata) in handle()
240 && ! dwarf_hasform (&attr, DW_FORM_udata)) in handle()
242 else if ((u = dwarf_whatform (&attr)) == 0 in handle()
250 else if (dwarf_whatattr (&attr) != DW_AT_language) in handle()
257 Dwarf_Attribute attr; in handle() local
261 if (dwarf_attr (die, DW_AT_ordering, &attr) == NULL in handle()
262 || dwarf_formudata (&attr, &u2) != 0 in handle()
265 else if (! dwarf_hasform (&attr, DW_FORM_data1) in handle()
266 && ! dwarf_hasform (&attr, DW_FORM_data2) in handle()
267 && ! dwarf_hasform (&attr, DW_FORM_data4) in handle()
268 && ! dwarf_hasform (&attr, DW_FORM_data8) in handle()
269 && ! dwarf_hasform (&attr, DW_FORM_sdata) in handle()
270 && ! dwarf_hasform (&attr, DW_FORM_udata)) in handle()
272 else if ((u = dwarf_whatform (&attr)) == 0 in handle()
280 else if (dwarf_whatattr (&attr) != DW_AT_ordering) in handle()
286 Dwarf_Attribute attr; in handle() local
287 if (dwarf_attr (die, DW_AT_comp_dir, &attr) == NULL in handle()
288 || (name = dwarf_formstring (&attr)) == NULL) in handle()
296 Dwarf_Attribute attr; in handle() local
297 if (dwarf_attr (die, DW_AT_producer, &attr) == NULL in handle()
298 || (name = dwarf_formstring (&attr)) == NULL) in handle()