xref: /illumos-gate/usr/src/lib/libdwarf/common/dwarf_names.c (revision a92282e44f968185a6bba094d1e5fece2da819cf)
1 /* Generated routines, do not edit. */
2 /* Generated sourcedate  2020-06-12 14:47:15-07:00   */
3 
4 /* BEGIN FILE */
5 
6 #include "dwarf.h"
7 
8 #include "libdwarf.h"
9 
10 /* ARGSUSED */
11 int
12 dwarf_get_TAG_name (unsigned int val,const char ** s_out)
13 {
14     switch (val) {
15     case DW_TAG_array_type:
16         *s_out = "DW_TAG_array_type";
17         return DW_DLV_OK;
18     case DW_TAG_class_type:
19         *s_out = "DW_TAG_class_type";
20         return DW_DLV_OK;
21     case DW_TAG_entry_point:
22         *s_out = "DW_TAG_entry_point";
23         return DW_DLV_OK;
24     case DW_TAG_enumeration_type:
25         *s_out = "DW_TAG_enumeration_type";
26         return DW_DLV_OK;
27     case DW_TAG_formal_parameter:
28         *s_out = "DW_TAG_formal_parameter";
29         return DW_DLV_OK;
30     case DW_TAG_imported_declaration:
31         *s_out = "DW_TAG_imported_declaration";
32         return DW_DLV_OK;
33     case DW_TAG_label:
34         *s_out = "DW_TAG_label";
35         return DW_DLV_OK;
36     case DW_TAG_lexical_block:
37         *s_out = "DW_TAG_lexical_block";
38         return DW_DLV_OK;
39     case DW_TAG_member:
40         *s_out = "DW_TAG_member";
41         return DW_DLV_OK;
42     case DW_TAG_pointer_type:
43         *s_out = "DW_TAG_pointer_type";
44         return DW_DLV_OK;
45     case DW_TAG_reference_type:
46         *s_out = "DW_TAG_reference_type";
47         return DW_DLV_OK;
48     case DW_TAG_compile_unit:
49         *s_out = "DW_TAG_compile_unit";
50         return DW_DLV_OK;
51     case DW_TAG_string_type:
52         *s_out = "DW_TAG_string_type";
53         return DW_DLV_OK;
54     case DW_TAG_structure_type:
55         *s_out = "DW_TAG_structure_type";
56         return DW_DLV_OK;
57     case DW_TAG_subroutine_type:
58         *s_out = "DW_TAG_subroutine_type";
59         return DW_DLV_OK;
60     case DW_TAG_typedef:
61         *s_out = "DW_TAG_typedef";
62         return DW_DLV_OK;
63     case DW_TAG_union_type:
64         *s_out = "DW_TAG_union_type";
65         return DW_DLV_OK;
66     case DW_TAG_unspecified_parameters:
67         *s_out = "DW_TAG_unspecified_parameters";
68         return DW_DLV_OK;
69     case DW_TAG_variant:
70         *s_out = "DW_TAG_variant";
71         return DW_DLV_OK;
72     case DW_TAG_common_block:
73         *s_out = "DW_TAG_common_block";
74         return DW_DLV_OK;
75     case DW_TAG_common_inclusion:
76         *s_out = "DW_TAG_common_inclusion";
77         return DW_DLV_OK;
78     case DW_TAG_inheritance:
79         *s_out = "DW_TAG_inheritance";
80         return DW_DLV_OK;
81     case DW_TAG_inlined_subroutine:
82         *s_out = "DW_TAG_inlined_subroutine";
83         return DW_DLV_OK;
84     case DW_TAG_module:
85         *s_out = "DW_TAG_module";
86         return DW_DLV_OK;
87     case DW_TAG_ptr_to_member_type:
88         *s_out = "DW_TAG_ptr_to_member_type";
89         return DW_DLV_OK;
90     case DW_TAG_set_type:
91         *s_out = "DW_TAG_set_type";
92         return DW_DLV_OK;
93     case DW_TAG_subrange_type:
94         *s_out = "DW_TAG_subrange_type";
95         return DW_DLV_OK;
96     case DW_TAG_with_stmt:
97         *s_out = "DW_TAG_with_stmt";
98         return DW_DLV_OK;
99     case DW_TAG_access_declaration:
100         *s_out = "DW_TAG_access_declaration";
101         return DW_DLV_OK;
102     case DW_TAG_base_type:
103         *s_out = "DW_TAG_base_type";
104         return DW_DLV_OK;
105     case DW_TAG_catch_block:
106         *s_out = "DW_TAG_catch_block";
107         return DW_DLV_OK;
108     case DW_TAG_const_type:
109         *s_out = "DW_TAG_const_type";
110         return DW_DLV_OK;
111     case DW_TAG_constant:
112         *s_out = "DW_TAG_constant";
113         return DW_DLV_OK;
114     case DW_TAG_enumerator:
115         *s_out = "DW_TAG_enumerator";
116         return DW_DLV_OK;
117     case DW_TAG_file_type:
118         *s_out = "DW_TAG_file_type";
119         return DW_DLV_OK;
120     case DW_TAG_friend:
121         *s_out = "DW_TAG_friend";
122         return DW_DLV_OK;
123     case DW_TAG_namelist:
124         *s_out = "DW_TAG_namelist";
125         return DW_DLV_OK;
126     case DW_TAG_namelist_item:
127         *s_out = "DW_TAG_namelist_item";
128         return DW_DLV_OK;
129     /* Skipping alternate spelling of value 0x2c. DW_TAG_namelist_items */
130     case DW_TAG_packed_type:
131         *s_out = "DW_TAG_packed_type";
132         return DW_DLV_OK;
133     case DW_TAG_subprogram:
134         *s_out = "DW_TAG_subprogram";
135         return DW_DLV_OK;
136     case DW_TAG_template_type_parameter:
137         *s_out = "DW_TAG_template_type_parameter";
138         return DW_DLV_OK;
139     /* Skipping alternate spelling of value 0x2f. DW_TAG_template_type_param */
140     case DW_TAG_template_value_parameter:
141         *s_out = "DW_TAG_template_value_parameter";
142         return DW_DLV_OK;
143     /* Skipping alternate spelling of value 0x30. DW_TAG_template_value_param */
144     case DW_TAG_thrown_type:
145         *s_out = "DW_TAG_thrown_type";
146         return DW_DLV_OK;
147     case DW_TAG_try_block:
148         *s_out = "DW_TAG_try_block";
149         return DW_DLV_OK;
150     case DW_TAG_variant_part:
151         *s_out = "DW_TAG_variant_part";
152         return DW_DLV_OK;
153     case DW_TAG_variable:
154         *s_out = "DW_TAG_variable";
155         return DW_DLV_OK;
156     case DW_TAG_volatile_type:
157         *s_out = "DW_TAG_volatile_type";
158         return DW_DLV_OK;
159     case DW_TAG_dwarf_procedure:
160         *s_out = "DW_TAG_dwarf_procedure";
161         return DW_DLV_OK;
162     case DW_TAG_restrict_type:
163         *s_out = "DW_TAG_restrict_type";
164         return DW_DLV_OK;
165     case DW_TAG_interface_type:
166         *s_out = "DW_TAG_interface_type";
167         return DW_DLV_OK;
168     case DW_TAG_namespace:
169         *s_out = "DW_TAG_namespace";
170         return DW_DLV_OK;
171     case DW_TAG_imported_module:
172         *s_out = "DW_TAG_imported_module";
173         return DW_DLV_OK;
174     case DW_TAG_unspecified_type:
175         *s_out = "DW_TAG_unspecified_type";
176         return DW_DLV_OK;
177     case DW_TAG_partial_unit:
178         *s_out = "DW_TAG_partial_unit";
179         return DW_DLV_OK;
180     case DW_TAG_imported_unit:
181         *s_out = "DW_TAG_imported_unit";
182         return DW_DLV_OK;
183     case DW_TAG_mutable_type:
184         *s_out = "DW_TAG_mutable_type";
185         return DW_DLV_OK;
186     case DW_TAG_condition:
187         *s_out = "DW_TAG_condition";
188         return DW_DLV_OK;
189     case DW_TAG_shared_type:
190         *s_out = "DW_TAG_shared_type";
191         return DW_DLV_OK;
192     case DW_TAG_type_unit:
193         *s_out = "DW_TAG_type_unit";
194         return DW_DLV_OK;
195     case DW_TAG_rvalue_reference_type:
196         *s_out = "DW_TAG_rvalue_reference_type";
197         return DW_DLV_OK;
198     case DW_TAG_template_alias:
199         *s_out = "DW_TAG_template_alias";
200         return DW_DLV_OK;
201     case DW_TAG_coarray_type:
202         *s_out = "DW_TAG_coarray_type";
203         return DW_DLV_OK;
204     case DW_TAG_generic_subrange:
205         *s_out = "DW_TAG_generic_subrange";
206         return DW_DLV_OK;
207     case DW_TAG_dynamic_type:
208         *s_out = "DW_TAG_dynamic_type";
209         return DW_DLV_OK;
210     case DW_TAG_atomic_type:
211         *s_out = "DW_TAG_atomic_type";
212         return DW_DLV_OK;
213     case DW_TAG_call_site:
214         *s_out = "DW_TAG_call_site";
215         return DW_DLV_OK;
216     case DW_TAG_call_site_parameter:
217         *s_out = "DW_TAG_call_site_parameter";
218         return DW_DLV_OK;
219     case DW_TAG_skeleton_unit:
220         *s_out = "DW_TAG_skeleton_unit";
221         return DW_DLV_OK;
222     case DW_TAG_immutable_type:
223         *s_out = "DW_TAG_immutable_type";
224         return DW_DLV_OK;
225     case DW_TAG_lo_user:
226         *s_out = "DW_TAG_lo_user";
227         return DW_DLV_OK;
228     case DW_TAG_MIPS_loop:
229         *s_out = "DW_TAG_MIPS_loop";
230         return DW_DLV_OK;
231     case DW_TAG_HP_array_descriptor:
232         *s_out = "DW_TAG_HP_array_descriptor";
233         return DW_DLV_OK;
234     case DW_TAG_format_label:
235         *s_out = "DW_TAG_format_label";
236         return DW_DLV_OK;
237     case DW_TAG_function_template:
238         *s_out = "DW_TAG_function_template";
239         return DW_DLV_OK;
240     case DW_TAG_class_template:
241         *s_out = "DW_TAG_class_template";
242         return DW_DLV_OK;
243     case DW_TAG_GNU_BINCL:
244         *s_out = "DW_TAG_GNU_BINCL";
245         return DW_DLV_OK;
246     case DW_TAG_GNU_EINCL:
247         *s_out = "DW_TAG_GNU_EINCL";
248         return DW_DLV_OK;
249     case DW_TAG_GNU_template_template_parameter:
250         *s_out = "DW_TAG_GNU_template_template_parameter";
251         return DW_DLV_OK;
252     /* Skipping alternate spelling of value 0x4106. DW_TAG_GNU_template_template_param */
253     case DW_TAG_GNU_template_parameter_pack:
254         *s_out = "DW_TAG_GNU_template_parameter_pack";
255         return DW_DLV_OK;
256     case DW_TAG_GNU_formal_parameter_pack:
257         *s_out = "DW_TAG_GNU_formal_parameter_pack";
258         return DW_DLV_OK;
259     case DW_TAG_GNU_call_site:
260         *s_out = "DW_TAG_GNU_call_site";
261         return DW_DLV_OK;
262     case DW_TAG_GNU_call_site_parameter:
263         *s_out = "DW_TAG_GNU_call_site_parameter";
264         return DW_DLV_OK;
265     case DW_TAG_SUN_function_template:
266         *s_out = "DW_TAG_SUN_function_template";
267         return DW_DLV_OK;
268     case DW_TAG_SUN_class_template:
269         *s_out = "DW_TAG_SUN_class_template";
270         return DW_DLV_OK;
271     case DW_TAG_SUN_struct_template:
272         *s_out = "DW_TAG_SUN_struct_template";
273         return DW_DLV_OK;
274     case DW_TAG_SUN_union_template:
275         *s_out = "DW_TAG_SUN_union_template";
276         return DW_DLV_OK;
277     case DW_TAG_SUN_indirect_inheritance:
278         *s_out = "DW_TAG_SUN_indirect_inheritance";
279         return DW_DLV_OK;
280     case DW_TAG_SUN_codeflags:
281         *s_out = "DW_TAG_SUN_codeflags";
282         return DW_DLV_OK;
283     case DW_TAG_SUN_memop_info:
284         *s_out = "DW_TAG_SUN_memop_info";
285         return DW_DLV_OK;
286     case DW_TAG_SUN_omp_child_func:
287         *s_out = "DW_TAG_SUN_omp_child_func";
288         return DW_DLV_OK;
289     case DW_TAG_SUN_rtti_descriptor:
290         *s_out = "DW_TAG_SUN_rtti_descriptor";
291         return DW_DLV_OK;
292     case DW_TAG_SUN_dtor_info:
293         *s_out = "DW_TAG_SUN_dtor_info";
294         return DW_DLV_OK;
295     case DW_TAG_SUN_dtor:
296         *s_out = "DW_TAG_SUN_dtor";
297         return DW_DLV_OK;
298     case DW_TAG_SUN_f90_interface:
299         *s_out = "DW_TAG_SUN_f90_interface";
300         return DW_DLV_OK;
301     case DW_TAG_SUN_fortran_vax_structure:
302         *s_out = "DW_TAG_SUN_fortran_vax_structure";
303         return DW_DLV_OK;
304     case DW_TAG_SUN_hi:
305         *s_out = "DW_TAG_SUN_hi";
306         return DW_DLV_OK;
307     case DW_TAG_ALTIUM_circ_type:
308         *s_out = "DW_TAG_ALTIUM_circ_type";
309         return DW_DLV_OK;
310     case DW_TAG_ALTIUM_mwa_circ_type:
311         *s_out = "DW_TAG_ALTIUM_mwa_circ_type";
312         return DW_DLV_OK;
313     case DW_TAG_ALTIUM_rev_carry_type:
314         *s_out = "DW_TAG_ALTIUM_rev_carry_type";
315         return DW_DLV_OK;
316     case DW_TAG_ALTIUM_rom:
317         *s_out = "DW_TAG_ALTIUM_rom";
318         return DW_DLV_OK;
319     case DW_TAG_upc_shared_type:
320         *s_out = "DW_TAG_upc_shared_type";
321         return DW_DLV_OK;
322     case DW_TAG_upc_strict_type:
323         *s_out = "DW_TAG_upc_strict_type";
324         return DW_DLV_OK;
325     case DW_TAG_upc_relaxed_type:
326         *s_out = "DW_TAG_upc_relaxed_type";
327         return DW_DLV_OK;
328     case DW_TAG_PGI_kanji_type:
329         *s_out = "DW_TAG_PGI_kanji_type";
330         return DW_DLV_OK;
331     case DW_TAG_PGI_interface_block:
332         *s_out = "DW_TAG_PGI_interface_block";
333         return DW_DLV_OK;
334     case DW_TAG_hi_user:
335         *s_out = "DW_TAG_hi_user";
336         return DW_DLV_OK;
337     }
338     return DW_DLV_NO_ENTRY;
339 }
340 /* ARGSUSED */
341 int
342 dwarf_get_children_name (unsigned int val,const char ** s_out)
343 {
344     switch (val) {
345     case DW_children_no:
346         *s_out = "DW_children_no";
347         return DW_DLV_OK;
348     case DW_children_yes:
349         *s_out = "DW_children_yes";
350         return DW_DLV_OK;
351     }
352     return DW_DLV_NO_ENTRY;
353 }
354 /* ARGSUSED */
355 int
356 dwarf_get_FORM_name (unsigned int val,const char ** s_out)
357 {
358     switch (val) {
359     case DW_FORM_addr:
360         *s_out = "DW_FORM_addr";
361         return DW_DLV_OK;
362     case DW_FORM_block2:
363         *s_out = "DW_FORM_block2";
364         return DW_DLV_OK;
365     case DW_FORM_block4:
366         *s_out = "DW_FORM_block4";
367         return DW_DLV_OK;
368     case DW_FORM_data2:
369         *s_out = "DW_FORM_data2";
370         return DW_DLV_OK;
371     case DW_FORM_data4:
372         *s_out = "DW_FORM_data4";
373         return DW_DLV_OK;
374     case DW_FORM_data8:
375         *s_out = "DW_FORM_data8";
376         return DW_DLV_OK;
377     case DW_FORM_string:
378         *s_out = "DW_FORM_string";
379         return DW_DLV_OK;
380     case DW_FORM_block:
381         *s_out = "DW_FORM_block";
382         return DW_DLV_OK;
383     case DW_FORM_block1:
384         *s_out = "DW_FORM_block1";
385         return DW_DLV_OK;
386     case DW_FORM_data1:
387         *s_out = "DW_FORM_data1";
388         return DW_DLV_OK;
389     case DW_FORM_flag:
390         *s_out = "DW_FORM_flag";
391         return DW_DLV_OK;
392     case DW_FORM_sdata:
393         *s_out = "DW_FORM_sdata";
394         return DW_DLV_OK;
395     case DW_FORM_strp:
396         *s_out = "DW_FORM_strp";
397         return DW_DLV_OK;
398     case DW_FORM_udata:
399         *s_out = "DW_FORM_udata";
400         return DW_DLV_OK;
401     case DW_FORM_ref_addr:
402         *s_out = "DW_FORM_ref_addr";
403         return DW_DLV_OK;
404     case DW_FORM_ref1:
405         *s_out = "DW_FORM_ref1";
406         return DW_DLV_OK;
407     case DW_FORM_ref2:
408         *s_out = "DW_FORM_ref2";
409         return DW_DLV_OK;
410     case DW_FORM_ref4:
411         *s_out = "DW_FORM_ref4";
412         return DW_DLV_OK;
413     case DW_FORM_ref8:
414         *s_out = "DW_FORM_ref8";
415         return DW_DLV_OK;
416     case DW_FORM_ref_udata:
417         *s_out = "DW_FORM_ref_udata";
418         return DW_DLV_OK;
419     case DW_FORM_indirect:
420         *s_out = "DW_FORM_indirect";
421         return DW_DLV_OK;
422     case DW_FORM_sec_offset:
423         *s_out = "DW_FORM_sec_offset";
424         return DW_DLV_OK;
425     case DW_FORM_exprloc:
426         *s_out = "DW_FORM_exprloc";
427         return DW_DLV_OK;
428     case DW_FORM_flag_present:
429         *s_out = "DW_FORM_flag_present";
430         return DW_DLV_OK;
431     case DW_FORM_strx:
432         *s_out = "DW_FORM_strx";
433         return DW_DLV_OK;
434     case DW_FORM_addrx:
435         *s_out = "DW_FORM_addrx";
436         return DW_DLV_OK;
437     case DW_FORM_ref_sup4:
438         *s_out = "DW_FORM_ref_sup4";
439         return DW_DLV_OK;
440     case DW_FORM_strp_sup:
441         *s_out = "DW_FORM_strp_sup";
442         return DW_DLV_OK;
443     case DW_FORM_data16:
444         *s_out = "DW_FORM_data16";
445         return DW_DLV_OK;
446     case DW_FORM_line_strp:
447         *s_out = "DW_FORM_line_strp";
448         return DW_DLV_OK;
449     case DW_FORM_ref_sig8:
450         *s_out = "DW_FORM_ref_sig8";
451         return DW_DLV_OK;
452     case DW_FORM_implicit_const:
453         *s_out = "DW_FORM_implicit_const";
454         return DW_DLV_OK;
455     case DW_FORM_loclistx:
456         *s_out = "DW_FORM_loclistx";
457         return DW_DLV_OK;
458     case DW_FORM_rnglistx:
459         *s_out = "DW_FORM_rnglistx";
460         return DW_DLV_OK;
461     case DW_FORM_ref_sup8:
462         *s_out = "DW_FORM_ref_sup8";
463         return DW_DLV_OK;
464     case DW_FORM_strx1:
465         *s_out = "DW_FORM_strx1";
466         return DW_DLV_OK;
467     case DW_FORM_strx2:
468         *s_out = "DW_FORM_strx2";
469         return DW_DLV_OK;
470     case DW_FORM_strx3:
471         *s_out = "DW_FORM_strx3";
472         return DW_DLV_OK;
473     case DW_FORM_strx4:
474         *s_out = "DW_FORM_strx4";
475         return DW_DLV_OK;
476     case DW_FORM_addrx1:
477         *s_out = "DW_FORM_addrx1";
478         return DW_DLV_OK;
479     case DW_FORM_addrx2:
480         *s_out = "DW_FORM_addrx2";
481         return DW_DLV_OK;
482     case DW_FORM_addrx3:
483         *s_out = "DW_FORM_addrx3";
484         return DW_DLV_OK;
485     case DW_FORM_addrx4:
486         *s_out = "DW_FORM_addrx4";
487         return DW_DLV_OK;
488     case DW_FORM_GNU_addr_index:
489         *s_out = "DW_FORM_GNU_addr_index";
490         return DW_DLV_OK;
491     case DW_FORM_GNU_str_index:
492         *s_out = "DW_FORM_GNU_str_index";
493         return DW_DLV_OK;
494     case DW_FORM_GNU_ref_alt:
495         *s_out = "DW_FORM_GNU_ref_alt";
496         return DW_DLV_OK;
497     case DW_FORM_GNU_strp_alt:
498         *s_out = "DW_FORM_GNU_strp_alt";
499         return DW_DLV_OK;
500     }
501     return DW_DLV_NO_ENTRY;
502 }
503 /* ARGSUSED */
504 int
505 dwarf_get_AT_name (unsigned int val,const char ** s_out)
506 {
507     switch (val) {
508     case DW_AT_sibling:
509         *s_out = "DW_AT_sibling";
510         return DW_DLV_OK;
511     case DW_AT_location:
512         *s_out = "DW_AT_location";
513         return DW_DLV_OK;
514     case DW_AT_name:
515         *s_out = "DW_AT_name";
516         return DW_DLV_OK;
517     case DW_AT_ordering:
518         *s_out = "DW_AT_ordering";
519         return DW_DLV_OK;
520     case DW_AT_subscr_data:
521         *s_out = "DW_AT_subscr_data";
522         return DW_DLV_OK;
523     case DW_AT_byte_size:
524         *s_out = "DW_AT_byte_size";
525         return DW_DLV_OK;
526     case DW_AT_bit_offset:
527         *s_out = "DW_AT_bit_offset";
528         return DW_DLV_OK;
529     case DW_AT_bit_size:
530         *s_out = "DW_AT_bit_size";
531         return DW_DLV_OK;
532     case DW_AT_element_list:
533         *s_out = "DW_AT_element_list";
534         return DW_DLV_OK;
535     case DW_AT_stmt_list:
536         *s_out = "DW_AT_stmt_list";
537         return DW_DLV_OK;
538     case DW_AT_low_pc:
539         *s_out = "DW_AT_low_pc";
540         return DW_DLV_OK;
541     case DW_AT_high_pc:
542         *s_out = "DW_AT_high_pc";
543         return DW_DLV_OK;
544     case DW_AT_language:
545         *s_out = "DW_AT_language";
546         return DW_DLV_OK;
547     case DW_AT_member:
548         *s_out = "DW_AT_member";
549         return DW_DLV_OK;
550     case DW_AT_discr:
551         *s_out = "DW_AT_discr";
552         return DW_DLV_OK;
553     case DW_AT_discr_value:
554         *s_out = "DW_AT_discr_value";
555         return DW_DLV_OK;
556     case DW_AT_visibility:
557         *s_out = "DW_AT_visibility";
558         return DW_DLV_OK;
559     case DW_AT_import:
560         *s_out = "DW_AT_import";
561         return DW_DLV_OK;
562     case DW_AT_string_length:
563         *s_out = "DW_AT_string_length";
564         return DW_DLV_OK;
565     case DW_AT_common_reference:
566         *s_out = "DW_AT_common_reference";
567         return DW_DLV_OK;
568     case DW_AT_comp_dir:
569         *s_out = "DW_AT_comp_dir";
570         return DW_DLV_OK;
571     case DW_AT_const_value:
572         *s_out = "DW_AT_const_value";
573         return DW_DLV_OK;
574     case DW_AT_containing_type:
575         *s_out = "DW_AT_containing_type";
576         return DW_DLV_OK;
577     case DW_AT_default_value:
578         *s_out = "DW_AT_default_value";
579         return DW_DLV_OK;
580     case DW_AT_inline:
581         *s_out = "DW_AT_inline";
582         return DW_DLV_OK;
583     case DW_AT_is_optional:
584         *s_out = "DW_AT_is_optional";
585         return DW_DLV_OK;
586     case DW_AT_lower_bound:
587         *s_out = "DW_AT_lower_bound";
588         return DW_DLV_OK;
589     case DW_AT_producer:
590         *s_out = "DW_AT_producer";
591         return DW_DLV_OK;
592     case DW_AT_prototyped:
593         *s_out = "DW_AT_prototyped";
594         return DW_DLV_OK;
595     case DW_AT_return_addr:
596         *s_out = "DW_AT_return_addr";
597         return DW_DLV_OK;
598     case DW_AT_start_scope:
599         *s_out = "DW_AT_start_scope";
600         return DW_DLV_OK;
601     case DW_AT_bit_stride:
602         *s_out = "DW_AT_bit_stride";
603         return DW_DLV_OK;
604     /* Skipping alternate spelling of value 0x2e. DW_AT_stride_size */
605     case DW_AT_upper_bound:
606         *s_out = "DW_AT_upper_bound";
607         return DW_DLV_OK;
608     case DW_AT_abstract_origin:
609         *s_out = "DW_AT_abstract_origin";
610         return DW_DLV_OK;
611     case DW_AT_accessibility:
612         *s_out = "DW_AT_accessibility";
613         return DW_DLV_OK;
614     case DW_AT_address_class:
615         *s_out = "DW_AT_address_class";
616         return DW_DLV_OK;
617     case DW_AT_artificial:
618         *s_out = "DW_AT_artificial";
619         return DW_DLV_OK;
620     case DW_AT_base_types:
621         *s_out = "DW_AT_base_types";
622         return DW_DLV_OK;
623     case DW_AT_calling_convention:
624         *s_out = "DW_AT_calling_convention";
625         return DW_DLV_OK;
626     case DW_AT_count:
627         *s_out = "DW_AT_count";
628         return DW_DLV_OK;
629     case DW_AT_data_member_location:
630         *s_out = "DW_AT_data_member_location";
631         return DW_DLV_OK;
632     case DW_AT_decl_column:
633         *s_out = "DW_AT_decl_column";
634         return DW_DLV_OK;
635     case DW_AT_decl_file:
636         *s_out = "DW_AT_decl_file";
637         return DW_DLV_OK;
638     case DW_AT_decl_line:
639         *s_out = "DW_AT_decl_line";
640         return DW_DLV_OK;
641     case DW_AT_declaration:
642         *s_out = "DW_AT_declaration";
643         return DW_DLV_OK;
644     case DW_AT_discr_list:
645         *s_out = "DW_AT_discr_list";
646         return DW_DLV_OK;
647     case DW_AT_encoding:
648         *s_out = "DW_AT_encoding";
649         return DW_DLV_OK;
650     case DW_AT_external:
651         *s_out = "DW_AT_external";
652         return DW_DLV_OK;
653     case DW_AT_frame_base:
654         *s_out = "DW_AT_frame_base";
655         return DW_DLV_OK;
656     case DW_AT_friend:
657         *s_out = "DW_AT_friend";
658         return DW_DLV_OK;
659     case DW_AT_identifier_case:
660         *s_out = "DW_AT_identifier_case";
661         return DW_DLV_OK;
662     case DW_AT_macro_info:
663         *s_out = "DW_AT_macro_info";
664         return DW_DLV_OK;
665     case DW_AT_namelist_item:
666         *s_out = "DW_AT_namelist_item";
667         return DW_DLV_OK;
668     case DW_AT_priority:
669         *s_out = "DW_AT_priority";
670         return DW_DLV_OK;
671     case DW_AT_segment:
672         *s_out = "DW_AT_segment";
673         return DW_DLV_OK;
674     case DW_AT_specification:
675         *s_out = "DW_AT_specification";
676         return DW_DLV_OK;
677     case DW_AT_static_link:
678         *s_out = "DW_AT_static_link";
679         return DW_DLV_OK;
680     case DW_AT_type:
681         *s_out = "DW_AT_type";
682         return DW_DLV_OK;
683     case DW_AT_use_location:
684         *s_out = "DW_AT_use_location";
685         return DW_DLV_OK;
686     case DW_AT_variable_parameter:
687         *s_out = "DW_AT_variable_parameter";
688         return DW_DLV_OK;
689     case DW_AT_virtuality:
690         *s_out = "DW_AT_virtuality";
691         return DW_DLV_OK;
692     case DW_AT_vtable_elem_location:
693         *s_out = "DW_AT_vtable_elem_location";
694         return DW_DLV_OK;
695     case DW_AT_allocated:
696         *s_out = "DW_AT_allocated";
697         return DW_DLV_OK;
698     case DW_AT_associated:
699         *s_out = "DW_AT_associated";
700         return DW_DLV_OK;
701     case DW_AT_data_location:
702         *s_out = "DW_AT_data_location";
703         return DW_DLV_OK;
704     case DW_AT_byte_stride:
705         *s_out = "DW_AT_byte_stride";
706         return DW_DLV_OK;
707     /* Skipping alternate spelling of value 0x51. DW_AT_stride */
708     case DW_AT_entry_pc:
709         *s_out = "DW_AT_entry_pc";
710         return DW_DLV_OK;
711     case DW_AT_use_UTF8:
712         *s_out = "DW_AT_use_UTF8";
713         return DW_DLV_OK;
714     case DW_AT_extension:
715         *s_out = "DW_AT_extension";
716         return DW_DLV_OK;
717     case DW_AT_ranges:
718         *s_out = "DW_AT_ranges";
719         return DW_DLV_OK;
720     case DW_AT_trampoline:
721         *s_out = "DW_AT_trampoline";
722         return DW_DLV_OK;
723     case DW_AT_call_column:
724         *s_out = "DW_AT_call_column";
725         return DW_DLV_OK;
726     case DW_AT_call_file:
727         *s_out = "DW_AT_call_file";
728         return DW_DLV_OK;
729     case DW_AT_call_line:
730         *s_out = "DW_AT_call_line";
731         return DW_DLV_OK;
732     case DW_AT_description:
733         *s_out = "DW_AT_description";
734         return DW_DLV_OK;
735     case DW_AT_binary_scale:
736         *s_out = "DW_AT_binary_scale";
737         return DW_DLV_OK;
738     case DW_AT_decimal_scale:
739         *s_out = "DW_AT_decimal_scale";
740         return DW_DLV_OK;
741     case DW_AT_small:
742         *s_out = "DW_AT_small";
743         return DW_DLV_OK;
744     case DW_AT_decimal_sign:
745         *s_out = "DW_AT_decimal_sign";
746         return DW_DLV_OK;
747     case DW_AT_digit_count:
748         *s_out = "DW_AT_digit_count";
749         return DW_DLV_OK;
750     case DW_AT_picture_string:
751         *s_out = "DW_AT_picture_string";
752         return DW_DLV_OK;
753     case DW_AT_mutable:
754         *s_out = "DW_AT_mutable";
755         return DW_DLV_OK;
756     case DW_AT_threads_scaled:
757         *s_out = "DW_AT_threads_scaled";
758         return DW_DLV_OK;
759     case DW_AT_explicit:
760         *s_out = "DW_AT_explicit";
761         return DW_DLV_OK;
762     case DW_AT_object_pointer:
763         *s_out = "DW_AT_object_pointer";
764         return DW_DLV_OK;
765     case DW_AT_endianity:
766         *s_out = "DW_AT_endianity";
767         return DW_DLV_OK;
768     case DW_AT_elemental:
769         *s_out = "DW_AT_elemental";
770         return DW_DLV_OK;
771     case DW_AT_pure:
772         *s_out = "DW_AT_pure";
773         return DW_DLV_OK;
774     case DW_AT_recursive:
775         *s_out = "DW_AT_recursive";
776         return DW_DLV_OK;
777     case DW_AT_signature:
778         *s_out = "DW_AT_signature";
779         return DW_DLV_OK;
780     case DW_AT_main_subprogram:
781         *s_out = "DW_AT_main_subprogram";
782         return DW_DLV_OK;
783     case DW_AT_data_bit_offset:
784         *s_out = "DW_AT_data_bit_offset";
785         return DW_DLV_OK;
786     case DW_AT_const_expr:
787         *s_out = "DW_AT_const_expr";
788         return DW_DLV_OK;
789     case DW_AT_enum_class:
790         *s_out = "DW_AT_enum_class";
791         return DW_DLV_OK;
792     case DW_AT_linkage_name:
793         *s_out = "DW_AT_linkage_name";
794         return DW_DLV_OK;
795     case DW_AT_string_length_bit_size:
796         *s_out = "DW_AT_string_length_bit_size";
797         return DW_DLV_OK;
798     case DW_AT_string_length_byte_size:
799         *s_out = "DW_AT_string_length_byte_size";
800         return DW_DLV_OK;
801     case DW_AT_rank:
802         *s_out = "DW_AT_rank";
803         return DW_DLV_OK;
804     case DW_AT_str_offsets_base:
805         *s_out = "DW_AT_str_offsets_base";
806         return DW_DLV_OK;
807     case DW_AT_addr_base:
808         *s_out = "DW_AT_addr_base";
809         return DW_DLV_OK;
810     case DW_AT_rnglists_base:
811         *s_out = "DW_AT_rnglists_base";
812         return DW_DLV_OK;
813     case DW_AT_dwo_id:
814         *s_out = "DW_AT_dwo_id";
815         return DW_DLV_OK;
816     case DW_AT_dwo_name:
817         *s_out = "DW_AT_dwo_name";
818         return DW_DLV_OK;
819     case DW_AT_reference:
820         *s_out = "DW_AT_reference";
821         return DW_DLV_OK;
822     case DW_AT_rvalue_reference:
823         *s_out = "DW_AT_rvalue_reference";
824         return DW_DLV_OK;
825     case DW_AT_macros:
826         *s_out = "DW_AT_macros";
827         return DW_DLV_OK;
828     case DW_AT_call_all_calls:
829         *s_out = "DW_AT_call_all_calls";
830         return DW_DLV_OK;
831     case DW_AT_call_all_source_calls:
832         *s_out = "DW_AT_call_all_source_calls";
833         return DW_DLV_OK;
834     case DW_AT_call_all_tail_calls:
835         *s_out = "DW_AT_call_all_tail_calls";
836         return DW_DLV_OK;
837     case DW_AT_call_return_pc:
838         *s_out = "DW_AT_call_return_pc";
839         return DW_DLV_OK;
840     case DW_AT_call_value:
841         *s_out = "DW_AT_call_value";
842         return DW_DLV_OK;
843     case DW_AT_call_origin:
844         *s_out = "DW_AT_call_origin";
845         return DW_DLV_OK;
846     case DW_AT_call_parameter:
847         *s_out = "DW_AT_call_parameter";
848         return DW_DLV_OK;
849     case DW_AT_call_pc:
850         *s_out = "DW_AT_call_pc";
851         return DW_DLV_OK;
852     case DW_AT_call_tail_call:
853         *s_out = "DW_AT_call_tail_call";
854         return DW_DLV_OK;
855     case DW_AT_call_target:
856         *s_out = "DW_AT_call_target";
857         return DW_DLV_OK;
858     case DW_AT_call_target_clobbered:
859         *s_out = "DW_AT_call_target_clobbered";
860         return DW_DLV_OK;
861     case DW_AT_call_data_location:
862         *s_out = "DW_AT_call_data_location";
863         return DW_DLV_OK;
864     case DW_AT_call_data_value:
865         *s_out = "DW_AT_call_data_value";
866         return DW_DLV_OK;
867     case DW_AT_noreturn:
868         *s_out = "DW_AT_noreturn";
869         return DW_DLV_OK;
870     case DW_AT_alignment:
871         *s_out = "DW_AT_alignment";
872         return DW_DLV_OK;
873     case DW_AT_export_symbols:
874         *s_out = "DW_AT_export_symbols";
875         return DW_DLV_OK;
876     case DW_AT_deleted:
877         *s_out = "DW_AT_deleted";
878         return DW_DLV_OK;
879     case DW_AT_defaulted:
880         *s_out = "DW_AT_defaulted";
881         return DW_DLV_OK;
882     case DW_AT_loclists_base:
883         *s_out = "DW_AT_loclists_base";
884         return DW_DLV_OK;
885     case DW_AT_HP_block_index:
886         *s_out = "DW_AT_HP_block_index";
887         return DW_DLV_OK;
888     /* Skipping alternate spelling of value 0x2000. DW_AT_lo_user */
889     case DW_AT_MIPS_fde:
890         *s_out = "DW_AT_MIPS_fde";
891         return DW_DLV_OK;
892     /* Skipping alternate spelling of value 0x2001. DW_AT_HP_unmodifiable */
893     /* Skipping alternate spelling of value 0x2001. DW_AT_CPQ_discontig_ranges */
894     case DW_AT_MIPS_loop_begin:
895         *s_out = "DW_AT_MIPS_loop_begin";
896         return DW_DLV_OK;
897     /* Skipping alternate spelling of value 0x2002. DW_AT_CPQ_semantic_events */
898     case DW_AT_MIPS_tail_loop_begin:
899         *s_out = "DW_AT_MIPS_tail_loop_begin";
900         return DW_DLV_OK;
901     /* Skipping alternate spelling of value 0x2003. DW_AT_CPQ_split_lifetimes_var */
902     case DW_AT_MIPS_epilog_begin:
903         *s_out = "DW_AT_MIPS_epilog_begin";
904         return DW_DLV_OK;
905     /* Skipping alternate spelling of value 0x2004. DW_AT_CPQ_split_lifetimes_rtn */
906     case DW_AT_MIPS_loop_unroll_factor:
907         *s_out = "DW_AT_MIPS_loop_unroll_factor";
908         return DW_DLV_OK;
909     /* Skipping alternate spelling of value 0x2005. DW_AT_CPQ_prologue_length */
910     case DW_AT_MIPS_software_pipeline_depth:
911         *s_out = "DW_AT_MIPS_software_pipeline_depth";
912         return DW_DLV_OK;
913     case DW_AT_MIPS_linkage_name:
914         *s_out = "DW_AT_MIPS_linkage_name";
915         return DW_DLV_OK;
916     case DW_AT_MIPS_stride:
917         *s_out = "DW_AT_MIPS_stride";
918         return DW_DLV_OK;
919     case DW_AT_MIPS_abstract_name:
920         *s_out = "DW_AT_MIPS_abstract_name";
921         return DW_DLV_OK;
922     case DW_AT_MIPS_clone_origin:
923         *s_out = "DW_AT_MIPS_clone_origin";
924         return DW_DLV_OK;
925     case DW_AT_MIPS_has_inlines:
926         *s_out = "DW_AT_MIPS_has_inlines";
927         return DW_DLV_OK;
928     case DW_AT_MIPS_stride_byte:
929         *s_out = "DW_AT_MIPS_stride_byte";
930         return DW_DLV_OK;
931     case DW_AT_MIPS_stride_elem:
932         *s_out = "DW_AT_MIPS_stride_elem";
933         return DW_DLV_OK;
934     case DW_AT_MIPS_ptr_dopetype:
935         *s_out = "DW_AT_MIPS_ptr_dopetype";
936         return DW_DLV_OK;
937     case DW_AT_MIPS_allocatable_dopetype:
938         *s_out = "DW_AT_MIPS_allocatable_dopetype";
939         return DW_DLV_OK;
940     case DW_AT_MIPS_assumed_shape_dopetype:
941         *s_out = "DW_AT_MIPS_assumed_shape_dopetype";
942         return DW_DLV_OK;
943     /* Skipping alternate spelling of value 0x2010. DW_AT_HP_actuals_stmt_list */
944     case DW_AT_MIPS_assumed_size:
945         *s_out = "DW_AT_MIPS_assumed_size";
946         return DW_DLV_OK;
947     /* Skipping alternate spelling of value 0x2011. DW_AT_HP_proc_per_section */
948     case DW_AT_HP_raw_data_ptr:
949         *s_out = "DW_AT_HP_raw_data_ptr";
950         return DW_DLV_OK;
951     case DW_AT_HP_pass_by_reference:
952         *s_out = "DW_AT_HP_pass_by_reference";
953         return DW_DLV_OK;
954     case DW_AT_HP_opt_level:
955         *s_out = "DW_AT_HP_opt_level";
956         return DW_DLV_OK;
957     case DW_AT_HP_prof_version_id:
958         *s_out = "DW_AT_HP_prof_version_id";
959         return DW_DLV_OK;
960     case DW_AT_HP_opt_flags:
961         *s_out = "DW_AT_HP_opt_flags";
962         return DW_DLV_OK;
963     case DW_AT_HP_cold_region_low_pc:
964         *s_out = "DW_AT_HP_cold_region_low_pc";
965         return DW_DLV_OK;
966     case DW_AT_HP_cold_region_high_pc:
967         *s_out = "DW_AT_HP_cold_region_high_pc";
968         return DW_DLV_OK;
969     case DW_AT_HP_all_variables_modifiable:
970         *s_out = "DW_AT_HP_all_variables_modifiable";
971         return DW_DLV_OK;
972     case DW_AT_HP_linkage_name:
973         *s_out = "DW_AT_HP_linkage_name";
974         return DW_DLV_OK;
975     case DW_AT_HP_prof_flags:
976         *s_out = "DW_AT_HP_prof_flags";
977         return DW_DLV_OK;
978     case DW_AT_INTEL_other_endian:
979         *s_out = "DW_AT_INTEL_other_endian";
980         return DW_DLV_OK;
981     case DW_AT_sf_names:
982         *s_out = "DW_AT_sf_names";
983         return DW_DLV_OK;
984     case DW_AT_src_info:
985         *s_out = "DW_AT_src_info";
986         return DW_DLV_OK;
987     case DW_AT_mac_info:
988         *s_out = "DW_AT_mac_info";
989         return DW_DLV_OK;
990     case DW_AT_src_coords:
991         *s_out = "DW_AT_src_coords";
992         return DW_DLV_OK;
993     case DW_AT_body_begin:
994         *s_out = "DW_AT_body_begin";
995         return DW_DLV_OK;
996     case DW_AT_body_end:
997         *s_out = "DW_AT_body_end";
998         return DW_DLV_OK;
999     case DW_AT_GNU_vector:
1000         *s_out = "DW_AT_GNU_vector";
1001         return DW_DLV_OK;
1002     case DW_AT_GNU_guarded_by:
1003         *s_out = "DW_AT_GNU_guarded_by";
1004         return DW_DLV_OK;
1005     case DW_AT_GNU_pt_guarded_by:
1006         *s_out = "DW_AT_GNU_pt_guarded_by";
1007         return DW_DLV_OK;
1008     case DW_AT_GNU_guarded:
1009         *s_out = "DW_AT_GNU_guarded";
1010         return DW_DLV_OK;
1011     case DW_AT_GNU_pt_guarded:
1012         *s_out = "DW_AT_GNU_pt_guarded";
1013         return DW_DLV_OK;
1014     case DW_AT_GNU_locks_excluded:
1015         *s_out = "DW_AT_GNU_locks_excluded";
1016         return DW_DLV_OK;
1017     case DW_AT_GNU_exclusive_locks_required:
1018         *s_out = "DW_AT_GNU_exclusive_locks_required";
1019         return DW_DLV_OK;
1020     case DW_AT_GNU_shared_locks_required:
1021         *s_out = "DW_AT_GNU_shared_locks_required";
1022         return DW_DLV_OK;
1023     case DW_AT_GNU_odr_signature:
1024         *s_out = "DW_AT_GNU_odr_signature";
1025         return DW_DLV_OK;
1026     case DW_AT_GNU_template_name:
1027         *s_out = "DW_AT_GNU_template_name";
1028         return DW_DLV_OK;
1029     case DW_AT_GNU_call_site_value:
1030         *s_out = "DW_AT_GNU_call_site_value";
1031         return DW_DLV_OK;
1032     case DW_AT_GNU_call_site_data_value:
1033         *s_out = "DW_AT_GNU_call_site_data_value";
1034         return DW_DLV_OK;
1035     case DW_AT_GNU_call_site_target:
1036         *s_out = "DW_AT_GNU_call_site_target";
1037         return DW_DLV_OK;
1038     case DW_AT_GNU_call_site_target_clobbered:
1039         *s_out = "DW_AT_GNU_call_site_target_clobbered";
1040         return DW_DLV_OK;
1041     case DW_AT_GNU_tail_call:
1042         *s_out = "DW_AT_GNU_tail_call";
1043         return DW_DLV_OK;
1044     case DW_AT_GNU_all_tail_call_sites:
1045         *s_out = "DW_AT_GNU_all_tail_call_sites";
1046         return DW_DLV_OK;
1047     case DW_AT_GNU_all_call_sites:
1048         *s_out = "DW_AT_GNU_all_call_sites";
1049         return DW_DLV_OK;
1050     case DW_AT_GNU_all_source_call_sites:
1051         *s_out = "DW_AT_GNU_all_source_call_sites";
1052         return DW_DLV_OK;
1053     case DW_AT_GNU_macros:
1054         *s_out = "DW_AT_GNU_macros";
1055         return DW_DLV_OK;
1056     case DW_AT_GNU_dwo_name:
1057         *s_out = "DW_AT_GNU_dwo_name";
1058         return DW_DLV_OK;
1059     case DW_AT_GNU_dwo_id:
1060         *s_out = "DW_AT_GNU_dwo_id";
1061         return DW_DLV_OK;
1062     case DW_AT_GNU_ranges_base:
1063         *s_out = "DW_AT_GNU_ranges_base";
1064         return DW_DLV_OK;
1065     case DW_AT_GNU_addr_base:
1066         *s_out = "DW_AT_GNU_addr_base";
1067         return DW_DLV_OK;
1068     case DW_AT_GNU_pubnames:
1069         *s_out = "DW_AT_GNU_pubnames";
1070         return DW_DLV_OK;
1071     case DW_AT_GNU_pubtypes:
1072         *s_out = "DW_AT_GNU_pubtypes";
1073         return DW_DLV_OK;
1074     case DW_AT_GNU_discriminator:
1075         *s_out = "DW_AT_GNU_discriminator";
1076         return DW_DLV_OK;
1077     case DW_AT_SUN_template:
1078         *s_out = "DW_AT_SUN_template";
1079         return DW_DLV_OK;
1080     /* Skipping alternate spelling of value 0x2201. DW_AT_VMS_rtnbeg_pd_address */
1081     case DW_AT_SUN_alignment:
1082         *s_out = "DW_AT_SUN_alignment";
1083         return DW_DLV_OK;
1084     case DW_AT_SUN_vtable:
1085         *s_out = "DW_AT_SUN_vtable";
1086         return DW_DLV_OK;
1087     case DW_AT_SUN_count_guarantee:
1088         *s_out = "DW_AT_SUN_count_guarantee";
1089         return DW_DLV_OK;
1090     case DW_AT_SUN_command_line:
1091         *s_out = "DW_AT_SUN_command_line";
1092         return DW_DLV_OK;
1093     case DW_AT_SUN_vbase:
1094         *s_out = "DW_AT_SUN_vbase";
1095         return DW_DLV_OK;
1096     case DW_AT_SUN_compile_options:
1097         *s_out = "DW_AT_SUN_compile_options";
1098         return DW_DLV_OK;
1099     case DW_AT_SUN_language:
1100         *s_out = "DW_AT_SUN_language";
1101         return DW_DLV_OK;
1102     case DW_AT_SUN_browser_file:
1103         *s_out = "DW_AT_SUN_browser_file";
1104         return DW_DLV_OK;
1105     case DW_AT_SUN_vtable_abi:
1106         *s_out = "DW_AT_SUN_vtable_abi";
1107         return DW_DLV_OK;
1108     case DW_AT_SUN_func_offsets:
1109         *s_out = "DW_AT_SUN_func_offsets";
1110         return DW_DLV_OK;
1111     case DW_AT_SUN_cf_kind:
1112         *s_out = "DW_AT_SUN_cf_kind";
1113         return DW_DLV_OK;
1114     case DW_AT_SUN_vtable_index:
1115         *s_out = "DW_AT_SUN_vtable_index";
1116         return DW_DLV_OK;
1117     case DW_AT_SUN_omp_tpriv_addr:
1118         *s_out = "DW_AT_SUN_omp_tpriv_addr";
1119         return DW_DLV_OK;
1120     case DW_AT_SUN_omp_child_func:
1121         *s_out = "DW_AT_SUN_omp_child_func";
1122         return DW_DLV_OK;
1123     case DW_AT_SUN_func_offset:
1124         *s_out = "DW_AT_SUN_func_offset";
1125         return DW_DLV_OK;
1126     case DW_AT_SUN_memop_type_ref:
1127         *s_out = "DW_AT_SUN_memop_type_ref";
1128         return DW_DLV_OK;
1129     case DW_AT_SUN_profile_id:
1130         *s_out = "DW_AT_SUN_profile_id";
1131         return DW_DLV_OK;
1132     case DW_AT_SUN_memop_signature:
1133         *s_out = "DW_AT_SUN_memop_signature";
1134         return DW_DLV_OK;
1135     case DW_AT_SUN_obj_dir:
1136         *s_out = "DW_AT_SUN_obj_dir";
1137         return DW_DLV_OK;
1138     case DW_AT_SUN_obj_file:
1139         *s_out = "DW_AT_SUN_obj_file";
1140         return DW_DLV_OK;
1141     case DW_AT_SUN_original_name:
1142         *s_out = "DW_AT_SUN_original_name";
1143         return DW_DLV_OK;
1144     case DW_AT_SUN_hwcprof_signature:
1145         *s_out = "DW_AT_SUN_hwcprof_signature";
1146         return DW_DLV_OK;
1147     case DW_AT_SUN_amd64_parmdump:
1148         *s_out = "DW_AT_SUN_amd64_parmdump";
1149         return DW_DLV_OK;
1150     case DW_AT_SUN_part_link_name:
1151         *s_out = "DW_AT_SUN_part_link_name";
1152         return DW_DLV_OK;
1153     case DW_AT_SUN_link_name:
1154         *s_out = "DW_AT_SUN_link_name";
1155         return DW_DLV_OK;
1156     case DW_AT_SUN_pass_with_const:
1157         *s_out = "DW_AT_SUN_pass_with_const";
1158         return DW_DLV_OK;
1159     case DW_AT_SUN_return_with_const:
1160         *s_out = "DW_AT_SUN_return_with_const";
1161         return DW_DLV_OK;
1162     case DW_AT_SUN_import_by_name:
1163         *s_out = "DW_AT_SUN_import_by_name";
1164         return DW_DLV_OK;
1165     case DW_AT_SUN_f90_pointer:
1166         *s_out = "DW_AT_SUN_f90_pointer";
1167         return DW_DLV_OK;
1168     case DW_AT_SUN_pass_by_ref:
1169         *s_out = "DW_AT_SUN_pass_by_ref";
1170         return DW_DLV_OK;
1171     case DW_AT_SUN_f90_allocatable:
1172         *s_out = "DW_AT_SUN_f90_allocatable";
1173         return DW_DLV_OK;
1174     case DW_AT_SUN_f90_assumed_shape_array:
1175         *s_out = "DW_AT_SUN_f90_assumed_shape_array";
1176         return DW_DLV_OK;
1177     case DW_AT_SUN_c_vla:
1178         *s_out = "DW_AT_SUN_c_vla";
1179         return DW_DLV_OK;
1180     case DW_AT_SUN_return_value_ptr:
1181         *s_out = "DW_AT_SUN_return_value_ptr";
1182         return DW_DLV_OK;
1183     case DW_AT_SUN_dtor_start:
1184         *s_out = "DW_AT_SUN_dtor_start";
1185         return DW_DLV_OK;
1186     case DW_AT_SUN_dtor_length:
1187         *s_out = "DW_AT_SUN_dtor_length";
1188         return DW_DLV_OK;
1189     case DW_AT_SUN_dtor_state_initial:
1190         *s_out = "DW_AT_SUN_dtor_state_initial";
1191         return DW_DLV_OK;
1192     case DW_AT_SUN_dtor_state_final:
1193         *s_out = "DW_AT_SUN_dtor_state_final";
1194         return DW_DLV_OK;
1195     case DW_AT_SUN_dtor_state_deltas:
1196         *s_out = "DW_AT_SUN_dtor_state_deltas";
1197         return DW_DLV_OK;
1198     case DW_AT_SUN_import_by_lname:
1199         *s_out = "DW_AT_SUN_import_by_lname";
1200         return DW_DLV_OK;
1201     case DW_AT_SUN_f90_use_only:
1202         *s_out = "DW_AT_SUN_f90_use_only";
1203         return DW_DLV_OK;
1204     case DW_AT_SUN_namelist_spec:
1205         *s_out = "DW_AT_SUN_namelist_spec";
1206         return DW_DLV_OK;
1207     case DW_AT_SUN_is_omp_child_func:
1208         *s_out = "DW_AT_SUN_is_omp_child_func";
1209         return DW_DLV_OK;
1210     case DW_AT_SUN_fortran_main_alias:
1211         *s_out = "DW_AT_SUN_fortran_main_alias";
1212         return DW_DLV_OK;
1213     case DW_AT_SUN_fortran_based:
1214         *s_out = "DW_AT_SUN_fortran_based";
1215         return DW_DLV_OK;
1216     case DW_AT_ALTIUM_loclist:
1217         *s_out = "DW_AT_ALTIUM_loclist";
1218         return DW_DLV_OK;
1219     case DW_AT_use_GNAT_descriptive_type:
1220         *s_out = "DW_AT_use_GNAT_descriptive_type";
1221         return DW_DLV_OK;
1222     case DW_AT_GNAT_descriptive_type:
1223         *s_out = "DW_AT_GNAT_descriptive_type";
1224         return DW_DLV_OK;
1225     case DW_AT_GNU_numerator:
1226         *s_out = "DW_AT_GNU_numerator";
1227         return DW_DLV_OK;
1228     case DW_AT_GNU_denominator:
1229         *s_out = "DW_AT_GNU_denominator";
1230         return DW_DLV_OK;
1231     case DW_AT_GNU_bias:
1232         *s_out = "DW_AT_GNU_bias";
1233         return DW_DLV_OK;
1234     case DW_AT_go_kind:
1235         *s_out = "DW_AT_go_kind";
1236         return DW_DLV_OK;
1237     case DW_AT_go_key:
1238         *s_out = "DW_AT_go_key";
1239         return DW_DLV_OK;
1240     case DW_AT_go_elem:
1241         *s_out = "DW_AT_go_elem";
1242         return DW_DLV_OK;
1243     case DW_AT_go_embedded_field:
1244         *s_out = "DW_AT_go_embedded_field";
1245         return DW_DLV_OK;
1246     case DW_AT_go_runtime_type:
1247         *s_out = "DW_AT_go_runtime_type";
1248         return DW_DLV_OK;
1249     case DW_AT_upc_threads_scaled:
1250         *s_out = "DW_AT_upc_threads_scaled";
1251         return DW_DLV_OK;
1252     case DW_AT_PGI_lbase:
1253         *s_out = "DW_AT_PGI_lbase";
1254         return DW_DLV_OK;
1255     case DW_AT_PGI_soffset:
1256         *s_out = "DW_AT_PGI_soffset";
1257         return DW_DLV_OK;
1258     case DW_AT_PGI_lstride:
1259         *s_out = "DW_AT_PGI_lstride";
1260         return DW_DLV_OK;
1261     case DW_AT_APPLE_optimized:
1262         *s_out = "DW_AT_APPLE_optimized";
1263         return DW_DLV_OK;
1264     case DW_AT_APPLE_flags:
1265         *s_out = "DW_AT_APPLE_flags";
1266         return DW_DLV_OK;
1267     case DW_AT_APPLE_isa:
1268         *s_out = "DW_AT_APPLE_isa";
1269         return DW_DLV_OK;
1270     case DW_AT_APPLE_block:
1271         *s_out = "DW_AT_APPLE_block";
1272         return DW_DLV_OK;
1273     /* Skipping alternate spelling of value 0x3fe4. DW_AT_APPLE_closure */
1274     case DW_AT_APPLE_major_runtime_vers:
1275         *s_out = "DW_AT_APPLE_major_runtime_vers";
1276         return DW_DLV_OK;
1277     /* Skipping alternate spelling of value 0x3fe5. DW_AT_APPLE_major_runtime_vers */
1278     case DW_AT_APPLE_runtime_class:
1279         *s_out = "DW_AT_APPLE_runtime_class";
1280         return DW_DLV_OK;
1281     /* Skipping alternate spelling of value 0x3fe6. DW_AT_APPLE_runtime_class */
1282     case DW_AT_APPLE_omit_frame_ptr:
1283         *s_out = "DW_AT_APPLE_omit_frame_ptr";
1284         return DW_DLV_OK;
1285     case DW_AT_hi_user:
1286         *s_out = "DW_AT_hi_user";
1287         return DW_DLV_OK;
1288     }
1289     return DW_DLV_NO_ENTRY;
1290 }
1291 /* ARGSUSED */
1292 int
1293 dwarf_get_OP_name (unsigned int val,const char ** s_out)
1294 {
1295     switch (val) {
1296     case DW_OP_addr:
1297         *s_out = "DW_OP_addr";
1298         return DW_DLV_OK;
1299     case DW_OP_deref:
1300         *s_out = "DW_OP_deref";
1301         return DW_DLV_OK;
1302     case DW_OP_const1u:
1303         *s_out = "DW_OP_const1u";
1304         return DW_DLV_OK;
1305     case DW_OP_const1s:
1306         *s_out = "DW_OP_const1s";
1307         return DW_DLV_OK;
1308     case DW_OP_const2u:
1309         *s_out = "DW_OP_const2u";
1310         return DW_DLV_OK;
1311     case DW_OP_const2s:
1312         *s_out = "DW_OP_const2s";
1313         return DW_DLV_OK;
1314     case DW_OP_const4u:
1315         *s_out = "DW_OP_const4u";
1316         return DW_DLV_OK;
1317     case DW_OP_const4s:
1318         *s_out = "DW_OP_const4s";
1319         return DW_DLV_OK;
1320     case DW_OP_const8u:
1321         *s_out = "DW_OP_const8u";
1322         return DW_DLV_OK;
1323     case DW_OP_const8s:
1324         *s_out = "DW_OP_const8s";
1325         return DW_DLV_OK;
1326     case DW_OP_constu:
1327         *s_out = "DW_OP_constu";
1328         return DW_DLV_OK;
1329     case DW_OP_consts:
1330         *s_out = "DW_OP_consts";
1331         return DW_DLV_OK;
1332     case DW_OP_dup:
1333         *s_out = "DW_OP_dup";
1334         return DW_DLV_OK;
1335     case DW_OP_drop:
1336         *s_out = "DW_OP_drop";
1337         return DW_DLV_OK;
1338     case DW_OP_over:
1339         *s_out = "DW_OP_over";
1340         return DW_DLV_OK;
1341     case DW_OP_pick:
1342         *s_out = "DW_OP_pick";
1343         return DW_DLV_OK;
1344     case DW_OP_swap:
1345         *s_out = "DW_OP_swap";
1346         return DW_DLV_OK;
1347     case DW_OP_rot:
1348         *s_out = "DW_OP_rot";
1349         return DW_DLV_OK;
1350     case DW_OP_xderef:
1351         *s_out = "DW_OP_xderef";
1352         return DW_DLV_OK;
1353     case DW_OP_abs:
1354         *s_out = "DW_OP_abs";
1355         return DW_DLV_OK;
1356     case DW_OP_and:
1357         *s_out = "DW_OP_and";
1358         return DW_DLV_OK;
1359     case DW_OP_div:
1360         *s_out = "DW_OP_div";
1361         return DW_DLV_OK;
1362     case DW_OP_minus:
1363         *s_out = "DW_OP_minus";
1364         return DW_DLV_OK;
1365     case DW_OP_mod:
1366         *s_out = "DW_OP_mod";
1367         return DW_DLV_OK;
1368     case DW_OP_mul:
1369         *s_out = "DW_OP_mul";
1370         return DW_DLV_OK;
1371     case DW_OP_neg:
1372         *s_out = "DW_OP_neg";
1373         return DW_DLV_OK;
1374     case DW_OP_not:
1375         *s_out = "DW_OP_not";
1376         return DW_DLV_OK;
1377     case DW_OP_or:
1378         *s_out = "DW_OP_or";
1379         return DW_DLV_OK;
1380     case DW_OP_plus:
1381         *s_out = "DW_OP_plus";
1382         return DW_DLV_OK;
1383     case DW_OP_plus_uconst:
1384         *s_out = "DW_OP_plus_uconst";
1385         return DW_DLV_OK;
1386     case DW_OP_shl:
1387         *s_out = "DW_OP_shl";
1388         return DW_DLV_OK;
1389     case DW_OP_shr:
1390         *s_out = "DW_OP_shr";
1391         return DW_DLV_OK;
1392     case DW_OP_shra:
1393         *s_out = "DW_OP_shra";
1394         return DW_DLV_OK;
1395     case DW_OP_xor:
1396         *s_out = "DW_OP_xor";
1397         return DW_DLV_OK;
1398     case DW_OP_bra:
1399         *s_out = "DW_OP_bra";
1400         return DW_DLV_OK;
1401     case DW_OP_eq:
1402         *s_out = "DW_OP_eq";
1403         return DW_DLV_OK;
1404     case DW_OP_ge:
1405         *s_out = "DW_OP_ge";
1406         return DW_DLV_OK;
1407     case DW_OP_gt:
1408         *s_out = "DW_OP_gt";
1409         return DW_DLV_OK;
1410     case DW_OP_le:
1411         *s_out = "DW_OP_le";
1412         return DW_DLV_OK;
1413     case DW_OP_lt:
1414         *s_out = "DW_OP_lt";
1415         return DW_DLV_OK;
1416     case DW_OP_ne:
1417         *s_out = "DW_OP_ne";
1418         return DW_DLV_OK;
1419     case DW_OP_skip:
1420         *s_out = "DW_OP_skip";
1421         return DW_DLV_OK;
1422     case DW_OP_lit0:
1423         *s_out = "DW_OP_lit0";
1424         return DW_DLV_OK;
1425     case DW_OP_lit1:
1426         *s_out = "DW_OP_lit1";
1427         return DW_DLV_OK;
1428     case DW_OP_lit2:
1429         *s_out = "DW_OP_lit2";
1430         return DW_DLV_OK;
1431     case DW_OP_lit3:
1432         *s_out = "DW_OP_lit3";
1433         return DW_DLV_OK;
1434     case DW_OP_lit4:
1435         *s_out = "DW_OP_lit4";
1436         return DW_DLV_OK;
1437     case DW_OP_lit5:
1438         *s_out = "DW_OP_lit5";
1439         return DW_DLV_OK;
1440     case DW_OP_lit6:
1441         *s_out = "DW_OP_lit6";
1442         return DW_DLV_OK;
1443     case DW_OP_lit7:
1444         *s_out = "DW_OP_lit7";
1445         return DW_DLV_OK;
1446     case DW_OP_lit8:
1447         *s_out = "DW_OP_lit8";
1448         return DW_DLV_OK;
1449     case DW_OP_lit9:
1450         *s_out = "DW_OP_lit9";
1451         return DW_DLV_OK;
1452     case DW_OP_lit10:
1453         *s_out = "DW_OP_lit10";
1454         return DW_DLV_OK;
1455     case DW_OP_lit11:
1456         *s_out = "DW_OP_lit11";
1457         return DW_DLV_OK;
1458     case DW_OP_lit12:
1459         *s_out = "DW_OP_lit12";
1460         return DW_DLV_OK;
1461     case DW_OP_lit13:
1462         *s_out = "DW_OP_lit13";
1463         return DW_DLV_OK;
1464     case DW_OP_lit14:
1465         *s_out = "DW_OP_lit14";
1466         return DW_DLV_OK;
1467     case DW_OP_lit15:
1468         *s_out = "DW_OP_lit15";
1469         return DW_DLV_OK;
1470     case DW_OP_lit16:
1471         *s_out = "DW_OP_lit16";
1472         return DW_DLV_OK;
1473     case DW_OP_lit17:
1474         *s_out = "DW_OP_lit17";
1475         return DW_DLV_OK;
1476     case DW_OP_lit18:
1477         *s_out = "DW_OP_lit18";
1478         return DW_DLV_OK;
1479     case DW_OP_lit19:
1480         *s_out = "DW_OP_lit19";
1481         return DW_DLV_OK;
1482     case DW_OP_lit20:
1483         *s_out = "DW_OP_lit20";
1484         return DW_DLV_OK;
1485     case DW_OP_lit21:
1486         *s_out = "DW_OP_lit21";
1487         return DW_DLV_OK;
1488     case DW_OP_lit22:
1489         *s_out = "DW_OP_lit22";
1490         return DW_DLV_OK;
1491     case DW_OP_lit23:
1492         *s_out = "DW_OP_lit23";
1493         return DW_DLV_OK;
1494     case DW_OP_lit24:
1495         *s_out = "DW_OP_lit24";
1496         return DW_DLV_OK;
1497     case DW_OP_lit25:
1498         *s_out = "DW_OP_lit25";
1499         return DW_DLV_OK;
1500     case DW_OP_lit26:
1501         *s_out = "DW_OP_lit26";
1502         return DW_DLV_OK;
1503     case DW_OP_lit27:
1504         *s_out = "DW_OP_lit27";
1505         return DW_DLV_OK;
1506     case DW_OP_lit28:
1507         *s_out = "DW_OP_lit28";
1508         return DW_DLV_OK;
1509     case DW_OP_lit29:
1510         *s_out = "DW_OP_lit29";
1511         return DW_DLV_OK;
1512     case DW_OP_lit30:
1513         *s_out = "DW_OP_lit30";
1514         return DW_DLV_OK;
1515     case DW_OP_lit31:
1516         *s_out = "DW_OP_lit31";
1517         return DW_DLV_OK;
1518     case DW_OP_reg0:
1519         *s_out = "DW_OP_reg0";
1520         return DW_DLV_OK;
1521     case DW_OP_reg1:
1522         *s_out = "DW_OP_reg1";
1523         return DW_DLV_OK;
1524     case DW_OP_reg2:
1525         *s_out = "DW_OP_reg2";
1526         return DW_DLV_OK;
1527     case DW_OP_reg3:
1528         *s_out = "DW_OP_reg3";
1529         return DW_DLV_OK;
1530     case DW_OP_reg4:
1531         *s_out = "DW_OP_reg4";
1532         return DW_DLV_OK;
1533     case DW_OP_reg5:
1534         *s_out = "DW_OP_reg5";
1535         return DW_DLV_OK;
1536     case DW_OP_reg6:
1537         *s_out = "DW_OP_reg6";
1538         return DW_DLV_OK;
1539     case DW_OP_reg7:
1540         *s_out = "DW_OP_reg7";
1541         return DW_DLV_OK;
1542     case DW_OP_reg8:
1543         *s_out = "DW_OP_reg8";
1544         return DW_DLV_OK;
1545     case DW_OP_reg9:
1546         *s_out = "DW_OP_reg9";
1547         return DW_DLV_OK;
1548     case DW_OP_reg10:
1549         *s_out = "DW_OP_reg10";
1550         return DW_DLV_OK;
1551     case DW_OP_reg11:
1552         *s_out = "DW_OP_reg11";
1553         return DW_DLV_OK;
1554     case DW_OP_reg12:
1555         *s_out = "DW_OP_reg12";
1556         return DW_DLV_OK;
1557     case DW_OP_reg13:
1558         *s_out = "DW_OP_reg13";
1559         return DW_DLV_OK;
1560     case DW_OP_reg14:
1561         *s_out = "DW_OP_reg14";
1562         return DW_DLV_OK;
1563     case DW_OP_reg15:
1564         *s_out = "DW_OP_reg15";
1565         return DW_DLV_OK;
1566     case DW_OP_reg16:
1567         *s_out = "DW_OP_reg16";
1568         return DW_DLV_OK;
1569     case DW_OP_reg17:
1570         *s_out = "DW_OP_reg17";
1571         return DW_DLV_OK;
1572     case DW_OP_reg18:
1573         *s_out = "DW_OP_reg18";
1574         return DW_DLV_OK;
1575     case DW_OP_reg19:
1576         *s_out = "DW_OP_reg19";
1577         return DW_DLV_OK;
1578     case DW_OP_reg20:
1579         *s_out = "DW_OP_reg20";
1580         return DW_DLV_OK;
1581     case DW_OP_reg21:
1582         *s_out = "DW_OP_reg21";
1583         return DW_DLV_OK;
1584     case DW_OP_reg22:
1585         *s_out = "DW_OP_reg22";
1586         return DW_DLV_OK;
1587     case DW_OP_reg23:
1588         *s_out = "DW_OP_reg23";
1589         return DW_DLV_OK;
1590     case DW_OP_reg24:
1591         *s_out = "DW_OP_reg24";
1592         return DW_DLV_OK;
1593     case DW_OP_reg25:
1594         *s_out = "DW_OP_reg25";
1595         return DW_DLV_OK;
1596     case DW_OP_reg26:
1597         *s_out = "DW_OP_reg26";
1598         return DW_DLV_OK;
1599     case DW_OP_reg27:
1600         *s_out = "DW_OP_reg27";
1601         return DW_DLV_OK;
1602     case DW_OP_reg28:
1603         *s_out = "DW_OP_reg28";
1604         return DW_DLV_OK;
1605     case DW_OP_reg29:
1606         *s_out = "DW_OP_reg29";
1607         return DW_DLV_OK;
1608     case DW_OP_reg30:
1609         *s_out = "DW_OP_reg30";
1610         return DW_DLV_OK;
1611     case DW_OP_reg31:
1612         *s_out = "DW_OP_reg31";
1613         return DW_DLV_OK;
1614     case DW_OP_breg0:
1615         *s_out = "DW_OP_breg0";
1616         return DW_DLV_OK;
1617     case DW_OP_breg1:
1618         *s_out = "DW_OP_breg1";
1619         return DW_DLV_OK;
1620     case DW_OP_breg2:
1621         *s_out = "DW_OP_breg2";
1622         return DW_DLV_OK;
1623     case DW_OP_breg3:
1624         *s_out = "DW_OP_breg3";
1625         return DW_DLV_OK;
1626     case DW_OP_breg4:
1627         *s_out = "DW_OP_breg4";
1628         return DW_DLV_OK;
1629     case DW_OP_breg5:
1630         *s_out = "DW_OP_breg5";
1631         return DW_DLV_OK;
1632     case DW_OP_breg6:
1633         *s_out = "DW_OP_breg6";
1634         return DW_DLV_OK;
1635     case DW_OP_breg7:
1636         *s_out = "DW_OP_breg7";
1637         return DW_DLV_OK;
1638     case DW_OP_breg8:
1639         *s_out = "DW_OP_breg8";
1640         return DW_DLV_OK;
1641     case DW_OP_breg9:
1642         *s_out = "DW_OP_breg9";
1643         return DW_DLV_OK;
1644     case DW_OP_breg10:
1645         *s_out = "DW_OP_breg10";
1646         return DW_DLV_OK;
1647     case DW_OP_breg11:
1648         *s_out = "DW_OP_breg11";
1649         return DW_DLV_OK;
1650     case DW_OP_breg12:
1651         *s_out = "DW_OP_breg12";
1652         return DW_DLV_OK;
1653     case DW_OP_breg13:
1654         *s_out = "DW_OP_breg13";
1655         return DW_DLV_OK;
1656     case DW_OP_breg14:
1657         *s_out = "DW_OP_breg14";
1658         return DW_DLV_OK;
1659     case DW_OP_breg15:
1660         *s_out = "DW_OP_breg15";
1661         return DW_DLV_OK;
1662     case DW_OP_breg16:
1663         *s_out = "DW_OP_breg16";
1664         return DW_DLV_OK;
1665     case DW_OP_breg17:
1666         *s_out = "DW_OP_breg17";
1667         return DW_DLV_OK;
1668     case DW_OP_breg18:
1669         *s_out = "DW_OP_breg18";
1670         return DW_DLV_OK;
1671     case DW_OP_breg19:
1672         *s_out = "DW_OP_breg19";
1673         return DW_DLV_OK;
1674     case DW_OP_breg20:
1675         *s_out = "DW_OP_breg20";
1676         return DW_DLV_OK;
1677     case DW_OP_breg21:
1678         *s_out = "DW_OP_breg21";
1679         return DW_DLV_OK;
1680     case DW_OP_breg22:
1681         *s_out = "DW_OP_breg22";
1682         return DW_DLV_OK;
1683     case DW_OP_breg23:
1684         *s_out = "DW_OP_breg23";
1685         return DW_DLV_OK;
1686     case DW_OP_breg24:
1687         *s_out = "DW_OP_breg24";
1688         return DW_DLV_OK;
1689     case DW_OP_breg25:
1690         *s_out = "DW_OP_breg25";
1691         return DW_DLV_OK;
1692     case DW_OP_breg26:
1693         *s_out = "DW_OP_breg26";
1694         return DW_DLV_OK;
1695     case DW_OP_breg27:
1696         *s_out = "DW_OP_breg27";
1697         return DW_DLV_OK;
1698     case DW_OP_breg28:
1699         *s_out = "DW_OP_breg28";
1700         return DW_DLV_OK;
1701     case DW_OP_breg29:
1702         *s_out = "DW_OP_breg29";
1703         return DW_DLV_OK;
1704     case DW_OP_breg30:
1705         *s_out = "DW_OP_breg30";
1706         return DW_DLV_OK;
1707     case DW_OP_breg31:
1708         *s_out = "DW_OP_breg31";
1709         return DW_DLV_OK;
1710     case DW_OP_regx:
1711         *s_out = "DW_OP_regx";
1712         return DW_DLV_OK;
1713     case DW_OP_fbreg:
1714         *s_out = "DW_OP_fbreg";
1715         return DW_DLV_OK;
1716     case DW_OP_bregx:
1717         *s_out = "DW_OP_bregx";
1718         return DW_DLV_OK;
1719     case DW_OP_piece:
1720         *s_out = "DW_OP_piece";
1721         return DW_DLV_OK;
1722     case DW_OP_deref_size:
1723         *s_out = "DW_OP_deref_size";
1724         return DW_DLV_OK;
1725     case DW_OP_xderef_size:
1726         *s_out = "DW_OP_xderef_size";
1727         return DW_DLV_OK;
1728     case DW_OP_nop:
1729         *s_out = "DW_OP_nop";
1730         return DW_DLV_OK;
1731     case DW_OP_push_object_address:
1732         *s_out = "DW_OP_push_object_address";
1733         return DW_DLV_OK;
1734     case DW_OP_call2:
1735         *s_out = "DW_OP_call2";
1736         return DW_DLV_OK;
1737     case DW_OP_call4:
1738         *s_out = "DW_OP_call4";
1739         return DW_DLV_OK;
1740     case DW_OP_call_ref:
1741         *s_out = "DW_OP_call_ref";
1742         return DW_DLV_OK;
1743     case DW_OP_form_tls_address:
1744         *s_out = "DW_OP_form_tls_address";
1745         return DW_DLV_OK;
1746     case DW_OP_call_frame_cfa:
1747         *s_out = "DW_OP_call_frame_cfa";
1748         return DW_DLV_OK;
1749     case DW_OP_bit_piece:
1750         *s_out = "DW_OP_bit_piece";
1751         return DW_DLV_OK;
1752     case DW_OP_implicit_value:
1753         *s_out = "DW_OP_implicit_value";
1754         return DW_DLV_OK;
1755     case DW_OP_stack_value:
1756         *s_out = "DW_OP_stack_value";
1757         return DW_DLV_OK;
1758     case DW_OP_implicit_pointer:
1759         *s_out = "DW_OP_implicit_pointer";
1760         return DW_DLV_OK;
1761     case DW_OP_addrx:
1762         *s_out = "DW_OP_addrx";
1763         return DW_DLV_OK;
1764     case DW_OP_constx:
1765         *s_out = "DW_OP_constx";
1766         return DW_DLV_OK;
1767     case DW_OP_entry_value:
1768         *s_out = "DW_OP_entry_value";
1769         return DW_DLV_OK;
1770     case DW_OP_const_type:
1771         *s_out = "DW_OP_const_type";
1772         return DW_DLV_OK;
1773     case DW_OP_regval_type:
1774         *s_out = "DW_OP_regval_type";
1775         return DW_DLV_OK;
1776     case DW_OP_deref_type:
1777         *s_out = "DW_OP_deref_type";
1778         return DW_DLV_OK;
1779     case DW_OP_xderef_type:
1780         *s_out = "DW_OP_xderef_type";
1781         return DW_DLV_OK;
1782     case DW_OP_convert:
1783         *s_out = "DW_OP_convert";
1784         return DW_DLV_OK;
1785     case DW_OP_reinterpret:
1786         *s_out = "DW_OP_reinterpret";
1787         return DW_DLV_OK;
1788     case DW_OP_GNU_push_tls_address:
1789         *s_out = "DW_OP_GNU_push_tls_address";
1790         return DW_DLV_OK;
1791     /* Skipping alternate spelling of value 0xe0. DW_OP_lo_user */
1792     /* Skipping alternate spelling of value 0xe0. DW_OP_HP_unknown */
1793     case DW_OP_HP_is_value:
1794         *s_out = "DW_OP_HP_is_value";
1795         return DW_DLV_OK;
1796     case DW_OP_HP_fltconst4:
1797         *s_out = "DW_OP_HP_fltconst4";
1798         return DW_DLV_OK;
1799     case DW_OP_HP_fltconst8:
1800         *s_out = "DW_OP_HP_fltconst8";
1801         return DW_DLV_OK;
1802     case DW_OP_HP_mod_range:
1803         *s_out = "DW_OP_HP_mod_range";
1804         return DW_DLV_OK;
1805     case DW_OP_HP_unmod_range:
1806         *s_out = "DW_OP_HP_unmod_range";
1807         return DW_DLV_OK;
1808     case DW_OP_HP_tls:
1809         *s_out = "DW_OP_HP_tls";
1810         return DW_DLV_OK;
1811     case DW_OP_INTEL_bit_piece:
1812         *s_out = "DW_OP_INTEL_bit_piece";
1813         return DW_DLV_OK;
1814     case DW_OP_GNU_uninit:
1815         *s_out = "DW_OP_GNU_uninit";
1816         return DW_DLV_OK;
1817     /* Skipping alternate spelling of value 0xf0. DW_OP_APPLE_uninit */
1818     case DW_OP_GNU_encoded_addr:
1819         *s_out = "DW_OP_GNU_encoded_addr";
1820         return DW_DLV_OK;
1821     case DW_OP_GNU_implicit_pointer:
1822         *s_out = "DW_OP_GNU_implicit_pointer";
1823         return DW_DLV_OK;
1824     case DW_OP_GNU_entry_value:
1825         *s_out = "DW_OP_GNU_entry_value";
1826         return DW_DLV_OK;
1827     case DW_OP_GNU_const_type:
1828         *s_out = "DW_OP_GNU_const_type";
1829         return DW_DLV_OK;
1830     case DW_OP_GNU_regval_type:
1831         *s_out = "DW_OP_GNU_regval_type";
1832         return DW_DLV_OK;
1833     case DW_OP_GNU_deref_type:
1834         *s_out = "DW_OP_GNU_deref_type";
1835         return DW_DLV_OK;
1836     case DW_OP_GNU_convert:
1837         *s_out = "DW_OP_GNU_convert";
1838         return DW_DLV_OK;
1839     case DW_OP_PGI_omp_thread_num:
1840         *s_out = "DW_OP_PGI_omp_thread_num";
1841         return DW_DLV_OK;
1842     case DW_OP_GNU_reinterpret:
1843         *s_out = "DW_OP_GNU_reinterpret";
1844         return DW_DLV_OK;
1845     case DW_OP_GNU_parameter_ref:
1846         *s_out = "DW_OP_GNU_parameter_ref";
1847         return DW_DLV_OK;
1848     case DW_OP_GNU_addr_index:
1849         *s_out = "DW_OP_GNU_addr_index";
1850         return DW_DLV_OK;
1851     case DW_OP_GNU_const_index:
1852         *s_out = "DW_OP_GNU_const_index";
1853         return DW_DLV_OK;
1854     case DW_OP_hi_user:
1855         *s_out = "DW_OP_hi_user";
1856         return DW_DLV_OK;
1857     }
1858     return DW_DLV_NO_ENTRY;
1859 }
1860 /* ARGSUSED */
1861 int
1862 dwarf_get_ATE_name (unsigned int val,const char ** s_out)
1863 {
1864     switch (val) {
1865     case DW_ATE_address:
1866         *s_out = "DW_ATE_address";
1867         return DW_DLV_OK;
1868     case DW_ATE_boolean:
1869         *s_out = "DW_ATE_boolean";
1870         return DW_DLV_OK;
1871     case DW_ATE_complex_float:
1872         *s_out = "DW_ATE_complex_float";
1873         return DW_DLV_OK;
1874     case DW_ATE_float:
1875         *s_out = "DW_ATE_float";
1876         return DW_DLV_OK;
1877     case DW_ATE_signed:
1878         *s_out = "DW_ATE_signed";
1879         return DW_DLV_OK;
1880     case DW_ATE_signed_char:
1881         *s_out = "DW_ATE_signed_char";
1882         return DW_DLV_OK;
1883     case DW_ATE_unsigned:
1884         *s_out = "DW_ATE_unsigned";
1885         return DW_DLV_OK;
1886     case DW_ATE_unsigned_char:
1887         *s_out = "DW_ATE_unsigned_char";
1888         return DW_DLV_OK;
1889     case DW_ATE_imaginary_float:
1890         *s_out = "DW_ATE_imaginary_float";
1891         return DW_DLV_OK;
1892     case DW_ATE_packed_decimal:
1893         *s_out = "DW_ATE_packed_decimal";
1894         return DW_DLV_OK;
1895     case DW_ATE_numeric_string:
1896         *s_out = "DW_ATE_numeric_string";
1897         return DW_DLV_OK;
1898     case DW_ATE_edited:
1899         *s_out = "DW_ATE_edited";
1900         return DW_DLV_OK;
1901     case DW_ATE_signed_fixed:
1902         *s_out = "DW_ATE_signed_fixed";
1903         return DW_DLV_OK;
1904     case DW_ATE_unsigned_fixed:
1905         *s_out = "DW_ATE_unsigned_fixed";
1906         return DW_DLV_OK;
1907     case DW_ATE_decimal_float:
1908         *s_out = "DW_ATE_decimal_float";
1909         return DW_DLV_OK;
1910     case DW_ATE_UTF:
1911         *s_out = "DW_ATE_UTF";
1912         return DW_DLV_OK;
1913     case DW_ATE_UCS:
1914         *s_out = "DW_ATE_UCS";
1915         return DW_DLV_OK;
1916     case DW_ATE_ASCII:
1917         *s_out = "DW_ATE_ASCII";
1918         return DW_DLV_OK;
1919     case DW_ATE_ALTIUM_fract:
1920         *s_out = "DW_ATE_ALTIUM_fract";
1921         return DW_DLV_OK;
1922     /* Skipping alternate spelling of value 0x80. DW_ATE_lo_user */
1923     /* Skipping alternate spelling of value 0x80. DW_ATE_HP_float80 */
1924     case DW_ATE_ALTIUM_accum:
1925         *s_out = "DW_ATE_ALTIUM_accum";
1926         return DW_DLV_OK;
1927     /* Skipping alternate spelling of value 0x81. DW_ATE_HP_complex_float80 */
1928     case DW_ATE_HP_float128:
1929         *s_out = "DW_ATE_HP_float128";
1930         return DW_DLV_OK;
1931     case DW_ATE_HP_complex_float128:
1932         *s_out = "DW_ATE_HP_complex_float128";
1933         return DW_DLV_OK;
1934     case DW_ATE_HP_floathpintel:
1935         *s_out = "DW_ATE_HP_floathpintel";
1936         return DW_DLV_OK;
1937     case DW_ATE_HP_imaginary_float80:
1938         *s_out = "DW_ATE_HP_imaginary_float80";
1939         return DW_DLV_OK;
1940     case DW_ATE_HP_imaginary_float128:
1941         *s_out = "DW_ATE_HP_imaginary_float128";
1942         return DW_DLV_OK;
1943     case DW_ATE_SUN_interval_float:
1944         *s_out = "DW_ATE_SUN_interval_float";
1945         return DW_DLV_OK;
1946     case DW_ATE_SUN_imaginary_float:
1947         *s_out = "DW_ATE_SUN_imaginary_float";
1948         return DW_DLV_OK;
1949     case DW_ATE_hi_user:
1950         *s_out = "DW_ATE_hi_user";
1951         return DW_DLV_OK;
1952     }
1953     return DW_DLV_NO_ENTRY;
1954 }
1955 /* ARGSUSED */
1956 int
1957 dwarf_get_DEFAULTED_name (unsigned int val,const char ** s_out)
1958 {
1959     switch (val) {
1960     case DW_DEFAULTED_no:
1961         *s_out = "DW_DEFAULTED_no";
1962         return DW_DLV_OK;
1963     case DW_DEFAULTED_in_class:
1964         *s_out = "DW_DEFAULTED_in_class";
1965         return DW_DLV_OK;
1966     case DW_DEFAULTED_out_of_class:
1967         *s_out = "DW_DEFAULTED_out_of_class";
1968         return DW_DLV_OK;
1969     }
1970     return DW_DLV_NO_ENTRY;
1971 }
1972 /* ARGSUSED */
1973 int
1974 dwarf_get_IDX_name (unsigned int val,const char ** s_out)
1975 {
1976     switch (val) {
1977     case DW_IDX_compile_unit:
1978         *s_out = "DW_IDX_compile_unit";
1979         return DW_DLV_OK;
1980     case DW_IDX_type_unit:
1981         *s_out = "DW_IDX_type_unit";
1982         return DW_DLV_OK;
1983     case DW_IDX_die_offset:
1984         *s_out = "DW_IDX_die_offset";
1985         return DW_DLV_OK;
1986     case DW_IDX_parent:
1987         *s_out = "DW_IDX_parent";
1988         return DW_DLV_OK;
1989     case DW_IDX_type_hash:
1990         *s_out = "DW_IDX_type_hash";
1991         return DW_DLV_OK;
1992     case DW_IDX_hi_user:
1993         *s_out = "DW_IDX_hi_user";
1994         return DW_DLV_OK;
1995     case DW_IDX_lo_user:
1996         *s_out = "DW_IDX_lo_user";
1997         return DW_DLV_OK;
1998     }
1999     return DW_DLV_NO_ENTRY;
2000 }
2001 /* ARGSUSED */
2002 int
2003 dwarf_get_LLEX_name (unsigned int val,const char ** s_out)
2004 {
2005     switch (val) {
2006     case DW_LLEX_end_of_list_entry:
2007         *s_out = "DW_LLEX_end_of_list_entry";
2008         return DW_DLV_OK;
2009     case DW_LLEX_base_address_selection_entry:
2010         *s_out = "DW_LLEX_base_address_selection_entry";
2011         return DW_DLV_OK;
2012     case DW_LLEX_start_end_entry:
2013         *s_out = "DW_LLEX_start_end_entry";
2014         return DW_DLV_OK;
2015     case DW_LLEX_start_length_entry:
2016         *s_out = "DW_LLEX_start_length_entry";
2017         return DW_DLV_OK;
2018     case DW_LLEX_offset_pair_entry:
2019         *s_out = "DW_LLEX_offset_pair_entry";
2020         return DW_DLV_OK;
2021     }
2022     return DW_DLV_NO_ENTRY;
2023 }
2024 /* ARGSUSED */
2025 int
2026 dwarf_get_LLE_name (unsigned int val,const char ** s_out)
2027 {
2028     switch (val) {
2029     case DW_LLE_end_of_list:
2030         *s_out = "DW_LLE_end_of_list";
2031         return DW_DLV_OK;
2032     case DW_LLE_base_addressx:
2033         *s_out = "DW_LLE_base_addressx";
2034         return DW_DLV_OK;
2035     case DW_LLE_startx_endx:
2036         *s_out = "DW_LLE_startx_endx";
2037         return DW_DLV_OK;
2038     case DW_LLE_startx_length:
2039         *s_out = "DW_LLE_startx_length";
2040         return DW_DLV_OK;
2041     case DW_LLE_offset_pair:
2042         *s_out = "DW_LLE_offset_pair";
2043         return DW_DLV_OK;
2044     case DW_LLE_default_location:
2045         *s_out = "DW_LLE_default_location";
2046         return DW_DLV_OK;
2047     case DW_LLE_base_address:
2048         *s_out = "DW_LLE_base_address";
2049         return DW_DLV_OK;
2050     case DW_LLE_start_end:
2051         *s_out = "DW_LLE_start_end";
2052         return DW_DLV_OK;
2053     case DW_LLE_start_length:
2054         *s_out = "DW_LLE_start_length";
2055         return DW_DLV_OK;
2056     }
2057     return DW_DLV_NO_ENTRY;
2058 }
2059 /* ARGSUSED */
2060 int
2061 dwarf_get_RLE_name (unsigned int val,const char ** s_out)
2062 {
2063     switch (val) {
2064     case DW_RLE_end_of_list:
2065         *s_out = "DW_RLE_end_of_list";
2066         return DW_DLV_OK;
2067     case DW_RLE_base_addressx:
2068         *s_out = "DW_RLE_base_addressx";
2069         return DW_DLV_OK;
2070     case DW_RLE_startx_endx:
2071         *s_out = "DW_RLE_startx_endx";
2072         return DW_DLV_OK;
2073     case DW_RLE_startx_length:
2074         *s_out = "DW_RLE_startx_length";
2075         return DW_DLV_OK;
2076     case DW_RLE_offset_pair:
2077         *s_out = "DW_RLE_offset_pair";
2078         return DW_DLV_OK;
2079     case DW_RLE_base_address:
2080         *s_out = "DW_RLE_base_address";
2081         return DW_DLV_OK;
2082     case DW_RLE_start_end:
2083         *s_out = "DW_RLE_start_end";
2084         return DW_DLV_OK;
2085     case DW_RLE_start_length:
2086         *s_out = "DW_RLE_start_length";
2087         return DW_DLV_OK;
2088     }
2089     return DW_DLV_NO_ENTRY;
2090 }
2091 /* ARGSUSED */
2092 int
2093 dwarf_get_UT_name (unsigned int val,const char ** s_out)
2094 {
2095     switch (val) {
2096     case DW_UT_compile:
2097         *s_out = "DW_UT_compile";
2098         return DW_DLV_OK;
2099     case DW_UT_type:
2100         *s_out = "DW_UT_type";
2101         return DW_DLV_OK;
2102     case DW_UT_partial:
2103         *s_out = "DW_UT_partial";
2104         return DW_DLV_OK;
2105     case DW_UT_skeleton:
2106         *s_out = "DW_UT_skeleton";
2107         return DW_DLV_OK;
2108     case DW_UT_split_compile:
2109         *s_out = "DW_UT_split_compile";
2110         return DW_DLV_OK;
2111     case DW_UT_split_type:
2112         *s_out = "DW_UT_split_type";
2113         return DW_DLV_OK;
2114     case DW_UT_lo_user:
2115         *s_out = "DW_UT_lo_user";
2116         return DW_DLV_OK;
2117     case DW_UT_hi_user:
2118         *s_out = "DW_UT_hi_user";
2119         return DW_DLV_OK;
2120     }
2121     return DW_DLV_NO_ENTRY;
2122 }
2123 /* ARGSUSED */
2124 int
2125 dwarf_get_SECT_name (unsigned int val,const char ** s_out)
2126 {
2127     switch (val) {
2128     case DW_SECT_INFO:
2129         *s_out = "DW_SECT_INFO";
2130         return DW_DLV_OK;
2131     case DW_SECT_TYPES:
2132         *s_out = "DW_SECT_TYPES";
2133         return DW_DLV_OK;
2134     case DW_SECT_ABBREV:
2135         *s_out = "DW_SECT_ABBREV";
2136         return DW_DLV_OK;
2137     case DW_SECT_LINE:
2138         *s_out = "DW_SECT_LINE";
2139         return DW_DLV_OK;
2140     case DW_SECT_LOCLISTS:
2141         *s_out = "DW_SECT_LOCLISTS";
2142         return DW_DLV_OK;
2143     case DW_SECT_STR_OFFSETS:
2144         *s_out = "DW_SECT_STR_OFFSETS";
2145         return DW_DLV_OK;
2146     case DW_SECT_MACRO:
2147         *s_out = "DW_SECT_MACRO";
2148         return DW_DLV_OK;
2149     case DW_SECT_RNGLISTS:
2150         *s_out = "DW_SECT_RNGLISTS";
2151         return DW_DLV_OK;
2152     }
2153     return DW_DLV_NO_ENTRY;
2154 }
2155 /* ARGSUSED */
2156 int
2157 dwarf_get_DS_name (unsigned int val,const char ** s_out)
2158 {
2159     switch (val) {
2160     case DW_DS_unsigned:
2161         *s_out = "DW_DS_unsigned";
2162         return DW_DLV_OK;
2163     case DW_DS_leading_overpunch:
2164         *s_out = "DW_DS_leading_overpunch";
2165         return DW_DLV_OK;
2166     case DW_DS_trailing_overpunch:
2167         *s_out = "DW_DS_trailing_overpunch";
2168         return DW_DLV_OK;
2169     case DW_DS_leading_separate:
2170         *s_out = "DW_DS_leading_separate";
2171         return DW_DLV_OK;
2172     case DW_DS_trailing_separate:
2173         *s_out = "DW_DS_trailing_separate";
2174         return DW_DLV_OK;
2175     }
2176     return DW_DLV_NO_ENTRY;
2177 }
2178 /* ARGSUSED */
2179 int
2180 dwarf_get_END_name (unsigned int val,const char ** s_out)
2181 {
2182     switch (val) {
2183     case DW_END_default:
2184         *s_out = "DW_END_default";
2185         return DW_DLV_OK;
2186     case DW_END_big:
2187         *s_out = "DW_END_big";
2188         return DW_DLV_OK;
2189     case DW_END_little:
2190         *s_out = "DW_END_little";
2191         return DW_DLV_OK;
2192     case DW_END_lo_user:
2193         *s_out = "DW_END_lo_user";
2194         return DW_DLV_OK;
2195     case DW_END_hi_user:
2196         *s_out = "DW_END_hi_user";
2197         return DW_DLV_OK;
2198     }
2199     return DW_DLV_NO_ENTRY;
2200 }
2201 /* ARGSUSED */
2202 int
2203 dwarf_get_ATCF_name (unsigned int val,const char ** s_out)
2204 {
2205     switch (val) {
2206     case DW_ATCF_lo_user:
2207         *s_out = "DW_ATCF_lo_user";
2208         return DW_DLV_OK;
2209     case DW_ATCF_SUN_mop_bitfield:
2210         *s_out = "DW_ATCF_SUN_mop_bitfield";
2211         return DW_DLV_OK;
2212     case DW_ATCF_SUN_mop_spill:
2213         *s_out = "DW_ATCF_SUN_mop_spill";
2214         return DW_DLV_OK;
2215     case DW_ATCF_SUN_mop_scopy:
2216         *s_out = "DW_ATCF_SUN_mop_scopy";
2217         return DW_DLV_OK;
2218     case DW_ATCF_SUN_func_start:
2219         *s_out = "DW_ATCF_SUN_func_start";
2220         return DW_DLV_OK;
2221     case DW_ATCF_SUN_end_ctors:
2222         *s_out = "DW_ATCF_SUN_end_ctors";
2223         return DW_DLV_OK;
2224     case DW_ATCF_SUN_branch_target:
2225         *s_out = "DW_ATCF_SUN_branch_target";
2226         return DW_DLV_OK;
2227     case DW_ATCF_SUN_mop_stack_probe:
2228         *s_out = "DW_ATCF_SUN_mop_stack_probe";
2229         return DW_DLV_OK;
2230     case DW_ATCF_SUN_func_epilog:
2231         *s_out = "DW_ATCF_SUN_func_epilog";
2232         return DW_DLV_OK;
2233     case DW_ATCF_hi_user:
2234         *s_out = "DW_ATCF_hi_user";
2235         return DW_DLV_OK;
2236     }
2237     return DW_DLV_NO_ENTRY;
2238 }
2239 /* ARGSUSED */
2240 int
2241 dwarf_get_ACCESS_name (unsigned int val,const char ** s_out)
2242 {
2243     switch (val) {
2244     case DW_ACCESS_public:
2245         *s_out = "DW_ACCESS_public";
2246         return DW_DLV_OK;
2247     case DW_ACCESS_protected:
2248         *s_out = "DW_ACCESS_protected";
2249         return DW_DLV_OK;
2250     case DW_ACCESS_private:
2251         *s_out = "DW_ACCESS_private";
2252         return DW_DLV_OK;
2253     }
2254     return DW_DLV_NO_ENTRY;
2255 }
2256 /* ARGSUSED */
2257 int
2258 dwarf_get_VIS_name (unsigned int val,const char ** s_out)
2259 {
2260     switch (val) {
2261     case DW_VIS_local:
2262         *s_out = "DW_VIS_local";
2263         return DW_DLV_OK;
2264     case DW_VIS_exported:
2265         *s_out = "DW_VIS_exported";
2266         return DW_DLV_OK;
2267     case DW_VIS_qualified:
2268         *s_out = "DW_VIS_qualified";
2269         return DW_DLV_OK;
2270     }
2271     return DW_DLV_NO_ENTRY;
2272 }
2273 /* ARGSUSED */
2274 int
2275 dwarf_get_VIRTUALITY_name (unsigned int val,const char ** s_out)
2276 {
2277     switch (val) {
2278     case DW_VIRTUALITY_none:
2279         *s_out = "DW_VIRTUALITY_none";
2280         return DW_DLV_OK;
2281     case DW_VIRTUALITY_virtual:
2282         *s_out = "DW_VIRTUALITY_virtual";
2283         return DW_DLV_OK;
2284     case DW_VIRTUALITY_pure_virtual:
2285         *s_out = "DW_VIRTUALITY_pure_virtual";
2286         return DW_DLV_OK;
2287     }
2288     return DW_DLV_NO_ENTRY;
2289 }
2290 /* ARGSUSED */
2291 int
2292 dwarf_get_LANG_name (unsigned int val,const char ** s_out)
2293 {
2294     switch (val) {
2295     case DW_LANG_C89:
2296         *s_out = "DW_LANG_C89";
2297         return DW_DLV_OK;
2298     case DW_LANG_C:
2299         *s_out = "DW_LANG_C";
2300         return DW_DLV_OK;
2301     case DW_LANG_Ada83:
2302         *s_out = "DW_LANG_Ada83";
2303         return DW_DLV_OK;
2304     case DW_LANG_C_plus_plus:
2305         *s_out = "DW_LANG_C_plus_plus";
2306         return DW_DLV_OK;
2307     case DW_LANG_Cobol74:
2308         *s_out = "DW_LANG_Cobol74";
2309         return DW_DLV_OK;
2310     case DW_LANG_Cobol85:
2311         *s_out = "DW_LANG_Cobol85";
2312         return DW_DLV_OK;
2313     case DW_LANG_Fortran77:
2314         *s_out = "DW_LANG_Fortran77";
2315         return DW_DLV_OK;
2316     case DW_LANG_Fortran90:
2317         *s_out = "DW_LANG_Fortran90";
2318         return DW_DLV_OK;
2319     case DW_LANG_Pascal83:
2320         *s_out = "DW_LANG_Pascal83";
2321         return DW_DLV_OK;
2322     case DW_LANG_Modula2:
2323         *s_out = "DW_LANG_Modula2";
2324         return DW_DLV_OK;
2325     case DW_LANG_Java:
2326         *s_out = "DW_LANG_Java";
2327         return DW_DLV_OK;
2328     case DW_LANG_C99:
2329         *s_out = "DW_LANG_C99";
2330         return DW_DLV_OK;
2331     case DW_LANG_Ada95:
2332         *s_out = "DW_LANG_Ada95";
2333         return DW_DLV_OK;
2334     case DW_LANG_Fortran95:
2335         *s_out = "DW_LANG_Fortran95";
2336         return DW_DLV_OK;
2337     case DW_LANG_PLI:
2338         *s_out = "DW_LANG_PLI";
2339         return DW_DLV_OK;
2340     case DW_LANG_ObjC:
2341         *s_out = "DW_LANG_ObjC";
2342         return DW_DLV_OK;
2343     case DW_LANG_ObjC_plus_plus:
2344         *s_out = "DW_LANG_ObjC_plus_plus";
2345         return DW_DLV_OK;
2346     case DW_LANG_UPC:
2347         *s_out = "DW_LANG_UPC";
2348         return DW_DLV_OK;
2349     case DW_LANG_D:
2350         *s_out = "DW_LANG_D";
2351         return DW_DLV_OK;
2352     case DW_LANG_Python:
2353         *s_out = "DW_LANG_Python";
2354         return DW_DLV_OK;
2355     case DW_LANG_OpenCL:
2356         *s_out = "DW_LANG_OpenCL";
2357         return DW_DLV_OK;
2358     case DW_LANG_Go:
2359         *s_out = "DW_LANG_Go";
2360         return DW_DLV_OK;
2361     case DW_LANG_Modula3:
2362         *s_out = "DW_LANG_Modula3";
2363         return DW_DLV_OK;
2364     case DW_LANG_Haskel:
2365         *s_out = "DW_LANG_Haskel";
2366         return DW_DLV_OK;
2367     case DW_LANG_C_plus_plus_03:
2368         *s_out = "DW_LANG_C_plus_plus_03";
2369         return DW_DLV_OK;
2370     case DW_LANG_C_plus_plus_11:
2371         *s_out = "DW_LANG_C_plus_plus_11";
2372         return DW_DLV_OK;
2373     case DW_LANG_OCaml:
2374         *s_out = "DW_LANG_OCaml";
2375         return DW_DLV_OK;
2376     case DW_LANG_Rust:
2377         *s_out = "DW_LANG_Rust";
2378         return DW_DLV_OK;
2379     case DW_LANG_C11:
2380         *s_out = "DW_LANG_C11";
2381         return DW_DLV_OK;
2382     case DW_LANG_Swift:
2383         *s_out = "DW_LANG_Swift";
2384         return DW_DLV_OK;
2385     case DW_LANG_Julia:
2386         *s_out = "DW_LANG_Julia";
2387         return DW_DLV_OK;
2388     case DW_LANG_Dylan:
2389         *s_out = "DW_LANG_Dylan";
2390         return DW_DLV_OK;
2391     case DW_LANG_C_plus_plus_14:
2392         *s_out = "DW_LANG_C_plus_plus_14";
2393         return DW_DLV_OK;
2394     case DW_LANG_Fortran03:
2395         *s_out = "DW_LANG_Fortran03";
2396         return DW_DLV_OK;
2397     case DW_LANG_Fortran08:
2398         *s_out = "DW_LANG_Fortran08";
2399         return DW_DLV_OK;
2400     case DW_LANG_RenderScript:
2401         *s_out = "DW_LANG_RenderScript";
2402         return DW_DLV_OK;
2403     case DW_LANG_BLISS:
2404         *s_out = "DW_LANG_BLISS";
2405         return DW_DLV_OK;
2406     case DW_LANG_lo_user:
2407         *s_out = "DW_LANG_lo_user";
2408         return DW_DLV_OK;
2409     case DW_LANG_Mips_Assembler:
2410         *s_out = "DW_LANG_Mips_Assembler";
2411         return DW_DLV_OK;
2412     case DW_LANG_Upc:
2413         *s_out = "DW_LANG_Upc";
2414         return DW_DLV_OK;
2415     case DW_LANG_SUN_Assembler:
2416         *s_out = "DW_LANG_SUN_Assembler";
2417         return DW_DLV_OK;
2418     case DW_LANG_ALTIUM_Assembler:
2419         *s_out = "DW_LANG_ALTIUM_Assembler";
2420         return DW_DLV_OK;
2421     case DW_LANG_hi_user:
2422         *s_out = "DW_LANG_hi_user";
2423         return DW_DLV_OK;
2424     }
2425     return DW_DLV_NO_ENTRY;
2426 }
2427 /* ARGSUSED */
2428 int
2429 dwarf_get_ID_name (unsigned int val,const char ** s_out)
2430 {
2431     switch (val) {
2432     case DW_ID_case_sensitive:
2433         *s_out = "DW_ID_case_sensitive";
2434         return DW_DLV_OK;
2435     case DW_ID_up_case:
2436         *s_out = "DW_ID_up_case";
2437         return DW_DLV_OK;
2438     case DW_ID_down_case:
2439         *s_out = "DW_ID_down_case";
2440         return DW_DLV_OK;
2441     case DW_ID_case_insensitive:
2442         *s_out = "DW_ID_case_insensitive";
2443         return DW_DLV_OK;
2444     }
2445     return DW_DLV_NO_ENTRY;
2446 }
2447 /* ARGSUSED */
2448 int
2449 dwarf_get_CC_name (unsigned int val,const char ** s_out)
2450 {
2451     switch (val) {
2452     case DW_CC_normal:
2453         *s_out = "DW_CC_normal";
2454         return DW_DLV_OK;
2455     case DW_CC_program:
2456         *s_out = "DW_CC_program";
2457         return DW_DLV_OK;
2458     case DW_CC_nocall:
2459         *s_out = "DW_CC_nocall";
2460         return DW_DLV_OK;
2461     case DW_CC_pass_by_reference:
2462         *s_out = "DW_CC_pass_by_reference";
2463         return DW_DLV_OK;
2464     case DW_CC_pass_by_value:
2465         *s_out = "DW_CC_pass_by_value";
2466         return DW_DLV_OK;
2467     case DW_CC_lo_user:
2468         *s_out = "DW_CC_lo_user";
2469         return DW_DLV_OK;
2470     /* Skipping alternate spelling of value 0x40. DW_CC_GNU_renesas_sh */
2471     case DW_CC_GNU_borland_fastcall_i386:
2472         *s_out = "DW_CC_GNU_borland_fastcall_i386";
2473         return DW_DLV_OK;
2474     case DW_CC_ALTIUM_interrupt:
2475         *s_out = "DW_CC_ALTIUM_interrupt";
2476         return DW_DLV_OK;
2477     case DW_CC_ALTIUM_near_system_stack:
2478         *s_out = "DW_CC_ALTIUM_near_system_stack";
2479         return DW_DLV_OK;
2480     case DW_CC_ALTIUM_near_user_stack:
2481         *s_out = "DW_CC_ALTIUM_near_user_stack";
2482         return DW_DLV_OK;
2483     case DW_CC_ALTIUM_huge_user_stack:
2484         *s_out = "DW_CC_ALTIUM_huge_user_stack";
2485         return DW_DLV_OK;
2486     case DW_CC_hi_user:
2487         *s_out = "DW_CC_hi_user";
2488         return DW_DLV_OK;
2489     }
2490     return DW_DLV_NO_ENTRY;
2491 }
2492 /* ARGSUSED */
2493 int
2494 dwarf_get_INL_name (unsigned int val,const char ** s_out)
2495 {
2496     switch (val) {
2497     case DW_INL_not_inlined:
2498         *s_out = "DW_INL_not_inlined";
2499         return DW_DLV_OK;
2500     case DW_INL_inlined:
2501         *s_out = "DW_INL_inlined";
2502         return DW_DLV_OK;
2503     case DW_INL_declared_not_inlined:
2504         *s_out = "DW_INL_declared_not_inlined";
2505         return DW_DLV_OK;
2506     case DW_INL_declared_inlined:
2507         *s_out = "DW_INL_declared_inlined";
2508         return DW_DLV_OK;
2509     }
2510     return DW_DLV_NO_ENTRY;
2511 }
2512 /* ARGSUSED */
2513 int
2514 dwarf_get_ORD_name (unsigned int val,const char ** s_out)
2515 {
2516     switch (val) {
2517     case DW_ORD_row_major:
2518         *s_out = "DW_ORD_row_major";
2519         return DW_DLV_OK;
2520     case DW_ORD_col_major:
2521         *s_out = "DW_ORD_col_major";
2522         return DW_DLV_OK;
2523     }
2524     return DW_DLV_NO_ENTRY;
2525 }
2526 /* ARGSUSED */
2527 int
2528 dwarf_get_DSC_name (unsigned int val,const char ** s_out)
2529 {
2530     switch (val) {
2531     case DW_DSC_label:
2532         *s_out = "DW_DSC_label";
2533         return DW_DLV_OK;
2534     case DW_DSC_range:
2535         *s_out = "DW_DSC_range";
2536         return DW_DLV_OK;
2537     }
2538     return DW_DLV_NO_ENTRY;
2539 }
2540 /* ARGSUSED */
2541 int
2542 dwarf_get_LNCT_name (unsigned int val,const char ** s_out)
2543 {
2544     switch (val) {
2545     case DW_LNCT_path:
2546         *s_out = "DW_LNCT_path";
2547         return DW_DLV_OK;
2548     case DW_LNCT_directory_index:
2549         *s_out = "DW_LNCT_directory_index";
2550         return DW_DLV_OK;
2551     case DW_LNCT_timestamp:
2552         *s_out = "DW_LNCT_timestamp";
2553         return DW_DLV_OK;
2554     case DW_LNCT_size:
2555         *s_out = "DW_LNCT_size";
2556         return DW_DLV_OK;
2557     case DW_LNCT_MD5:
2558         *s_out = "DW_LNCT_MD5";
2559         return DW_DLV_OK;
2560     case DW_LNCT_GNU_subprogram_name:
2561         *s_out = "DW_LNCT_GNU_subprogram_name";
2562         return DW_DLV_OK;
2563     case DW_LNCT_GNU_decl_file:
2564         *s_out = "DW_LNCT_GNU_decl_file";
2565         return DW_DLV_OK;
2566     case DW_LNCT_GNU_decl_line:
2567         *s_out = "DW_LNCT_GNU_decl_line";
2568         return DW_DLV_OK;
2569     case DW_LNCT_lo_user:
2570         *s_out = "DW_LNCT_lo_user";
2571         return DW_DLV_OK;
2572     case DW_LNCT_hi_user:
2573         *s_out = "DW_LNCT_hi_user";
2574         return DW_DLV_OK;
2575     }
2576     return DW_DLV_NO_ENTRY;
2577 }
2578 /* ARGSUSED */
2579 int
2580 dwarf_get_LNS_name (unsigned int val,const char ** s_out)
2581 {
2582     switch (val) {
2583     case DW_LNS_copy:
2584         *s_out = "DW_LNS_copy";
2585         return DW_DLV_OK;
2586     case DW_LNS_advance_pc:
2587         *s_out = "DW_LNS_advance_pc";
2588         return DW_DLV_OK;
2589     case DW_LNS_advance_line:
2590         *s_out = "DW_LNS_advance_line";
2591         return DW_DLV_OK;
2592     case DW_LNS_set_file:
2593         *s_out = "DW_LNS_set_file";
2594         return DW_DLV_OK;
2595     case DW_LNS_set_column:
2596         *s_out = "DW_LNS_set_column";
2597         return DW_DLV_OK;
2598     case DW_LNS_negate_stmt:
2599         *s_out = "DW_LNS_negate_stmt";
2600         return DW_DLV_OK;
2601     case DW_LNS_set_basic_block:
2602         *s_out = "DW_LNS_set_basic_block";
2603         return DW_DLV_OK;
2604     case DW_LNS_const_add_pc:
2605         *s_out = "DW_LNS_const_add_pc";
2606         return DW_DLV_OK;
2607     case DW_LNS_fixed_advance_pc:
2608         *s_out = "DW_LNS_fixed_advance_pc";
2609         return DW_DLV_OK;
2610     case DW_LNS_set_prologue_end:
2611         *s_out = "DW_LNS_set_prologue_end";
2612         return DW_DLV_OK;
2613     case DW_LNS_set_epilogue_begin:
2614         *s_out = "DW_LNS_set_epilogue_begin";
2615         return DW_DLV_OK;
2616     case DW_LNS_set_isa:
2617         *s_out = "DW_LNS_set_isa";
2618         return DW_DLV_OK;
2619     case DW_LNS_set_address_from_logical:
2620         *s_out = "DW_LNS_set_address_from_logical";
2621         return DW_DLV_OK;
2622     /* Skipping alternate spelling of value 0xd. DW_LNS_set_subprogram */
2623     case DW_LNS_inlined_call:
2624         *s_out = "DW_LNS_inlined_call";
2625         return DW_DLV_OK;
2626     case DW_LNS_pop_context:
2627         *s_out = "DW_LNS_pop_context";
2628         return DW_DLV_OK;
2629     }
2630     return DW_DLV_NO_ENTRY;
2631 }
2632 /* ARGSUSED */
2633 int
2634 dwarf_get_LNE_name (unsigned int val,const char ** s_out)
2635 {
2636     switch (val) {
2637     case DW_LNE_end_sequence:
2638         *s_out = "DW_LNE_end_sequence";
2639         return DW_DLV_OK;
2640     case DW_LNE_set_address:
2641         *s_out = "DW_LNE_set_address";
2642         return DW_DLV_OK;
2643     case DW_LNE_define_file:
2644         *s_out = "DW_LNE_define_file";
2645         return DW_DLV_OK;
2646     case DW_LNE_set_discriminator:
2647         *s_out = "DW_LNE_set_discriminator";
2648         return DW_DLV_OK;
2649     case DW_LNE_HP_negate_is_UV_update:
2650         *s_out = "DW_LNE_HP_negate_is_UV_update";
2651         return DW_DLV_OK;
2652     case DW_LNE_HP_push_context:
2653         *s_out = "DW_LNE_HP_push_context";
2654         return DW_DLV_OK;
2655     case DW_LNE_HP_pop_context:
2656         *s_out = "DW_LNE_HP_pop_context";
2657         return DW_DLV_OK;
2658     case DW_LNE_HP_set_file_line_column:
2659         *s_out = "DW_LNE_HP_set_file_line_column";
2660         return DW_DLV_OK;
2661     case DW_LNE_HP_set_routine_name:
2662         *s_out = "DW_LNE_HP_set_routine_name";
2663         return DW_DLV_OK;
2664     case DW_LNE_HP_set_sequence:
2665         *s_out = "DW_LNE_HP_set_sequence";
2666         return DW_DLV_OK;
2667     case DW_LNE_HP_negate_post_semantics:
2668         *s_out = "DW_LNE_HP_negate_post_semantics";
2669         return DW_DLV_OK;
2670     case DW_LNE_HP_negate_function_exit:
2671         *s_out = "DW_LNE_HP_negate_function_exit";
2672         return DW_DLV_OK;
2673     case DW_LNE_HP_negate_front_end_logical:
2674         *s_out = "DW_LNE_HP_negate_front_end_logical";
2675         return DW_DLV_OK;
2676     case DW_LNE_HP_define_proc:
2677         *s_out = "DW_LNE_HP_define_proc";
2678         return DW_DLV_OK;
2679     case DW_LNE_HP_source_file_correlation:
2680         *s_out = "DW_LNE_HP_source_file_correlation";
2681         return DW_DLV_OK;
2682     /* Skipping alternate spelling of value 0x80. DW_LNE_lo_user */
2683     case DW_LNE_hi_user:
2684         *s_out = "DW_LNE_hi_user";
2685         return DW_DLV_OK;
2686     }
2687     return DW_DLV_NO_ENTRY;
2688 }
2689 /* ARGSUSED */
2690 int
2691 dwarf_get_ISA_name (unsigned int val,const char ** s_out)
2692 {
2693     switch (val) {
2694     case DW_ISA_UNKNOWN:
2695         *s_out = "DW_ISA_UNKNOWN";
2696         return DW_DLV_OK;
2697     case DW_ISA_ARM_thumb:
2698         *s_out = "DW_ISA_ARM_thumb";
2699         return DW_DLV_OK;
2700     case DW_ISA_ARM_arm:
2701         *s_out = "DW_ISA_ARM_arm";
2702         return DW_DLV_OK;
2703     }
2704     return DW_DLV_NO_ENTRY;
2705 }
2706 /* ARGSUSED */
2707 int
2708 dwarf_get_MACRO_name (unsigned int val,const char ** s_out)
2709 {
2710     switch (val) {
2711     case DW_MACRO_define:
2712         *s_out = "DW_MACRO_define";
2713         return DW_DLV_OK;
2714     case DW_MACRO_undef:
2715         *s_out = "DW_MACRO_undef";
2716         return DW_DLV_OK;
2717     case DW_MACRO_start_file:
2718         *s_out = "DW_MACRO_start_file";
2719         return DW_DLV_OK;
2720     case DW_MACRO_end_file:
2721         *s_out = "DW_MACRO_end_file";
2722         return DW_DLV_OK;
2723     case DW_MACRO_define_strp:
2724         *s_out = "DW_MACRO_define_strp";
2725         return DW_DLV_OK;
2726     case DW_MACRO_undef_strp:
2727         *s_out = "DW_MACRO_undef_strp";
2728         return DW_DLV_OK;
2729     case DW_MACRO_import:
2730         *s_out = "DW_MACRO_import";
2731         return DW_DLV_OK;
2732     case DW_MACRO_define_sup:
2733         *s_out = "DW_MACRO_define_sup";
2734         return DW_DLV_OK;
2735     case DW_MACRO_undef_sup:
2736         *s_out = "DW_MACRO_undef_sup";
2737         return DW_DLV_OK;
2738     case DW_MACRO_import_sup:
2739         *s_out = "DW_MACRO_import_sup";
2740         return DW_DLV_OK;
2741     case DW_MACRO_define_strx:
2742         *s_out = "DW_MACRO_define_strx";
2743         return DW_DLV_OK;
2744     case DW_MACRO_undef_strx:
2745         *s_out = "DW_MACRO_undef_strx";
2746         return DW_DLV_OK;
2747     case DW_MACRO_lo_user:
2748         *s_out = "DW_MACRO_lo_user";
2749         return DW_DLV_OK;
2750     case DW_MACRO_hi_user:
2751         *s_out = "DW_MACRO_hi_user";
2752         return DW_DLV_OK;
2753     }
2754     return DW_DLV_NO_ENTRY;
2755 }
2756 /* ARGSUSED */
2757 int
2758 dwarf_get_MACINFO_name (unsigned int val,const char ** s_out)
2759 {
2760     switch (val) {
2761     case DW_MACINFO_define:
2762         *s_out = "DW_MACINFO_define";
2763         return DW_DLV_OK;
2764     case DW_MACINFO_undef:
2765         *s_out = "DW_MACINFO_undef";
2766         return DW_DLV_OK;
2767     case DW_MACINFO_start_file:
2768         *s_out = "DW_MACINFO_start_file";
2769         return DW_DLV_OK;
2770     case DW_MACINFO_end_file:
2771         *s_out = "DW_MACINFO_end_file";
2772         return DW_DLV_OK;
2773     case DW_MACINFO_vendor_ext:
2774         *s_out = "DW_MACINFO_vendor_ext";
2775         return DW_DLV_OK;
2776     }
2777     return DW_DLV_NO_ENTRY;
2778 }
2779 /* ARGSUSED */
2780 int
2781 dwarf_get_CFA_name (unsigned int val,const char ** s_out)
2782 {
2783     switch (val) {
2784     case DW_CFA_extended:
2785         *s_out = "DW_CFA_extended";
2786         return DW_DLV_OK;
2787     /* Skipping alternate spelling of value 0x0. DW_CFA_nop */
2788     case DW_CFA_set_loc:
2789         *s_out = "DW_CFA_set_loc";
2790         return DW_DLV_OK;
2791     case DW_CFA_advance_loc1:
2792         *s_out = "DW_CFA_advance_loc1";
2793         return DW_DLV_OK;
2794     case DW_CFA_advance_loc2:
2795         *s_out = "DW_CFA_advance_loc2";
2796         return DW_DLV_OK;
2797     case DW_CFA_advance_loc4:
2798         *s_out = "DW_CFA_advance_loc4";
2799         return DW_DLV_OK;
2800     case DW_CFA_offset_extended:
2801         *s_out = "DW_CFA_offset_extended";
2802         return DW_DLV_OK;
2803     case DW_CFA_restore_extended:
2804         *s_out = "DW_CFA_restore_extended";
2805         return DW_DLV_OK;
2806     case DW_CFA_undefined:
2807         *s_out = "DW_CFA_undefined";
2808         return DW_DLV_OK;
2809     case DW_CFA_same_value:
2810         *s_out = "DW_CFA_same_value";
2811         return DW_DLV_OK;
2812     case DW_CFA_register:
2813         *s_out = "DW_CFA_register";
2814         return DW_DLV_OK;
2815     case DW_CFA_remember_state:
2816         *s_out = "DW_CFA_remember_state";
2817         return DW_DLV_OK;
2818     case DW_CFA_restore_state:
2819         *s_out = "DW_CFA_restore_state";
2820         return DW_DLV_OK;
2821     case DW_CFA_def_cfa:
2822         *s_out = "DW_CFA_def_cfa";
2823         return DW_DLV_OK;
2824     case DW_CFA_def_cfa_register:
2825         *s_out = "DW_CFA_def_cfa_register";
2826         return DW_DLV_OK;
2827     case DW_CFA_def_cfa_offset:
2828         *s_out = "DW_CFA_def_cfa_offset";
2829         return DW_DLV_OK;
2830     case DW_CFA_def_cfa_expression:
2831         *s_out = "DW_CFA_def_cfa_expression";
2832         return DW_DLV_OK;
2833     case DW_CFA_expression:
2834         *s_out = "DW_CFA_expression";
2835         return DW_DLV_OK;
2836     case DW_CFA_offset_extended_sf:
2837         *s_out = "DW_CFA_offset_extended_sf";
2838         return DW_DLV_OK;
2839     case DW_CFA_def_cfa_sf:
2840         *s_out = "DW_CFA_def_cfa_sf";
2841         return DW_DLV_OK;
2842     case DW_CFA_def_cfa_offset_sf:
2843         *s_out = "DW_CFA_def_cfa_offset_sf";
2844         return DW_DLV_OK;
2845     case DW_CFA_val_offset:
2846         *s_out = "DW_CFA_val_offset";
2847         return DW_DLV_OK;
2848     case DW_CFA_val_offset_sf:
2849         *s_out = "DW_CFA_val_offset_sf";
2850         return DW_DLV_OK;
2851     case DW_CFA_val_expression:
2852         *s_out = "DW_CFA_val_expression";
2853         return DW_DLV_OK;
2854     case DW_CFA_lo_user:
2855         *s_out = "DW_CFA_lo_user";
2856         return DW_DLV_OK;
2857     /* Skipping alternate spelling of value 0x1c. DW_CFA_low_user */
2858     case DW_CFA_MIPS_advance_loc8:
2859         *s_out = "DW_CFA_MIPS_advance_loc8";
2860         return DW_DLV_OK;
2861     case DW_CFA_GNU_window_save:
2862         *s_out = "DW_CFA_GNU_window_save";
2863         return DW_DLV_OK;
2864     case DW_CFA_GNU_args_size:
2865         *s_out = "DW_CFA_GNU_args_size";
2866         return DW_DLV_OK;
2867     case DW_CFA_GNU_negative_offset_extended:
2868         *s_out = "DW_CFA_GNU_negative_offset_extended";
2869         return DW_DLV_OK;
2870     case DW_CFA_METAWARE_info:
2871         *s_out = "DW_CFA_METAWARE_info";
2872         return DW_DLV_OK;
2873     case DW_CFA_high_user:
2874         *s_out = "DW_CFA_high_user";
2875         return DW_DLV_OK;
2876     case DW_CFA_advance_loc:
2877         *s_out = "DW_CFA_advance_loc";
2878         return DW_DLV_OK;
2879     case DW_CFA_offset:
2880         *s_out = "DW_CFA_offset";
2881         return DW_DLV_OK;
2882     case DW_CFA_restore:
2883         *s_out = "DW_CFA_restore";
2884         return DW_DLV_OK;
2885     }
2886     return DW_DLV_NO_ENTRY;
2887 }
2888 /* ARGSUSED */
2889 int
2890 dwarf_get_EH_name (unsigned int val,const char ** s_out)
2891 {
2892     switch (val) {
2893     case DW_EH_PE_absptr:
2894         *s_out = "DW_EH_PE_absptr";
2895         return DW_DLV_OK;
2896     case DW_EH_PE_uleb128:
2897         *s_out = "DW_EH_PE_uleb128";
2898         return DW_DLV_OK;
2899     case DW_EH_PE_udata2:
2900         *s_out = "DW_EH_PE_udata2";
2901         return DW_DLV_OK;
2902     case DW_EH_PE_udata4:
2903         *s_out = "DW_EH_PE_udata4";
2904         return DW_DLV_OK;
2905     case DW_EH_PE_udata8:
2906         *s_out = "DW_EH_PE_udata8";
2907         return DW_DLV_OK;
2908     case DW_EH_PE_sleb128:
2909         *s_out = "DW_EH_PE_sleb128";
2910         return DW_DLV_OK;
2911     case DW_EH_PE_sdata2:
2912         *s_out = "DW_EH_PE_sdata2";
2913         return DW_DLV_OK;
2914     case DW_EH_PE_sdata4:
2915         *s_out = "DW_EH_PE_sdata4";
2916         return DW_DLV_OK;
2917     case DW_EH_PE_sdata8:
2918         *s_out = "DW_EH_PE_sdata8";
2919         return DW_DLV_OK;
2920     case DW_EH_PE_pcrel:
2921         *s_out = "DW_EH_PE_pcrel";
2922         return DW_DLV_OK;
2923     case DW_EH_PE_textrel:
2924         *s_out = "DW_EH_PE_textrel";
2925         return DW_DLV_OK;
2926     case DW_EH_PE_datarel:
2927         *s_out = "DW_EH_PE_datarel";
2928         return DW_DLV_OK;
2929     case DW_EH_PE_funcrel:
2930         *s_out = "DW_EH_PE_funcrel";
2931         return DW_DLV_OK;
2932     case DW_EH_PE_aligned:
2933         *s_out = "DW_EH_PE_aligned";
2934         return DW_DLV_OK;
2935     case DW_EH_PE_omit:
2936         *s_out = "DW_EH_PE_omit";
2937         return DW_DLV_OK;
2938     }
2939     return DW_DLV_NO_ENTRY;
2940 }
2941 /* ARGSUSED */
2942 int
2943 dwarf_get_FRAME_name (unsigned int val,const char ** s_out)
2944 {
2945     switch (val) {
2946     case DW_FRAME_CFA_COL:
2947         *s_out = "DW_FRAME_CFA_COL";
2948         return DW_DLV_OK;
2949     /* Skipping alternate spelling of value 0x0. DW_FRAME_LAST_REG_NUM */
2950     /* Skipping alternate spelling of value 0x0. DW_FRAME_RA_COL */
2951     /* Skipping alternate spelling of value 0x0. DW_FRAME_STATIC_LINK */
2952     case DW_FRAME_REG1:
2953         *s_out = "DW_FRAME_REG1";
2954         return DW_DLV_OK;
2955     case DW_FRAME_REG2:
2956         *s_out = "DW_FRAME_REG2";
2957         return DW_DLV_OK;
2958     case DW_FRAME_REG3:
2959         *s_out = "DW_FRAME_REG3";
2960         return DW_DLV_OK;
2961     case DW_FRAME_REG4:
2962         *s_out = "DW_FRAME_REG4";
2963         return DW_DLV_OK;
2964     case DW_FRAME_REG5:
2965         *s_out = "DW_FRAME_REG5";
2966         return DW_DLV_OK;
2967     case DW_FRAME_REG6:
2968         *s_out = "DW_FRAME_REG6";
2969         return DW_DLV_OK;
2970     case DW_FRAME_REG7:
2971         *s_out = "DW_FRAME_REG7";
2972         return DW_DLV_OK;
2973     case DW_FRAME_REG8:
2974         *s_out = "DW_FRAME_REG8";
2975         return DW_DLV_OK;
2976     case DW_FRAME_REG9:
2977         *s_out = "DW_FRAME_REG9";
2978         return DW_DLV_OK;
2979     case DW_FRAME_REG10:
2980         *s_out = "DW_FRAME_REG10";
2981         return DW_DLV_OK;
2982     case DW_FRAME_REG11:
2983         *s_out = "DW_FRAME_REG11";
2984         return DW_DLV_OK;
2985     case DW_FRAME_REG12:
2986         *s_out = "DW_FRAME_REG12";
2987         return DW_DLV_OK;
2988     case DW_FRAME_REG13:
2989         *s_out = "DW_FRAME_REG13";
2990         return DW_DLV_OK;
2991     case DW_FRAME_REG14:
2992         *s_out = "DW_FRAME_REG14";
2993         return DW_DLV_OK;
2994     case DW_FRAME_REG15:
2995         *s_out = "DW_FRAME_REG15";
2996         return DW_DLV_OK;
2997     case DW_FRAME_REG16:
2998         *s_out = "DW_FRAME_REG16";
2999         return DW_DLV_OK;
3000     case DW_FRAME_REG17:
3001         *s_out = "DW_FRAME_REG17";
3002         return DW_DLV_OK;
3003     case DW_FRAME_REG18:
3004         *s_out = "DW_FRAME_REG18";
3005         return DW_DLV_OK;
3006     case DW_FRAME_REG19:
3007         *s_out = "DW_FRAME_REG19";
3008         return DW_DLV_OK;
3009     case DW_FRAME_REG20:
3010         *s_out = "DW_FRAME_REG20";
3011         return DW_DLV_OK;
3012     case DW_FRAME_REG21:
3013         *s_out = "DW_FRAME_REG21";
3014         return DW_DLV_OK;
3015     case DW_FRAME_REG22:
3016         *s_out = "DW_FRAME_REG22";
3017         return DW_DLV_OK;
3018     case DW_FRAME_REG23:
3019         *s_out = "DW_FRAME_REG23";
3020         return DW_DLV_OK;
3021     case DW_FRAME_REG24:
3022         *s_out = "DW_FRAME_REG24";
3023         return DW_DLV_OK;
3024     case DW_FRAME_REG25:
3025         *s_out = "DW_FRAME_REG25";
3026         return DW_DLV_OK;
3027     case DW_FRAME_REG26:
3028         *s_out = "DW_FRAME_REG26";
3029         return DW_DLV_OK;
3030     case DW_FRAME_REG27:
3031         *s_out = "DW_FRAME_REG27";
3032         return DW_DLV_OK;
3033     case DW_FRAME_REG28:
3034         *s_out = "DW_FRAME_REG28";
3035         return DW_DLV_OK;
3036     case DW_FRAME_REG29:
3037         *s_out = "DW_FRAME_REG29";
3038         return DW_DLV_OK;
3039     case DW_FRAME_REG30:
3040         *s_out = "DW_FRAME_REG30";
3041         return DW_DLV_OK;
3042     case DW_FRAME_REG31:
3043         *s_out = "DW_FRAME_REG31";
3044         return DW_DLV_OK;
3045     case DW_FRAME_FREG0:
3046         *s_out = "DW_FRAME_FREG0";
3047         return DW_DLV_OK;
3048     case DW_FRAME_FREG1:
3049         *s_out = "DW_FRAME_FREG1";
3050         return DW_DLV_OK;
3051     case DW_FRAME_FREG2:
3052         *s_out = "DW_FRAME_FREG2";
3053         return DW_DLV_OK;
3054     case DW_FRAME_FREG3:
3055         *s_out = "DW_FRAME_FREG3";
3056         return DW_DLV_OK;
3057     case DW_FRAME_FREG4:
3058         *s_out = "DW_FRAME_FREG4";
3059         return DW_DLV_OK;
3060     case DW_FRAME_FREG5:
3061         *s_out = "DW_FRAME_FREG5";
3062         return DW_DLV_OK;
3063     case DW_FRAME_FREG6:
3064         *s_out = "DW_FRAME_FREG6";
3065         return DW_DLV_OK;
3066     case DW_FRAME_FREG7:
3067         *s_out = "DW_FRAME_FREG7";
3068         return DW_DLV_OK;
3069     case DW_FRAME_FREG8:
3070         *s_out = "DW_FRAME_FREG8";
3071         return DW_DLV_OK;
3072     case DW_FRAME_FREG9:
3073         *s_out = "DW_FRAME_FREG9";
3074         return DW_DLV_OK;
3075     case DW_FRAME_FREG10:
3076         *s_out = "DW_FRAME_FREG10";
3077         return DW_DLV_OK;
3078     case DW_FRAME_FREG11:
3079         *s_out = "DW_FRAME_FREG11";
3080         return DW_DLV_OK;
3081     case DW_FRAME_FREG12:
3082         *s_out = "DW_FRAME_FREG12";
3083         return DW_DLV_OK;
3084     case DW_FRAME_FREG13:
3085         *s_out = "DW_FRAME_FREG13";
3086         return DW_DLV_OK;
3087     case DW_FRAME_FREG14:
3088         *s_out = "DW_FRAME_FREG14";
3089         return DW_DLV_OK;
3090     case DW_FRAME_FREG15:
3091         *s_out = "DW_FRAME_FREG15";
3092         return DW_DLV_OK;
3093     case DW_FRAME_FREG16:
3094         *s_out = "DW_FRAME_FREG16";
3095         return DW_DLV_OK;
3096     case DW_FRAME_FREG17:
3097         *s_out = "DW_FRAME_FREG17";
3098         return DW_DLV_OK;
3099     case DW_FRAME_FREG18:
3100         *s_out = "DW_FRAME_FREG18";
3101         return DW_DLV_OK;
3102     case DW_FRAME_FREG19:
3103         *s_out = "DW_FRAME_FREG19";
3104         return DW_DLV_OK;
3105     case DW_FRAME_FREG20:
3106         *s_out = "DW_FRAME_FREG20";
3107         return DW_DLV_OK;
3108     case DW_FRAME_FREG21:
3109         *s_out = "DW_FRAME_FREG21";
3110         return DW_DLV_OK;
3111     case DW_FRAME_FREG22:
3112         *s_out = "DW_FRAME_FREG22";
3113         return DW_DLV_OK;
3114     case DW_FRAME_FREG23:
3115         *s_out = "DW_FRAME_FREG23";
3116         return DW_DLV_OK;
3117     case DW_FRAME_FREG24:
3118         *s_out = "DW_FRAME_FREG24";
3119         return DW_DLV_OK;
3120     case DW_FRAME_FREG25:
3121         *s_out = "DW_FRAME_FREG25";
3122         return DW_DLV_OK;
3123     case DW_FRAME_FREG26:
3124         *s_out = "DW_FRAME_FREG26";
3125         return DW_DLV_OK;
3126     case DW_FRAME_FREG27:
3127         *s_out = "DW_FRAME_FREG27";
3128         return DW_DLV_OK;
3129     case DW_FRAME_FREG28:
3130         *s_out = "DW_FRAME_FREG28";
3131         return DW_DLV_OK;
3132     case DW_FRAME_FREG29:
3133         *s_out = "DW_FRAME_FREG29";
3134         return DW_DLV_OK;
3135     case DW_FRAME_FREG30:
3136         *s_out = "DW_FRAME_FREG30";
3137         return DW_DLV_OK;
3138     case DW_FRAME_FREG31:
3139         *s_out = "DW_FRAME_FREG31";
3140         return DW_DLV_OK;
3141     case DW_FRAME_FREG32:
3142         *s_out = "DW_FRAME_FREG32";
3143         return DW_DLV_OK;
3144     case DW_FRAME_FREG33:
3145         *s_out = "DW_FRAME_FREG33";
3146         return DW_DLV_OK;
3147     case DW_FRAME_FREG34:
3148         *s_out = "DW_FRAME_FREG34";
3149         return DW_DLV_OK;
3150     case DW_FRAME_FREG35:
3151         *s_out = "DW_FRAME_FREG35";
3152         return DW_DLV_OK;
3153     case DW_FRAME_FREG36:
3154         *s_out = "DW_FRAME_FREG36";
3155         return DW_DLV_OK;
3156     case DW_FRAME_FREG37:
3157         *s_out = "DW_FRAME_FREG37";
3158         return DW_DLV_OK;
3159     case DW_FRAME_FREG38:
3160         *s_out = "DW_FRAME_FREG38";
3161         return DW_DLV_OK;
3162     case DW_FRAME_FREG39:
3163         *s_out = "DW_FRAME_FREG39";
3164         return DW_DLV_OK;
3165     case DW_FRAME_FREG40:
3166         *s_out = "DW_FRAME_FREG40";
3167         return DW_DLV_OK;
3168     case DW_FRAME_FREG41:
3169         *s_out = "DW_FRAME_FREG41";
3170         return DW_DLV_OK;
3171     case DW_FRAME_FREG42:
3172         *s_out = "DW_FRAME_FREG42";
3173         return DW_DLV_OK;
3174     case DW_FRAME_FREG43:
3175         *s_out = "DW_FRAME_FREG43";
3176         return DW_DLV_OK;
3177     case DW_FRAME_FREG44:
3178         *s_out = "DW_FRAME_FREG44";
3179         return DW_DLV_OK;
3180     case DW_FRAME_FREG45:
3181         *s_out = "DW_FRAME_FREG45";
3182         return DW_DLV_OK;
3183     case DW_FRAME_FREG46:
3184         *s_out = "DW_FRAME_FREG46";
3185         return DW_DLV_OK;
3186     case DW_FRAME_FREG47:
3187         *s_out = "DW_FRAME_FREG47";
3188         return DW_DLV_OK;
3189     case DW_FRAME_FREG48:
3190         *s_out = "DW_FRAME_FREG48";
3191         return DW_DLV_OK;
3192     case DW_FRAME_FREG49:
3193         *s_out = "DW_FRAME_FREG49";
3194         return DW_DLV_OK;
3195     case DW_FRAME_FREG50:
3196         *s_out = "DW_FRAME_FREG50";
3197         return DW_DLV_OK;
3198     case DW_FRAME_FREG51:
3199         *s_out = "DW_FRAME_FREG51";
3200         return DW_DLV_OK;
3201     case DW_FRAME_FREG52:
3202         *s_out = "DW_FRAME_FREG52";
3203         return DW_DLV_OK;
3204     case DW_FRAME_FREG53:
3205         *s_out = "DW_FRAME_FREG53";
3206         return DW_DLV_OK;
3207     case DW_FRAME_FREG54:
3208         *s_out = "DW_FRAME_FREG54";
3209         return DW_DLV_OK;
3210     case DW_FRAME_FREG55:
3211         *s_out = "DW_FRAME_FREG55";
3212         return DW_DLV_OK;
3213     case DW_FRAME_FREG56:
3214         *s_out = "DW_FRAME_FREG56";
3215         return DW_DLV_OK;
3216     case DW_FRAME_FREG57:
3217         *s_out = "DW_FRAME_FREG57";
3218         return DW_DLV_OK;
3219     case DW_FRAME_FREG58:
3220         *s_out = "DW_FRAME_FREG58";
3221         return DW_DLV_OK;
3222     case DW_FRAME_FREG59:
3223         *s_out = "DW_FRAME_FREG59";
3224         return DW_DLV_OK;
3225     case DW_FRAME_FREG60:
3226         *s_out = "DW_FRAME_FREG60";
3227         return DW_DLV_OK;
3228     case DW_FRAME_FREG61:
3229         *s_out = "DW_FRAME_FREG61";
3230         return DW_DLV_OK;
3231     case DW_FRAME_FREG62:
3232         *s_out = "DW_FRAME_FREG62";
3233         return DW_DLV_OK;
3234     case DW_FRAME_FREG63:
3235         *s_out = "DW_FRAME_FREG63";
3236         return DW_DLV_OK;
3237     case DW_FRAME_FREG64:
3238         *s_out = "DW_FRAME_FREG64";
3239         return DW_DLV_OK;
3240     case DW_FRAME_FREG65:
3241         *s_out = "DW_FRAME_FREG65";
3242         return DW_DLV_OK;
3243     case DW_FRAME_FREG66:
3244         *s_out = "DW_FRAME_FREG66";
3245         return DW_DLV_OK;
3246     case DW_FRAME_FREG67:
3247         *s_out = "DW_FRAME_FREG67";
3248         return DW_DLV_OK;
3249     case DW_FRAME_FREG68:
3250         *s_out = "DW_FRAME_FREG68";
3251         return DW_DLV_OK;
3252     case DW_FRAME_FREG69:
3253         *s_out = "DW_FRAME_FREG69";
3254         return DW_DLV_OK;
3255     case DW_FRAME_FREG70:
3256         *s_out = "DW_FRAME_FREG70";
3257         return DW_DLV_OK;
3258     case DW_FRAME_FREG71:
3259         *s_out = "DW_FRAME_FREG71";
3260         return DW_DLV_OK;
3261     case DW_FRAME_FREG72:
3262         *s_out = "DW_FRAME_FREG72";
3263         return DW_DLV_OK;
3264     case DW_FRAME_FREG73:
3265         *s_out = "DW_FRAME_FREG73";
3266         return DW_DLV_OK;
3267     case DW_FRAME_FREG74:
3268         *s_out = "DW_FRAME_FREG74";
3269         return DW_DLV_OK;
3270     case DW_FRAME_FREG75:
3271         *s_out = "DW_FRAME_FREG75";
3272         return DW_DLV_OK;
3273     case DW_FRAME_FREG76:
3274         *s_out = "DW_FRAME_FREG76";
3275         return DW_DLV_OK;
3276     case DW_FRAME_HIGHEST_NORMAL_REGISTER:
3277         *s_out = "DW_FRAME_HIGHEST_NORMAL_REGISTER";
3278         return DW_DLV_OK;
3279     }
3280     return DW_DLV_NO_ENTRY;
3281 }
3282 /* ARGSUSED */
3283 int
3284 dwarf_get_CHILDREN_name (unsigned int val,const char ** s_out)
3285 {
3286     switch (val) {
3287     case DW_CHILDREN_no:
3288         *s_out = "DW_CHILDREN_no";
3289         return DW_DLV_OK;
3290     case DW_CHILDREN_yes:
3291         *s_out = "DW_CHILDREN_yes";
3292         return DW_DLV_OK;
3293     }
3294     return DW_DLV_NO_ENTRY;
3295 }
3296 /* ARGSUSED */
3297 int
3298 dwarf_get_ADDR_name (unsigned int val,const char ** s_out)
3299 {
3300     switch (val) {
3301     case DW_ADDR_none:
3302         *s_out = "DW_ADDR_none";
3303         return DW_DLV_OK;
3304     }
3305     return DW_DLV_NO_ENTRY;
3306 }
3307 
3308 /* END FILE */
3309