Home | History | Annotate | Download | only in tests

Lines Matching refs:attr

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