xref: /titanic_52/usr/src/lib/libdwarf/common/dwarf_names.c (revision 7fd791373689a6af05e27efec3b1ab556e02aa23)
1 /* Generated routines, do not edit. */
2 /* Generated on May 22 2011  03:05:33 */
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     case DW_TAG_packed_type:
130         *s_out = "DW_TAG_packed_type";
131         return DW_DLV_OK;
132     case DW_TAG_subprogram:
133         *s_out = "DW_TAG_subprogram";
134         return DW_DLV_OK;
135     case DW_TAG_template_type_parameter:
136         *s_out = "DW_TAG_template_type_parameter";
137         return DW_DLV_OK;
138     case DW_TAG_template_value_parameter:
139         *s_out = "DW_TAG_template_value_parameter";
140         return DW_DLV_OK;
141     case DW_TAG_thrown_type:
142         *s_out = "DW_TAG_thrown_type";
143         return DW_DLV_OK;
144     case DW_TAG_try_block:
145         *s_out = "DW_TAG_try_block";
146         return DW_DLV_OK;
147     case DW_TAG_variant_part:
148         *s_out = "DW_TAG_variant_part";
149         return DW_DLV_OK;
150     case DW_TAG_variable:
151         *s_out = "DW_TAG_variable";
152         return DW_DLV_OK;
153     case DW_TAG_volatile_type:
154         *s_out = "DW_TAG_volatile_type";
155         return DW_DLV_OK;
156     case DW_TAG_dwarf_procedure:
157         *s_out = "DW_TAG_dwarf_procedure";
158         return DW_DLV_OK;
159     case DW_TAG_restrict_type:
160         *s_out = "DW_TAG_restrict_type";
161         return DW_DLV_OK;
162     case DW_TAG_interface_type:
163         *s_out = "DW_TAG_interface_type";
164         return DW_DLV_OK;
165     case DW_TAG_namespace:
166         *s_out = "DW_TAG_namespace";
167         return DW_DLV_OK;
168     case DW_TAG_imported_module:
169         *s_out = "DW_TAG_imported_module";
170         return DW_DLV_OK;
171     case DW_TAG_unspecified_type:
172         *s_out = "DW_TAG_unspecified_type";
173         return DW_DLV_OK;
174     case DW_TAG_partial_unit:
175         *s_out = "DW_TAG_partial_unit";
176         return DW_DLV_OK;
177     case DW_TAG_imported_unit:
178         *s_out = "DW_TAG_imported_unit";
179         return DW_DLV_OK;
180     case DW_TAG_mutable_type:
181         *s_out = "DW_TAG_mutable_type";
182         return DW_DLV_OK;
183     case DW_TAG_condition:
184         *s_out = "DW_TAG_condition";
185         return DW_DLV_OK;
186     case DW_TAG_shared_type:
187         *s_out = "DW_TAG_shared_type";
188         return DW_DLV_OK;
189     case DW_TAG_type_unit:
190         *s_out = "DW_TAG_type_unit";
191         return DW_DLV_OK;
192     case DW_TAG_rvalue_reference_type:
193         *s_out = "DW_TAG_rvalue_reference_type";
194         return DW_DLV_OK;
195     case DW_TAG_template_alias:
196         *s_out = "DW_TAG_template_alias";
197         return DW_DLV_OK;
198     case DW_TAG_lo_user:
199         *s_out = "DW_TAG_lo_user";
200         return DW_DLV_OK;
201     case DW_TAG_MIPS_loop:
202         *s_out = "DW_TAG_MIPS_loop";
203         return DW_DLV_OK;
204     case DW_TAG_HP_array_descriptor:
205         *s_out = "DW_TAG_HP_array_descriptor";
206         return DW_DLV_OK;
207     case DW_TAG_format_label:
208         *s_out = "DW_TAG_format_label";
209         return DW_DLV_OK;
210     case DW_TAG_function_template:
211         *s_out = "DW_TAG_function_template";
212         return DW_DLV_OK;
213     case DW_TAG_class_template:
214         *s_out = "DW_TAG_class_template";
215         return DW_DLV_OK;
216     case DW_TAG_GNU_BINCL:
217         *s_out = "DW_TAG_GNU_BINCL";
218         return DW_DLV_OK;
219     case DW_TAG_GNU_EINCL:
220         *s_out = "DW_TAG_GNU_EINCL";
221         return DW_DLV_OK;
222     case DW_TAG_GNU_template_template_parameter:
223         *s_out = "DW_TAG_GNU_template_template_parameter";
224         return DW_DLV_OK;
225     case DW_TAG_GNU_template_parameter_pack:
226         *s_out = "DW_TAG_GNU_template_parameter_pack";
227         return DW_DLV_OK;
228     case DW_TAG_GNU_formal_parameter_pack:
229         *s_out = "DW_TAG_GNU_formal_parameter_pack";
230         return DW_DLV_OK;
231     case DW_TAG_SUN_function_template:
232         *s_out = "DW_TAG_SUN_function_template";
233         return DW_DLV_OK;
234     case DW_TAG_SUN_class_template:
235         *s_out = "DW_TAG_SUN_class_template";
236         return DW_DLV_OK;
237     case DW_TAG_SUN_struct_template:
238         *s_out = "DW_TAG_SUN_struct_template";
239         return DW_DLV_OK;
240     case DW_TAG_SUN_union_template:
241         *s_out = "DW_TAG_SUN_union_template";
242         return DW_DLV_OK;
243     case DW_TAG_SUN_indirect_inheritance:
244         *s_out = "DW_TAG_SUN_indirect_inheritance";
245         return DW_DLV_OK;
246     case DW_TAG_SUN_codeflags:
247         *s_out = "DW_TAG_SUN_codeflags";
248         return DW_DLV_OK;
249     case DW_TAG_SUN_memop_info:
250         *s_out = "DW_TAG_SUN_memop_info";
251         return DW_DLV_OK;
252     case DW_TAG_SUN_omp_child_func:
253         *s_out = "DW_TAG_SUN_omp_child_func";
254         return DW_DLV_OK;
255     case DW_TAG_SUN_rtti_descriptor:
256         *s_out = "DW_TAG_SUN_rtti_descriptor";
257         return DW_DLV_OK;
258     case DW_TAG_SUN_dtor_info:
259         *s_out = "DW_TAG_SUN_dtor_info";
260         return DW_DLV_OK;
261     case DW_TAG_SUN_dtor:
262         *s_out = "DW_TAG_SUN_dtor";
263         return DW_DLV_OK;
264     case DW_TAG_SUN_f90_interface:
265         *s_out = "DW_TAG_SUN_f90_interface";
266         return DW_DLV_OK;
267     case DW_TAG_SUN_fortran_vax_structure:
268         *s_out = "DW_TAG_SUN_fortran_vax_structure";
269         return DW_DLV_OK;
270     case DW_TAG_SUN_hi:
271         *s_out = "DW_TAG_SUN_hi";
272         return DW_DLV_OK;
273     case DW_TAG_ALTIUM_circ_type:
274         *s_out = "DW_TAG_ALTIUM_circ_type";
275         return DW_DLV_OK;
276     case DW_TAG_ALTIUM_mwa_circ_type:
277         *s_out = "DW_TAG_ALTIUM_mwa_circ_type";
278         return DW_DLV_OK;
279     case DW_TAG_ALTIUM_rev_carry_type:
280         *s_out = "DW_TAG_ALTIUM_rev_carry_type";
281         return DW_DLV_OK;
282     case DW_TAG_ALTIUM_rom:
283         *s_out = "DW_TAG_ALTIUM_rom";
284         return DW_DLV_OK;
285     case DW_TAG_upc_shared_type:
286         *s_out = "DW_TAG_upc_shared_type";
287         return DW_DLV_OK;
288     case DW_TAG_upc_strict_type:
289         *s_out = "DW_TAG_upc_strict_type";
290         return DW_DLV_OK;
291     case DW_TAG_upc_relaxed_type:
292         *s_out = "DW_TAG_upc_relaxed_type";
293         return DW_DLV_OK;
294     case DW_TAG_PGI_kanji_type:
295         *s_out = "DW_TAG_PGI_kanji_type";
296         return DW_DLV_OK;
297     case DW_TAG_PGI_interface_block:
298         *s_out = "DW_TAG_PGI_interface_block";
299         return DW_DLV_OK;
300     case DW_TAG_hi_user:
301         *s_out = "DW_TAG_hi_user";
302         return DW_DLV_OK;
303     }
304     return DW_DLV_NO_ENTRY;
305 }
306 /* ARGSUSED */
307 int
308 dwarf_get_children_name (unsigned int val,const char ** s_out)
309 {
310     switch (val) {
311     case DW_children_no:
312         *s_out = "DW_children_no";
313         return DW_DLV_OK;
314     case DW_children_yes:
315         *s_out = "DW_children_yes";
316         return DW_DLV_OK;
317     }
318     return DW_DLV_NO_ENTRY;
319 }
320 /* ARGSUSED */
321 int
322 dwarf_get_FORM_name (unsigned int val,const char ** s_out)
323 {
324     switch (val) {
325     case DW_FORM_addr:
326         *s_out = "DW_FORM_addr";
327         return DW_DLV_OK;
328     case DW_FORM_block2:
329         *s_out = "DW_FORM_block2";
330         return DW_DLV_OK;
331     case DW_FORM_block4:
332         *s_out = "DW_FORM_block4";
333         return DW_DLV_OK;
334     case DW_FORM_data2:
335         *s_out = "DW_FORM_data2";
336         return DW_DLV_OK;
337     case DW_FORM_data4:
338         *s_out = "DW_FORM_data4";
339         return DW_DLV_OK;
340     case DW_FORM_data8:
341         *s_out = "DW_FORM_data8";
342         return DW_DLV_OK;
343     case DW_FORM_string:
344         *s_out = "DW_FORM_string";
345         return DW_DLV_OK;
346     case DW_FORM_block:
347         *s_out = "DW_FORM_block";
348         return DW_DLV_OK;
349     case DW_FORM_block1:
350         *s_out = "DW_FORM_block1";
351         return DW_DLV_OK;
352     case DW_FORM_data1:
353         *s_out = "DW_FORM_data1";
354         return DW_DLV_OK;
355     case DW_FORM_flag:
356         *s_out = "DW_FORM_flag";
357         return DW_DLV_OK;
358     case DW_FORM_sdata:
359         *s_out = "DW_FORM_sdata";
360         return DW_DLV_OK;
361     case DW_FORM_strp:
362         *s_out = "DW_FORM_strp";
363         return DW_DLV_OK;
364     case DW_FORM_udata:
365         *s_out = "DW_FORM_udata";
366         return DW_DLV_OK;
367     case DW_FORM_ref_addr:
368         *s_out = "DW_FORM_ref_addr";
369         return DW_DLV_OK;
370     case DW_FORM_ref1:
371         *s_out = "DW_FORM_ref1";
372         return DW_DLV_OK;
373     case DW_FORM_ref2:
374         *s_out = "DW_FORM_ref2";
375         return DW_DLV_OK;
376     case DW_FORM_ref4:
377         *s_out = "DW_FORM_ref4";
378         return DW_DLV_OK;
379     case DW_FORM_ref8:
380         *s_out = "DW_FORM_ref8";
381         return DW_DLV_OK;
382     case DW_FORM_ref_udata:
383         *s_out = "DW_FORM_ref_udata";
384         return DW_DLV_OK;
385     case DW_FORM_indirect:
386         *s_out = "DW_FORM_indirect";
387         return DW_DLV_OK;
388     case DW_FORM_sec_offset:
389         *s_out = "DW_FORM_sec_offset";
390         return DW_DLV_OK;
391     case DW_FORM_exprloc:
392         *s_out = "DW_FORM_exprloc";
393         return DW_DLV_OK;
394     case DW_FORM_flag_present:
395         *s_out = "DW_FORM_flag_present";
396         return DW_DLV_OK;
397     case DW_FORM_ref_sig8:
398         *s_out = "DW_FORM_ref_sig8";
399         return DW_DLV_OK;
400     }
401     return DW_DLV_NO_ENTRY;
402 }
403 /* ARGSUSED */
404 int
405 dwarf_get_AT_name (unsigned int val,const char ** s_out)
406 {
407     switch (val) {
408     case DW_AT_sibling:
409         *s_out = "DW_AT_sibling";
410         return DW_DLV_OK;
411     case DW_AT_location:
412         *s_out = "DW_AT_location";
413         return DW_DLV_OK;
414     case DW_AT_name:
415         *s_out = "DW_AT_name";
416         return DW_DLV_OK;
417     case DW_AT_ordering:
418         *s_out = "DW_AT_ordering";
419         return DW_DLV_OK;
420     case DW_AT_subscr_data:
421         *s_out = "DW_AT_subscr_data";
422         return DW_DLV_OK;
423     case DW_AT_byte_size:
424         *s_out = "DW_AT_byte_size";
425         return DW_DLV_OK;
426     case DW_AT_bit_offset:
427         *s_out = "DW_AT_bit_offset";
428         return DW_DLV_OK;
429     case DW_AT_bit_size:
430         *s_out = "DW_AT_bit_size";
431         return DW_DLV_OK;
432     case DW_AT_element_list:
433         *s_out = "DW_AT_element_list";
434         return DW_DLV_OK;
435     case DW_AT_stmt_list:
436         *s_out = "DW_AT_stmt_list";
437         return DW_DLV_OK;
438     case DW_AT_low_pc:
439         *s_out = "DW_AT_low_pc";
440         return DW_DLV_OK;
441     case DW_AT_high_pc:
442         *s_out = "DW_AT_high_pc";
443         return DW_DLV_OK;
444     case DW_AT_language:
445         *s_out = "DW_AT_language";
446         return DW_DLV_OK;
447     case DW_AT_member:
448         *s_out = "DW_AT_member";
449         return DW_DLV_OK;
450     case DW_AT_discr:
451         *s_out = "DW_AT_discr";
452         return DW_DLV_OK;
453     case DW_AT_discr_value:
454         *s_out = "DW_AT_discr_value";
455         return DW_DLV_OK;
456     case DW_AT_visibility:
457         *s_out = "DW_AT_visibility";
458         return DW_DLV_OK;
459     case DW_AT_import:
460         *s_out = "DW_AT_import";
461         return DW_DLV_OK;
462     case DW_AT_string_length:
463         *s_out = "DW_AT_string_length";
464         return DW_DLV_OK;
465     case DW_AT_common_reference:
466         *s_out = "DW_AT_common_reference";
467         return DW_DLV_OK;
468     case DW_AT_comp_dir:
469         *s_out = "DW_AT_comp_dir";
470         return DW_DLV_OK;
471     case DW_AT_const_value:
472         *s_out = "DW_AT_const_value";
473         return DW_DLV_OK;
474     case DW_AT_containing_type:
475         *s_out = "DW_AT_containing_type";
476         return DW_DLV_OK;
477     case DW_AT_default_value:
478         *s_out = "DW_AT_default_value";
479         return DW_DLV_OK;
480     case DW_AT_inline:
481         *s_out = "DW_AT_inline";
482         return DW_DLV_OK;
483     case DW_AT_is_optional:
484         *s_out = "DW_AT_is_optional";
485         return DW_DLV_OK;
486     case DW_AT_lower_bound:
487         *s_out = "DW_AT_lower_bound";
488         return DW_DLV_OK;
489     case DW_AT_producer:
490         *s_out = "DW_AT_producer";
491         return DW_DLV_OK;
492     case DW_AT_prototyped:
493         *s_out = "DW_AT_prototyped";
494         return DW_DLV_OK;
495     case DW_AT_return_addr:
496         *s_out = "DW_AT_return_addr";
497         return DW_DLV_OK;
498     case DW_AT_start_scope:
499         *s_out = "DW_AT_start_scope";
500         return DW_DLV_OK;
501     case DW_AT_bit_stride:
502         *s_out = "DW_AT_bit_stride";
503         return DW_DLV_OK;
504     case DW_AT_upper_bound:
505         *s_out = "DW_AT_upper_bound";
506         return DW_DLV_OK;
507     case DW_AT_abstract_origin:
508         *s_out = "DW_AT_abstract_origin";
509         return DW_DLV_OK;
510     case DW_AT_accessibility:
511         *s_out = "DW_AT_accessibility";
512         return DW_DLV_OK;
513     case DW_AT_address_class:
514         *s_out = "DW_AT_address_class";
515         return DW_DLV_OK;
516     case DW_AT_artificial:
517         *s_out = "DW_AT_artificial";
518         return DW_DLV_OK;
519     case DW_AT_base_types:
520         *s_out = "DW_AT_base_types";
521         return DW_DLV_OK;
522     case DW_AT_calling_convention:
523         *s_out = "DW_AT_calling_convention";
524         return DW_DLV_OK;
525     case DW_AT_count:
526         *s_out = "DW_AT_count";
527         return DW_DLV_OK;
528     case DW_AT_data_member_location:
529         *s_out = "DW_AT_data_member_location";
530         return DW_DLV_OK;
531     case DW_AT_decl_column:
532         *s_out = "DW_AT_decl_column";
533         return DW_DLV_OK;
534     case DW_AT_decl_file:
535         *s_out = "DW_AT_decl_file";
536         return DW_DLV_OK;
537     case DW_AT_decl_line:
538         *s_out = "DW_AT_decl_line";
539         return DW_DLV_OK;
540     case DW_AT_declaration:
541         *s_out = "DW_AT_declaration";
542         return DW_DLV_OK;
543     case DW_AT_discr_list:
544         *s_out = "DW_AT_discr_list";
545         return DW_DLV_OK;
546     case DW_AT_encoding:
547         *s_out = "DW_AT_encoding";
548         return DW_DLV_OK;
549     case DW_AT_external:
550         *s_out = "DW_AT_external";
551         return DW_DLV_OK;
552     case DW_AT_frame_base:
553         *s_out = "DW_AT_frame_base";
554         return DW_DLV_OK;
555     case DW_AT_friend:
556         *s_out = "DW_AT_friend";
557         return DW_DLV_OK;
558     case DW_AT_identifier_case:
559         *s_out = "DW_AT_identifier_case";
560         return DW_DLV_OK;
561     case DW_AT_macro_info:
562         *s_out = "DW_AT_macro_info";
563         return DW_DLV_OK;
564     case DW_AT_namelist_item:
565         *s_out = "DW_AT_namelist_item";
566         return DW_DLV_OK;
567     case DW_AT_priority:
568         *s_out = "DW_AT_priority";
569         return DW_DLV_OK;
570     case DW_AT_segment:
571         *s_out = "DW_AT_segment";
572         return DW_DLV_OK;
573     case DW_AT_specification:
574         *s_out = "DW_AT_specification";
575         return DW_DLV_OK;
576     case DW_AT_static_link:
577         *s_out = "DW_AT_static_link";
578         return DW_DLV_OK;
579     case DW_AT_type:
580         *s_out = "DW_AT_type";
581         return DW_DLV_OK;
582     case DW_AT_use_location:
583         *s_out = "DW_AT_use_location";
584         return DW_DLV_OK;
585     case DW_AT_variable_parameter:
586         *s_out = "DW_AT_variable_parameter";
587         return DW_DLV_OK;
588     case DW_AT_virtuality:
589         *s_out = "DW_AT_virtuality";
590         return DW_DLV_OK;
591     case DW_AT_vtable_elem_location:
592         *s_out = "DW_AT_vtable_elem_location";
593         return DW_DLV_OK;
594     case DW_AT_allocated:
595         *s_out = "DW_AT_allocated";
596         return DW_DLV_OK;
597     case DW_AT_associated:
598         *s_out = "DW_AT_associated";
599         return DW_DLV_OK;
600     case DW_AT_data_location:
601         *s_out = "DW_AT_data_location";
602         return DW_DLV_OK;
603     case DW_AT_stride:
604         *s_out = "DW_AT_stride";
605         return DW_DLV_OK;
606     case DW_AT_entry_pc:
607         *s_out = "DW_AT_entry_pc";
608         return DW_DLV_OK;
609     case DW_AT_use_UTF8:
610         *s_out = "DW_AT_use_UTF8";
611         return DW_DLV_OK;
612     case DW_AT_extension:
613         *s_out = "DW_AT_extension";
614         return DW_DLV_OK;
615     case DW_AT_ranges:
616         *s_out = "DW_AT_ranges";
617         return DW_DLV_OK;
618     case DW_AT_trampoline:
619         *s_out = "DW_AT_trampoline";
620         return DW_DLV_OK;
621     case DW_AT_call_column:
622         *s_out = "DW_AT_call_column";
623         return DW_DLV_OK;
624     case DW_AT_call_file:
625         *s_out = "DW_AT_call_file";
626         return DW_DLV_OK;
627     case DW_AT_call_line:
628         *s_out = "DW_AT_call_line";
629         return DW_DLV_OK;
630     case DW_AT_description:
631         *s_out = "DW_AT_description";
632         return DW_DLV_OK;
633     case DW_AT_binary_scale:
634         *s_out = "DW_AT_binary_scale";
635         return DW_DLV_OK;
636     case DW_AT_decimal_scale:
637         *s_out = "DW_AT_decimal_scale";
638         return DW_DLV_OK;
639     case DW_AT_small:
640         *s_out = "DW_AT_small";
641         return DW_DLV_OK;
642     case DW_AT_decimal_sign:
643         *s_out = "DW_AT_decimal_sign";
644         return DW_DLV_OK;
645     case DW_AT_digit_count:
646         *s_out = "DW_AT_digit_count";
647         return DW_DLV_OK;
648     case DW_AT_picture_string:
649         *s_out = "DW_AT_picture_string";
650         return DW_DLV_OK;
651     case DW_AT_mutable:
652         *s_out = "DW_AT_mutable";
653         return DW_DLV_OK;
654     case DW_AT_threads_scaled:
655         *s_out = "DW_AT_threads_scaled";
656         return DW_DLV_OK;
657     case DW_AT_explicit:
658         *s_out = "DW_AT_explicit";
659         return DW_DLV_OK;
660     case DW_AT_object_pointer:
661         *s_out = "DW_AT_object_pointer";
662         return DW_DLV_OK;
663     case DW_AT_endianity:
664         *s_out = "DW_AT_endianity";
665         return DW_DLV_OK;
666     case DW_AT_elemental:
667         *s_out = "DW_AT_elemental";
668         return DW_DLV_OK;
669     case DW_AT_pure:
670         *s_out = "DW_AT_pure";
671         return DW_DLV_OK;
672     case DW_AT_recursive:
673         *s_out = "DW_AT_recursive";
674         return DW_DLV_OK;
675     case DW_AT_signature:
676         *s_out = "DW_AT_signature";
677         return DW_DLV_OK;
678     case DW_AT_main_subprogram:
679         *s_out = "DW_AT_main_subprogram";
680         return DW_DLV_OK;
681     case DW_AT_data_bit_offset:
682         *s_out = "DW_AT_data_bit_offset";
683         return DW_DLV_OK;
684     case DW_AT_const_expr:
685         *s_out = "DW_AT_const_expr";
686         return DW_DLV_OK;
687     case DW_AT_enum_class:
688         *s_out = "DW_AT_enum_class";
689         return DW_DLV_OK;
690     case DW_AT_linkage_name:
691         *s_out = "DW_AT_linkage_name";
692         return DW_DLV_OK;
693     case DW_AT_lo_user:
694         *s_out = "DW_AT_lo_user";
695         return DW_DLV_OK;
696     case DW_AT_HP_unmodifiable:
697         *s_out = "DW_AT_HP_unmodifiable";
698         return DW_DLV_OK;
699     case DW_AT_MIPS_loop_begin:
700         *s_out = "DW_AT_MIPS_loop_begin";
701         return DW_DLV_OK;
702     case DW_AT_CPQ_split_lifetimes_var:
703         *s_out = "DW_AT_CPQ_split_lifetimes_var";
704         return DW_DLV_OK;
705     case DW_AT_MIPS_epilog_begin:
706         *s_out = "DW_AT_MIPS_epilog_begin";
707         return DW_DLV_OK;
708     case DW_AT_CPQ_prologue_length:
709         *s_out = "DW_AT_CPQ_prologue_length";
710         return DW_DLV_OK;
711     case DW_AT_MIPS_software_pipeline_depth:
712         *s_out = "DW_AT_MIPS_software_pipeline_depth";
713         return DW_DLV_OK;
714     case DW_AT_MIPS_linkage_name:
715         *s_out = "DW_AT_MIPS_linkage_name";
716         return DW_DLV_OK;
717     case DW_AT_MIPS_stride:
718         *s_out = "DW_AT_MIPS_stride";
719         return DW_DLV_OK;
720     case DW_AT_MIPS_abstract_name:
721         *s_out = "DW_AT_MIPS_abstract_name";
722         return DW_DLV_OK;
723     case DW_AT_MIPS_clone_origin:
724         *s_out = "DW_AT_MIPS_clone_origin";
725         return DW_DLV_OK;
726     case DW_AT_MIPS_has_inlines:
727         *s_out = "DW_AT_MIPS_has_inlines";
728         return DW_DLV_OK;
729     case DW_AT_MIPS_stride_byte:
730         *s_out = "DW_AT_MIPS_stride_byte";
731         return DW_DLV_OK;
732     case DW_AT_MIPS_stride_elem:
733         *s_out = "DW_AT_MIPS_stride_elem";
734         return DW_DLV_OK;
735     case DW_AT_MIPS_ptr_dopetype:
736         *s_out = "DW_AT_MIPS_ptr_dopetype";
737         return DW_DLV_OK;
738     case DW_AT_MIPS_allocatable_dopetype:
739         *s_out = "DW_AT_MIPS_allocatable_dopetype";
740         return DW_DLV_OK;
741     case DW_AT_MIPS_assumed_shape_dopetype:
742         *s_out = "DW_AT_MIPS_assumed_shape_dopetype";
743         return DW_DLV_OK;
744     case DW_AT_HP_proc_per_section:
745         *s_out = "DW_AT_HP_proc_per_section";
746         return DW_DLV_OK;
747     case DW_AT_HP_raw_data_ptr:
748         *s_out = "DW_AT_HP_raw_data_ptr";
749         return DW_DLV_OK;
750     case DW_AT_HP_pass_by_reference:
751         *s_out = "DW_AT_HP_pass_by_reference";
752         return DW_DLV_OK;
753     case DW_AT_HP_opt_level:
754         *s_out = "DW_AT_HP_opt_level";
755         return DW_DLV_OK;
756     case DW_AT_HP_prof_version_id:
757         *s_out = "DW_AT_HP_prof_version_id";
758         return DW_DLV_OK;
759     case DW_AT_HP_opt_flags:
760         *s_out = "DW_AT_HP_opt_flags";
761         return DW_DLV_OK;
762     case DW_AT_HP_cold_region_low_pc:
763         *s_out = "DW_AT_HP_cold_region_low_pc";
764         return DW_DLV_OK;
765     case DW_AT_HP_cold_region_high_pc:
766         *s_out = "DW_AT_HP_cold_region_high_pc";
767         return DW_DLV_OK;
768     case DW_AT_HP_all_variables_modifiable:
769         *s_out = "DW_AT_HP_all_variables_modifiable";
770         return DW_DLV_OK;
771     case DW_AT_HP_linkage_name:
772         *s_out = "DW_AT_HP_linkage_name";
773         return DW_DLV_OK;
774     case DW_AT_HP_prof_flags:
775         *s_out = "DW_AT_HP_prof_flags";
776         return DW_DLV_OK;
777     case DW_AT_INTEL_other_endian:
778         *s_out = "DW_AT_INTEL_other_endian";
779         return DW_DLV_OK;
780     case DW_AT_sf_names:
781         *s_out = "DW_AT_sf_names";
782         return DW_DLV_OK;
783     case DW_AT_src_info:
784         *s_out = "DW_AT_src_info";
785         return DW_DLV_OK;
786     case DW_AT_mac_info:
787         *s_out = "DW_AT_mac_info";
788         return DW_DLV_OK;
789     case DW_AT_src_coords:
790         *s_out = "DW_AT_src_coords";
791         return DW_DLV_OK;
792     case DW_AT_body_begin:
793         *s_out = "DW_AT_body_begin";
794         return DW_DLV_OK;
795     case DW_AT_body_end:
796         *s_out = "DW_AT_body_end";
797         return DW_DLV_OK;
798     case DW_AT_GNU_vector:
799         *s_out = "DW_AT_GNU_vector";
800         return DW_DLV_OK;
801     case DW_AT_GNU_template_name:
802         *s_out = "DW_AT_GNU_template_name";
803         return DW_DLV_OK;
804     case DW_AT_VMS_rtnbeg_pd_address:
805         *s_out = "DW_AT_VMS_rtnbeg_pd_address";
806         return DW_DLV_OK;
807     case DW_AT_SUN_alignment:
808         *s_out = "DW_AT_SUN_alignment";
809         return DW_DLV_OK;
810     case DW_AT_SUN_vtable:
811         *s_out = "DW_AT_SUN_vtable";
812         return DW_DLV_OK;
813     case DW_AT_SUN_count_guarantee:
814         *s_out = "DW_AT_SUN_count_guarantee";
815         return DW_DLV_OK;
816     case DW_AT_SUN_command_line:
817         *s_out = "DW_AT_SUN_command_line";
818         return DW_DLV_OK;
819     case DW_AT_SUN_vbase:
820         *s_out = "DW_AT_SUN_vbase";
821         return DW_DLV_OK;
822     case DW_AT_SUN_compile_options:
823         *s_out = "DW_AT_SUN_compile_options";
824         return DW_DLV_OK;
825     case DW_AT_SUN_language:
826         *s_out = "DW_AT_SUN_language";
827         return DW_DLV_OK;
828     case DW_AT_SUN_browser_file:
829         *s_out = "DW_AT_SUN_browser_file";
830         return DW_DLV_OK;
831     case DW_AT_SUN_vtable_abi:
832         *s_out = "DW_AT_SUN_vtable_abi";
833         return DW_DLV_OK;
834     case DW_AT_SUN_func_offsets:
835         *s_out = "DW_AT_SUN_func_offsets";
836         return DW_DLV_OK;
837     case DW_AT_SUN_cf_kind:
838         *s_out = "DW_AT_SUN_cf_kind";
839         return DW_DLV_OK;
840     case DW_AT_SUN_vtable_index:
841         *s_out = "DW_AT_SUN_vtable_index";
842         return DW_DLV_OK;
843     case DW_AT_SUN_omp_tpriv_addr:
844         *s_out = "DW_AT_SUN_omp_tpriv_addr";
845         return DW_DLV_OK;
846     case DW_AT_SUN_omp_child_func:
847         *s_out = "DW_AT_SUN_omp_child_func";
848         return DW_DLV_OK;
849     case DW_AT_SUN_func_offset:
850         *s_out = "DW_AT_SUN_func_offset";
851         return DW_DLV_OK;
852     case DW_AT_SUN_memop_type_ref:
853         *s_out = "DW_AT_SUN_memop_type_ref";
854         return DW_DLV_OK;
855     case DW_AT_SUN_profile_id:
856         *s_out = "DW_AT_SUN_profile_id";
857         return DW_DLV_OK;
858     case DW_AT_SUN_memop_signature:
859         *s_out = "DW_AT_SUN_memop_signature";
860         return DW_DLV_OK;
861     case DW_AT_SUN_obj_dir:
862         *s_out = "DW_AT_SUN_obj_dir";
863         return DW_DLV_OK;
864     case DW_AT_SUN_obj_file:
865         *s_out = "DW_AT_SUN_obj_file";
866         return DW_DLV_OK;
867     case DW_AT_SUN_original_name:
868         *s_out = "DW_AT_SUN_original_name";
869         return DW_DLV_OK;
870     case DW_AT_SUN_hwcprof_signature:
871         *s_out = "DW_AT_SUN_hwcprof_signature";
872         return DW_DLV_OK;
873     case DW_AT_SUN_amd64_parmdump:
874         *s_out = "DW_AT_SUN_amd64_parmdump";
875         return DW_DLV_OK;
876     case DW_AT_SUN_part_link_name:
877         *s_out = "DW_AT_SUN_part_link_name";
878         return DW_DLV_OK;
879     case DW_AT_SUN_link_name:
880         *s_out = "DW_AT_SUN_link_name";
881         return DW_DLV_OK;
882     case DW_AT_SUN_pass_with_const:
883         *s_out = "DW_AT_SUN_pass_with_const";
884         return DW_DLV_OK;
885     case DW_AT_SUN_return_with_const:
886         *s_out = "DW_AT_SUN_return_with_const";
887         return DW_DLV_OK;
888     case DW_AT_SUN_import_by_name:
889         *s_out = "DW_AT_SUN_import_by_name";
890         return DW_DLV_OK;
891     case DW_AT_SUN_f90_pointer:
892         *s_out = "DW_AT_SUN_f90_pointer";
893         return DW_DLV_OK;
894     case DW_AT_SUN_pass_by_ref:
895         *s_out = "DW_AT_SUN_pass_by_ref";
896         return DW_DLV_OK;
897     case DW_AT_SUN_f90_allocatable:
898         *s_out = "DW_AT_SUN_f90_allocatable";
899         return DW_DLV_OK;
900     case DW_AT_SUN_f90_assumed_shape_array:
901         *s_out = "DW_AT_SUN_f90_assumed_shape_array";
902         return DW_DLV_OK;
903     case DW_AT_SUN_c_vla:
904         *s_out = "DW_AT_SUN_c_vla";
905         return DW_DLV_OK;
906     case DW_AT_SUN_return_value_ptr:
907         *s_out = "DW_AT_SUN_return_value_ptr";
908         return DW_DLV_OK;
909     case DW_AT_SUN_dtor_start:
910         *s_out = "DW_AT_SUN_dtor_start";
911         return DW_DLV_OK;
912     case DW_AT_SUN_dtor_length:
913         *s_out = "DW_AT_SUN_dtor_length";
914         return DW_DLV_OK;
915     case DW_AT_SUN_dtor_state_initial:
916         *s_out = "DW_AT_SUN_dtor_state_initial";
917         return DW_DLV_OK;
918     case DW_AT_SUN_dtor_state_final:
919         *s_out = "DW_AT_SUN_dtor_state_final";
920         return DW_DLV_OK;
921     case DW_AT_SUN_dtor_state_deltas:
922         *s_out = "DW_AT_SUN_dtor_state_deltas";
923         return DW_DLV_OK;
924     case DW_AT_SUN_import_by_lname:
925         *s_out = "DW_AT_SUN_import_by_lname";
926         return DW_DLV_OK;
927     case DW_AT_SUN_f90_use_only:
928         *s_out = "DW_AT_SUN_f90_use_only";
929         return DW_DLV_OK;
930     case DW_AT_SUN_namelist_spec:
931         *s_out = "DW_AT_SUN_namelist_spec";
932         return DW_DLV_OK;
933     case DW_AT_SUN_is_omp_child_func:
934         *s_out = "DW_AT_SUN_is_omp_child_func";
935         return DW_DLV_OK;
936     case DW_AT_SUN_fortran_main_alias:
937         *s_out = "DW_AT_SUN_fortran_main_alias";
938         return DW_DLV_OK;
939     case DW_AT_SUN_fortran_based:
940         *s_out = "DW_AT_SUN_fortran_based";
941         return DW_DLV_OK;
942     case DW_AT_ALTIUM_loclist:
943         *s_out = "DW_AT_ALTIUM_loclist";
944         return DW_DLV_OK;
945     case DW_AT_upc_threads_scaled:
946         *s_out = "DW_AT_upc_threads_scaled";
947         return DW_DLV_OK;
948     case DW_AT_PGI_lbase:
949         *s_out = "DW_AT_PGI_lbase";
950         return DW_DLV_OK;
951     case DW_AT_PGI_soffset:
952         *s_out = "DW_AT_PGI_soffset";
953         return DW_DLV_OK;
954     case DW_AT_PGI_lstride:
955         *s_out = "DW_AT_PGI_lstride";
956         return DW_DLV_OK;
957     case DW_AT_APPLE_closure:
958         *s_out = "DW_AT_APPLE_closure";
959         return DW_DLV_OK;
960     case DW_AT_APPLE_major_runtime_vers:
961         *s_out = "DW_AT_APPLE_major_runtime_vers";
962         return DW_DLV_OK;
963     case DW_AT_APPLE_runtime_class:
964         *s_out = "DW_AT_APPLE_runtime_class";
965         return DW_DLV_OK;
966     case DW_AT_hi_user:
967         *s_out = "DW_AT_hi_user";
968         return DW_DLV_OK;
969     }
970     return DW_DLV_NO_ENTRY;
971 }
972 /* ARGSUSED */
973 int
974 dwarf_get_OP_name (unsigned int val,const char ** s_out)
975 {
976     switch (val) {
977     case DW_OP_addr:
978         *s_out = "DW_OP_addr";
979         return DW_DLV_OK;
980     case DW_OP_deref:
981         *s_out = "DW_OP_deref";
982         return DW_DLV_OK;
983     case DW_OP_const1u:
984         *s_out = "DW_OP_const1u";
985         return DW_DLV_OK;
986     case DW_OP_const1s:
987         *s_out = "DW_OP_const1s";
988         return DW_DLV_OK;
989     case DW_OP_const2u:
990         *s_out = "DW_OP_const2u";
991         return DW_DLV_OK;
992     case DW_OP_const2s:
993         *s_out = "DW_OP_const2s";
994         return DW_DLV_OK;
995     case DW_OP_const4u:
996         *s_out = "DW_OP_const4u";
997         return DW_DLV_OK;
998     case DW_OP_const4s:
999         *s_out = "DW_OP_const4s";
1000         return DW_DLV_OK;
1001     case DW_OP_const8u:
1002         *s_out = "DW_OP_const8u";
1003         return DW_DLV_OK;
1004     case DW_OP_const8s:
1005         *s_out = "DW_OP_const8s";
1006         return DW_DLV_OK;
1007     case DW_OP_constu:
1008         *s_out = "DW_OP_constu";
1009         return DW_DLV_OK;
1010     case DW_OP_consts:
1011         *s_out = "DW_OP_consts";
1012         return DW_DLV_OK;
1013     case DW_OP_dup:
1014         *s_out = "DW_OP_dup";
1015         return DW_DLV_OK;
1016     case DW_OP_drop:
1017         *s_out = "DW_OP_drop";
1018         return DW_DLV_OK;
1019     case DW_OP_over:
1020         *s_out = "DW_OP_over";
1021         return DW_DLV_OK;
1022     case DW_OP_pick:
1023         *s_out = "DW_OP_pick";
1024         return DW_DLV_OK;
1025     case DW_OP_swap:
1026         *s_out = "DW_OP_swap";
1027         return DW_DLV_OK;
1028     case DW_OP_rot:
1029         *s_out = "DW_OP_rot";
1030         return DW_DLV_OK;
1031     case DW_OP_xderef:
1032         *s_out = "DW_OP_xderef";
1033         return DW_DLV_OK;
1034     case DW_OP_abs:
1035         *s_out = "DW_OP_abs";
1036         return DW_DLV_OK;
1037     case DW_OP_and:
1038         *s_out = "DW_OP_and";
1039         return DW_DLV_OK;
1040     case DW_OP_div:
1041         *s_out = "DW_OP_div";
1042         return DW_DLV_OK;
1043     case DW_OP_minus:
1044         *s_out = "DW_OP_minus";
1045         return DW_DLV_OK;
1046     case DW_OP_mod:
1047         *s_out = "DW_OP_mod";
1048         return DW_DLV_OK;
1049     case DW_OP_mul:
1050         *s_out = "DW_OP_mul";
1051         return DW_DLV_OK;
1052     case DW_OP_neg:
1053         *s_out = "DW_OP_neg";
1054         return DW_DLV_OK;
1055     case DW_OP_not:
1056         *s_out = "DW_OP_not";
1057         return DW_DLV_OK;
1058     case DW_OP_or:
1059         *s_out = "DW_OP_or";
1060         return DW_DLV_OK;
1061     case DW_OP_plus:
1062         *s_out = "DW_OP_plus";
1063         return DW_DLV_OK;
1064     case DW_OP_plus_uconst:
1065         *s_out = "DW_OP_plus_uconst";
1066         return DW_DLV_OK;
1067     case DW_OP_shl:
1068         *s_out = "DW_OP_shl";
1069         return DW_DLV_OK;
1070     case DW_OP_shr:
1071         *s_out = "DW_OP_shr";
1072         return DW_DLV_OK;
1073     case DW_OP_shra:
1074         *s_out = "DW_OP_shra";
1075         return DW_DLV_OK;
1076     case DW_OP_xor:
1077         *s_out = "DW_OP_xor";
1078         return DW_DLV_OK;
1079     case DW_OP_bra:
1080         *s_out = "DW_OP_bra";
1081         return DW_DLV_OK;
1082     case DW_OP_eq:
1083         *s_out = "DW_OP_eq";
1084         return DW_DLV_OK;
1085     case DW_OP_ge:
1086         *s_out = "DW_OP_ge";
1087         return DW_DLV_OK;
1088     case DW_OP_gt:
1089         *s_out = "DW_OP_gt";
1090         return DW_DLV_OK;
1091     case DW_OP_le:
1092         *s_out = "DW_OP_le";
1093         return DW_DLV_OK;
1094     case DW_OP_lt:
1095         *s_out = "DW_OP_lt";
1096         return DW_DLV_OK;
1097     case DW_OP_ne:
1098         *s_out = "DW_OP_ne";
1099         return DW_DLV_OK;
1100     case DW_OP_skip:
1101         *s_out = "DW_OP_skip";
1102         return DW_DLV_OK;
1103     case DW_OP_lit0:
1104         *s_out = "DW_OP_lit0";
1105         return DW_DLV_OK;
1106     case DW_OP_lit1:
1107         *s_out = "DW_OP_lit1";
1108         return DW_DLV_OK;
1109     case DW_OP_lit2:
1110         *s_out = "DW_OP_lit2";
1111         return DW_DLV_OK;
1112     case DW_OP_lit3:
1113         *s_out = "DW_OP_lit3";
1114         return DW_DLV_OK;
1115     case DW_OP_lit4:
1116         *s_out = "DW_OP_lit4";
1117         return DW_DLV_OK;
1118     case DW_OP_lit5:
1119         *s_out = "DW_OP_lit5";
1120         return DW_DLV_OK;
1121     case DW_OP_lit6:
1122         *s_out = "DW_OP_lit6";
1123         return DW_DLV_OK;
1124     case DW_OP_lit7:
1125         *s_out = "DW_OP_lit7";
1126         return DW_DLV_OK;
1127     case DW_OP_lit8:
1128         *s_out = "DW_OP_lit8";
1129         return DW_DLV_OK;
1130     case DW_OP_lit9:
1131         *s_out = "DW_OP_lit9";
1132         return DW_DLV_OK;
1133     case DW_OP_lit10:
1134         *s_out = "DW_OP_lit10";
1135         return DW_DLV_OK;
1136     case DW_OP_lit11:
1137         *s_out = "DW_OP_lit11";
1138         return DW_DLV_OK;
1139     case DW_OP_lit12:
1140         *s_out = "DW_OP_lit12";
1141         return DW_DLV_OK;
1142     case DW_OP_lit13:
1143         *s_out = "DW_OP_lit13";
1144         return DW_DLV_OK;
1145     case DW_OP_lit14:
1146         *s_out = "DW_OP_lit14";
1147         return DW_DLV_OK;
1148     case DW_OP_lit15:
1149         *s_out = "DW_OP_lit15";
1150         return DW_DLV_OK;
1151     case DW_OP_lit16:
1152         *s_out = "DW_OP_lit16";
1153         return DW_DLV_OK;
1154     case DW_OP_lit17:
1155         *s_out = "DW_OP_lit17";
1156         return DW_DLV_OK;
1157     case DW_OP_lit18:
1158         *s_out = "DW_OP_lit18";
1159         return DW_DLV_OK;
1160     case DW_OP_lit19:
1161         *s_out = "DW_OP_lit19";
1162         return DW_DLV_OK;
1163     case DW_OP_lit20:
1164         *s_out = "DW_OP_lit20";
1165         return DW_DLV_OK;
1166     case DW_OP_lit21:
1167         *s_out = "DW_OP_lit21";
1168         return DW_DLV_OK;
1169     case DW_OP_lit22:
1170         *s_out = "DW_OP_lit22";
1171         return DW_DLV_OK;
1172     case DW_OP_lit23:
1173         *s_out = "DW_OP_lit23";
1174         return DW_DLV_OK;
1175     case DW_OP_lit24:
1176         *s_out = "DW_OP_lit24";
1177         return DW_DLV_OK;
1178     case DW_OP_lit25:
1179         *s_out = "DW_OP_lit25";
1180         return DW_DLV_OK;
1181     case DW_OP_lit26:
1182         *s_out = "DW_OP_lit26";
1183         return DW_DLV_OK;
1184     case DW_OP_lit27:
1185         *s_out = "DW_OP_lit27";
1186         return DW_DLV_OK;
1187     case DW_OP_lit28:
1188         *s_out = "DW_OP_lit28";
1189         return DW_DLV_OK;
1190     case DW_OP_lit29:
1191         *s_out = "DW_OP_lit29";
1192         return DW_DLV_OK;
1193     case DW_OP_lit30:
1194         *s_out = "DW_OP_lit30";
1195         return DW_DLV_OK;
1196     case DW_OP_lit31:
1197         *s_out = "DW_OP_lit31";
1198         return DW_DLV_OK;
1199     case DW_OP_reg0:
1200         *s_out = "DW_OP_reg0";
1201         return DW_DLV_OK;
1202     case DW_OP_reg1:
1203         *s_out = "DW_OP_reg1";
1204         return DW_DLV_OK;
1205     case DW_OP_reg2:
1206         *s_out = "DW_OP_reg2";
1207         return DW_DLV_OK;
1208     case DW_OP_reg3:
1209         *s_out = "DW_OP_reg3";
1210         return DW_DLV_OK;
1211     case DW_OP_reg4:
1212         *s_out = "DW_OP_reg4";
1213         return DW_DLV_OK;
1214     case DW_OP_reg5:
1215         *s_out = "DW_OP_reg5";
1216         return DW_DLV_OK;
1217     case DW_OP_reg6:
1218         *s_out = "DW_OP_reg6";
1219         return DW_DLV_OK;
1220     case DW_OP_reg7:
1221         *s_out = "DW_OP_reg7";
1222         return DW_DLV_OK;
1223     case DW_OP_reg8:
1224         *s_out = "DW_OP_reg8";
1225         return DW_DLV_OK;
1226     case DW_OP_reg9:
1227         *s_out = "DW_OP_reg9";
1228         return DW_DLV_OK;
1229     case DW_OP_reg10:
1230         *s_out = "DW_OP_reg10";
1231         return DW_DLV_OK;
1232     case DW_OP_reg11:
1233         *s_out = "DW_OP_reg11";
1234         return DW_DLV_OK;
1235     case DW_OP_reg12:
1236         *s_out = "DW_OP_reg12";
1237         return DW_DLV_OK;
1238     case DW_OP_reg13:
1239         *s_out = "DW_OP_reg13";
1240         return DW_DLV_OK;
1241     case DW_OP_reg14:
1242         *s_out = "DW_OP_reg14";
1243         return DW_DLV_OK;
1244     case DW_OP_reg15:
1245         *s_out = "DW_OP_reg15";
1246         return DW_DLV_OK;
1247     case DW_OP_reg16:
1248         *s_out = "DW_OP_reg16";
1249         return DW_DLV_OK;
1250     case DW_OP_reg17:
1251         *s_out = "DW_OP_reg17";
1252         return DW_DLV_OK;
1253     case DW_OP_reg18:
1254         *s_out = "DW_OP_reg18";
1255         return DW_DLV_OK;
1256     case DW_OP_reg19:
1257         *s_out = "DW_OP_reg19";
1258         return DW_DLV_OK;
1259     case DW_OP_reg20:
1260         *s_out = "DW_OP_reg20";
1261         return DW_DLV_OK;
1262     case DW_OP_reg21:
1263         *s_out = "DW_OP_reg21";
1264         return DW_DLV_OK;
1265     case DW_OP_reg22:
1266         *s_out = "DW_OP_reg22";
1267         return DW_DLV_OK;
1268     case DW_OP_reg23:
1269         *s_out = "DW_OP_reg23";
1270         return DW_DLV_OK;
1271     case DW_OP_reg24:
1272         *s_out = "DW_OP_reg24";
1273         return DW_DLV_OK;
1274     case DW_OP_reg25:
1275         *s_out = "DW_OP_reg25";
1276         return DW_DLV_OK;
1277     case DW_OP_reg26:
1278         *s_out = "DW_OP_reg26";
1279         return DW_DLV_OK;
1280     case DW_OP_reg27:
1281         *s_out = "DW_OP_reg27";
1282         return DW_DLV_OK;
1283     case DW_OP_reg28:
1284         *s_out = "DW_OP_reg28";
1285         return DW_DLV_OK;
1286     case DW_OP_reg29:
1287         *s_out = "DW_OP_reg29";
1288         return DW_DLV_OK;
1289     case DW_OP_reg30:
1290         *s_out = "DW_OP_reg30";
1291         return DW_DLV_OK;
1292     case DW_OP_reg31:
1293         *s_out = "DW_OP_reg31";
1294         return DW_DLV_OK;
1295     case DW_OP_breg0:
1296         *s_out = "DW_OP_breg0";
1297         return DW_DLV_OK;
1298     case DW_OP_breg1:
1299         *s_out = "DW_OP_breg1";
1300         return DW_DLV_OK;
1301     case DW_OP_breg2:
1302         *s_out = "DW_OP_breg2";
1303         return DW_DLV_OK;
1304     case DW_OP_breg3:
1305         *s_out = "DW_OP_breg3";
1306         return DW_DLV_OK;
1307     case DW_OP_breg4:
1308         *s_out = "DW_OP_breg4";
1309         return DW_DLV_OK;
1310     case DW_OP_breg5:
1311         *s_out = "DW_OP_breg5";
1312         return DW_DLV_OK;
1313     case DW_OP_breg6:
1314         *s_out = "DW_OP_breg6";
1315         return DW_DLV_OK;
1316     case DW_OP_breg7:
1317         *s_out = "DW_OP_breg7";
1318         return DW_DLV_OK;
1319     case DW_OP_breg8:
1320         *s_out = "DW_OP_breg8";
1321         return DW_DLV_OK;
1322     case DW_OP_breg9:
1323         *s_out = "DW_OP_breg9";
1324         return DW_DLV_OK;
1325     case DW_OP_breg10:
1326         *s_out = "DW_OP_breg10";
1327         return DW_DLV_OK;
1328     case DW_OP_breg11:
1329         *s_out = "DW_OP_breg11";
1330         return DW_DLV_OK;
1331     case DW_OP_breg12:
1332         *s_out = "DW_OP_breg12";
1333         return DW_DLV_OK;
1334     case DW_OP_breg13:
1335         *s_out = "DW_OP_breg13";
1336         return DW_DLV_OK;
1337     case DW_OP_breg14:
1338         *s_out = "DW_OP_breg14";
1339         return DW_DLV_OK;
1340     case DW_OP_breg15:
1341         *s_out = "DW_OP_breg15";
1342         return DW_DLV_OK;
1343     case DW_OP_breg16:
1344         *s_out = "DW_OP_breg16";
1345         return DW_DLV_OK;
1346     case DW_OP_breg17:
1347         *s_out = "DW_OP_breg17";
1348         return DW_DLV_OK;
1349     case DW_OP_breg18:
1350         *s_out = "DW_OP_breg18";
1351         return DW_DLV_OK;
1352     case DW_OP_breg19:
1353         *s_out = "DW_OP_breg19";
1354         return DW_DLV_OK;
1355     case DW_OP_breg20:
1356         *s_out = "DW_OP_breg20";
1357         return DW_DLV_OK;
1358     case DW_OP_breg21:
1359         *s_out = "DW_OP_breg21";
1360         return DW_DLV_OK;
1361     case DW_OP_breg22:
1362         *s_out = "DW_OP_breg22";
1363         return DW_DLV_OK;
1364     case DW_OP_breg23:
1365         *s_out = "DW_OP_breg23";
1366         return DW_DLV_OK;
1367     case DW_OP_breg24:
1368         *s_out = "DW_OP_breg24";
1369         return DW_DLV_OK;
1370     case DW_OP_breg25:
1371         *s_out = "DW_OP_breg25";
1372         return DW_DLV_OK;
1373     case DW_OP_breg26:
1374         *s_out = "DW_OP_breg26";
1375         return DW_DLV_OK;
1376     case DW_OP_breg27:
1377         *s_out = "DW_OP_breg27";
1378         return DW_DLV_OK;
1379     case DW_OP_breg28:
1380         *s_out = "DW_OP_breg28";
1381         return DW_DLV_OK;
1382     case DW_OP_breg29:
1383         *s_out = "DW_OP_breg29";
1384         return DW_DLV_OK;
1385     case DW_OP_breg30:
1386         *s_out = "DW_OP_breg30";
1387         return DW_DLV_OK;
1388     case DW_OP_breg31:
1389         *s_out = "DW_OP_breg31";
1390         return DW_DLV_OK;
1391     case DW_OP_regx:
1392         *s_out = "DW_OP_regx";
1393         return DW_DLV_OK;
1394     case DW_OP_fbreg:
1395         *s_out = "DW_OP_fbreg";
1396         return DW_DLV_OK;
1397     case DW_OP_bregx:
1398         *s_out = "DW_OP_bregx";
1399         return DW_DLV_OK;
1400     case DW_OP_piece:
1401         *s_out = "DW_OP_piece";
1402         return DW_DLV_OK;
1403     case DW_OP_deref_size:
1404         *s_out = "DW_OP_deref_size";
1405         return DW_DLV_OK;
1406     case DW_OP_xderef_size:
1407         *s_out = "DW_OP_xderef_size";
1408         return DW_DLV_OK;
1409     case DW_OP_nop:
1410         *s_out = "DW_OP_nop";
1411         return DW_DLV_OK;
1412     case DW_OP_push_object_address:
1413         *s_out = "DW_OP_push_object_address";
1414         return DW_DLV_OK;
1415     case DW_OP_call2:
1416         *s_out = "DW_OP_call2";
1417         return DW_DLV_OK;
1418     case DW_OP_call4:
1419         *s_out = "DW_OP_call4";
1420         return DW_DLV_OK;
1421     case DW_OP_call_ref:
1422         *s_out = "DW_OP_call_ref";
1423         return DW_DLV_OK;
1424     case DW_OP_form_tls_address:
1425         *s_out = "DW_OP_form_tls_address";
1426         return DW_DLV_OK;
1427     case DW_OP_call_frame_cfa:
1428         *s_out = "DW_OP_call_frame_cfa";
1429         return DW_DLV_OK;
1430     case DW_OP_bit_piece:
1431         *s_out = "DW_OP_bit_piece";
1432         return DW_DLV_OK;
1433     case DW_OP_implicit_value:
1434         *s_out = "DW_OP_implicit_value";
1435         return DW_DLV_OK;
1436     case DW_OP_stack_value:
1437         *s_out = "DW_OP_stack_value";
1438         return DW_DLV_OK;
1439     case DW_OP_lo_user:
1440         *s_out = "DW_OP_lo_user";
1441         return DW_DLV_OK;
1442     case DW_OP_HP_is_value:
1443         *s_out = "DW_OP_HP_is_value";
1444         return DW_DLV_OK;
1445     case DW_OP_HP_fltconst4:
1446         *s_out = "DW_OP_HP_fltconst4";
1447         return DW_DLV_OK;
1448     case DW_OP_HP_fltconst8:
1449         *s_out = "DW_OP_HP_fltconst8";
1450         return DW_DLV_OK;
1451     case DW_OP_HP_mod_range:
1452         *s_out = "DW_OP_HP_mod_range";
1453         return DW_DLV_OK;
1454     case DW_OP_HP_unmod_range:
1455         *s_out = "DW_OP_HP_unmod_range";
1456         return DW_DLV_OK;
1457     case DW_OP_HP_tls:
1458         *s_out = "DW_OP_HP_tls";
1459         return DW_DLV_OK;
1460     case DW_OP_INTEL_bit_piece:
1461         *s_out = "DW_OP_INTEL_bit_piece";
1462         return DW_DLV_OK;
1463     case DW_OP_APPLE_uninit:
1464         *s_out = "DW_OP_APPLE_uninit";
1465         return DW_DLV_OK;
1466     case DW_OP_hi_user:
1467         *s_out = "DW_OP_hi_user";
1468         return DW_DLV_OK;
1469     }
1470     return DW_DLV_NO_ENTRY;
1471 }
1472 /* ARGSUSED */
1473 int
1474 dwarf_get_ATE_name (unsigned int val,const char ** s_out)
1475 {
1476     switch (val) {
1477     case DW_ATE_address:
1478         *s_out = "DW_ATE_address";
1479         return DW_DLV_OK;
1480     case DW_ATE_boolean:
1481         *s_out = "DW_ATE_boolean";
1482         return DW_DLV_OK;
1483     case DW_ATE_complex_float:
1484         *s_out = "DW_ATE_complex_float";
1485         return DW_DLV_OK;
1486     case DW_ATE_float:
1487         *s_out = "DW_ATE_float";
1488         return DW_DLV_OK;
1489     case DW_ATE_signed:
1490         *s_out = "DW_ATE_signed";
1491         return DW_DLV_OK;
1492     case DW_ATE_signed_char:
1493         *s_out = "DW_ATE_signed_char";
1494         return DW_DLV_OK;
1495     case DW_ATE_unsigned:
1496         *s_out = "DW_ATE_unsigned";
1497         return DW_DLV_OK;
1498     case DW_ATE_unsigned_char:
1499         *s_out = "DW_ATE_unsigned_char";
1500         return DW_DLV_OK;
1501     case DW_ATE_imaginary_float:
1502         *s_out = "DW_ATE_imaginary_float";
1503         return DW_DLV_OK;
1504     case DW_ATE_packed_decimal:
1505         *s_out = "DW_ATE_packed_decimal";
1506         return DW_DLV_OK;
1507     case DW_ATE_numeric_string:
1508         *s_out = "DW_ATE_numeric_string";
1509         return DW_DLV_OK;
1510     case DW_ATE_edited:
1511         *s_out = "DW_ATE_edited";
1512         return DW_DLV_OK;
1513     case DW_ATE_signed_fixed:
1514         *s_out = "DW_ATE_signed_fixed";
1515         return DW_DLV_OK;
1516     case DW_ATE_unsigned_fixed:
1517         *s_out = "DW_ATE_unsigned_fixed";
1518         return DW_DLV_OK;
1519     case DW_ATE_decimal_float:
1520         *s_out = "DW_ATE_decimal_float";
1521         return DW_DLV_OK;
1522     case DW_ATE_HP_float80:
1523         *s_out = "DW_ATE_HP_float80";
1524         return DW_DLV_OK;
1525     case DW_ATE_HP_complex_float80:
1526         *s_out = "DW_ATE_HP_complex_float80";
1527         return DW_DLV_OK;
1528     case DW_ATE_HP_float128:
1529         *s_out = "DW_ATE_HP_float128";
1530         return DW_DLV_OK;
1531     case DW_ATE_HP_complex_float128:
1532         *s_out = "DW_ATE_HP_complex_float128";
1533         return DW_DLV_OK;
1534     case DW_ATE_HP_floathpintel:
1535         *s_out = "DW_ATE_HP_floathpintel";
1536         return DW_DLV_OK;
1537     case DW_ATE_HP_imaginary_float80:
1538         *s_out = "DW_ATE_HP_imaginary_float80";
1539         return DW_DLV_OK;
1540     case DW_ATE_HP_imaginary_float128:
1541         *s_out = "DW_ATE_HP_imaginary_float128";
1542         return DW_DLV_OK;
1543     case DW_ATE_SUN_interval_float:
1544         *s_out = "DW_ATE_SUN_interval_float";
1545         return DW_DLV_OK;
1546     case DW_ATE_SUN_imaginary_float:
1547         *s_out = "DW_ATE_SUN_imaginary_float";
1548         return DW_DLV_OK;
1549     case DW_ATE_hi_user:
1550         *s_out = "DW_ATE_hi_user";
1551         return DW_DLV_OK;
1552     }
1553     return DW_DLV_NO_ENTRY;
1554 }
1555 /* ARGSUSED */
1556 int
1557 dwarf_get_DS_name (unsigned int val,const char ** s_out)
1558 {
1559     switch (val) {
1560     case DW_DS_unsigned:
1561         *s_out = "DW_DS_unsigned";
1562         return DW_DLV_OK;
1563     case DW_DS_leading_overpunch:
1564         *s_out = "DW_DS_leading_overpunch";
1565         return DW_DLV_OK;
1566     case DW_DS_trailing_overpunch:
1567         *s_out = "DW_DS_trailing_overpunch";
1568         return DW_DLV_OK;
1569     case DW_DS_leading_separate:
1570         *s_out = "DW_DS_leading_separate";
1571         return DW_DLV_OK;
1572     case DW_DS_trailing_separate:
1573         *s_out = "DW_DS_trailing_separate";
1574         return DW_DLV_OK;
1575     }
1576     return DW_DLV_NO_ENTRY;
1577 }
1578 /* ARGSUSED */
1579 int
1580 dwarf_get_END_name (unsigned int val,const char ** s_out)
1581 {
1582     switch (val) {
1583     case DW_END_default:
1584         *s_out = "DW_END_default";
1585         return DW_DLV_OK;
1586     case DW_END_big:
1587         *s_out = "DW_END_big";
1588         return DW_DLV_OK;
1589     case DW_END_little:
1590         *s_out = "DW_END_little";
1591         return DW_DLV_OK;
1592     case DW_END_lo_user:
1593         *s_out = "DW_END_lo_user";
1594         return DW_DLV_OK;
1595     case DW_END_hi_user:
1596         *s_out = "DW_END_hi_user";
1597         return DW_DLV_OK;
1598     }
1599     return DW_DLV_NO_ENTRY;
1600 }
1601 /* ARGSUSED */
1602 int
1603 dwarf_get_ATCF_name (unsigned int val,const char ** s_out)
1604 {
1605     switch (val) {
1606     case DW_ATCF_lo_user:
1607         *s_out = "DW_ATCF_lo_user";
1608         return DW_DLV_OK;
1609     case DW_ATCF_SUN_mop_bitfield:
1610         *s_out = "DW_ATCF_SUN_mop_bitfield";
1611         return DW_DLV_OK;
1612     case DW_ATCF_SUN_mop_spill:
1613         *s_out = "DW_ATCF_SUN_mop_spill";
1614         return DW_DLV_OK;
1615     case DW_ATCF_SUN_mop_scopy:
1616         *s_out = "DW_ATCF_SUN_mop_scopy";
1617         return DW_DLV_OK;
1618     case DW_ATCF_SUN_func_start:
1619         *s_out = "DW_ATCF_SUN_func_start";
1620         return DW_DLV_OK;
1621     case DW_ATCF_SUN_end_ctors:
1622         *s_out = "DW_ATCF_SUN_end_ctors";
1623         return DW_DLV_OK;
1624     case DW_ATCF_SUN_branch_target:
1625         *s_out = "DW_ATCF_SUN_branch_target";
1626         return DW_DLV_OK;
1627     case DW_ATCF_SUN_mop_stack_probe:
1628         *s_out = "DW_ATCF_SUN_mop_stack_probe";
1629         return DW_DLV_OK;
1630     case DW_ATCF_SUN_func_epilog:
1631         *s_out = "DW_ATCF_SUN_func_epilog";
1632         return DW_DLV_OK;
1633     case DW_ATCF_hi_user:
1634         *s_out = "DW_ATCF_hi_user";
1635         return DW_DLV_OK;
1636     }
1637     return DW_DLV_NO_ENTRY;
1638 }
1639 /* ARGSUSED */
1640 int
1641 dwarf_get_ACCESS_name (unsigned int val,const char ** s_out)
1642 {
1643     switch (val) {
1644     case DW_ACCESS_public:
1645         *s_out = "DW_ACCESS_public";
1646         return DW_DLV_OK;
1647     case DW_ACCESS_protected:
1648         *s_out = "DW_ACCESS_protected";
1649         return DW_DLV_OK;
1650     case DW_ACCESS_private:
1651         *s_out = "DW_ACCESS_private";
1652         return DW_DLV_OK;
1653     }
1654     return DW_DLV_NO_ENTRY;
1655 }
1656 /* ARGSUSED */
1657 int
1658 dwarf_get_VIS_name (unsigned int val,const char ** s_out)
1659 {
1660     switch (val) {
1661     case DW_VIS_local:
1662         *s_out = "DW_VIS_local";
1663         return DW_DLV_OK;
1664     case DW_VIS_exported:
1665         *s_out = "DW_VIS_exported";
1666         return DW_DLV_OK;
1667     case DW_VIS_qualified:
1668         *s_out = "DW_VIS_qualified";
1669         return DW_DLV_OK;
1670     }
1671     return DW_DLV_NO_ENTRY;
1672 }
1673 /* ARGSUSED */
1674 int
1675 dwarf_get_VIRTUALITY_name (unsigned int val,const char ** s_out)
1676 {
1677     switch (val) {
1678     case DW_VIRTUALITY_none:
1679         *s_out = "DW_VIRTUALITY_none";
1680         return DW_DLV_OK;
1681     case DW_VIRTUALITY_virtual:
1682         *s_out = "DW_VIRTUALITY_virtual";
1683         return DW_DLV_OK;
1684     case DW_VIRTUALITY_pure_virtual:
1685         *s_out = "DW_VIRTUALITY_pure_virtual";
1686         return DW_DLV_OK;
1687     }
1688     return DW_DLV_NO_ENTRY;
1689 }
1690 /* ARGSUSED */
1691 int
1692 dwarf_get_LANG_name (unsigned int val,const char ** s_out)
1693 {
1694     switch (val) {
1695     case DW_LANG_C89:
1696         *s_out = "DW_LANG_C89";
1697         return DW_DLV_OK;
1698     case DW_LANG_C:
1699         *s_out = "DW_LANG_C";
1700         return DW_DLV_OK;
1701     case DW_LANG_Ada83:
1702         *s_out = "DW_LANG_Ada83";
1703         return DW_DLV_OK;
1704     case DW_LANG_C_plus_plus:
1705         *s_out = "DW_LANG_C_plus_plus";
1706         return DW_DLV_OK;
1707     case DW_LANG_Cobol74:
1708         *s_out = "DW_LANG_Cobol74";
1709         return DW_DLV_OK;
1710     case DW_LANG_Cobol85:
1711         *s_out = "DW_LANG_Cobol85";
1712         return DW_DLV_OK;
1713     case DW_LANG_Fortran77:
1714         *s_out = "DW_LANG_Fortran77";
1715         return DW_DLV_OK;
1716     case DW_LANG_Fortran90:
1717         *s_out = "DW_LANG_Fortran90";
1718         return DW_DLV_OK;
1719     case DW_LANG_Pascal83:
1720         *s_out = "DW_LANG_Pascal83";
1721         return DW_DLV_OK;
1722     case DW_LANG_Modula2:
1723         *s_out = "DW_LANG_Modula2";
1724         return DW_DLV_OK;
1725     case DW_LANG_Java:
1726         *s_out = "DW_LANG_Java";
1727         return DW_DLV_OK;
1728     case DW_LANG_C99:
1729         *s_out = "DW_LANG_C99";
1730         return DW_DLV_OK;
1731     case DW_LANG_Ada95:
1732         *s_out = "DW_LANG_Ada95";
1733         return DW_DLV_OK;
1734     case DW_LANG_Fortran95:
1735         *s_out = "DW_LANG_Fortran95";
1736         return DW_DLV_OK;
1737     case DW_LANG_PLI:
1738         *s_out = "DW_LANG_PLI";
1739         return DW_DLV_OK;
1740     case DW_LANG_ObjC:
1741         *s_out = "DW_LANG_ObjC";
1742         return DW_DLV_OK;
1743     case DW_LANG_ObjC_plus_plus:
1744         *s_out = "DW_LANG_ObjC_plus_plus";
1745         return DW_DLV_OK;
1746     case DW_LANG_UPC:
1747         *s_out = "DW_LANG_UPC";
1748         return DW_DLV_OK;
1749     case DW_LANG_D:
1750         *s_out = "DW_LANG_D";
1751         return DW_DLV_OK;
1752     case DW_LANG_Python:
1753         *s_out = "DW_LANG_Python";
1754         return DW_DLV_OK;
1755     case DW_LANG_OpenCL:
1756         *s_out = "DW_LANG_OpenCL";
1757         return DW_DLV_OK;
1758     case DW_LANG_Go:
1759         *s_out = "DW_LANG_Go";
1760         return DW_DLV_OK;
1761     case DW_LANG_lo_user:
1762         *s_out = "DW_LANG_lo_user";
1763         return DW_DLV_OK;
1764     case DW_LANG_Mips_Assembler:
1765         *s_out = "DW_LANG_Mips_Assembler";
1766         return DW_DLV_OK;
1767     case DW_LANG_Upc:
1768         *s_out = "DW_LANG_Upc";
1769         return DW_DLV_OK;
1770     case DW_LANG_SUN_Assembler:
1771         *s_out = "DW_LANG_SUN_Assembler";
1772         return DW_DLV_OK;
1773     case DW_LANG_ALTIUM_Assembler:
1774         *s_out = "DW_LANG_ALTIUM_Assembler";
1775         return DW_DLV_OK;
1776     case DW_LANG_hi_user:
1777         *s_out = "DW_LANG_hi_user";
1778         return DW_DLV_OK;
1779     }
1780     return DW_DLV_NO_ENTRY;
1781 }
1782 /* ARGSUSED */
1783 int
1784 dwarf_get_ID_name (unsigned int val,const char ** s_out)
1785 {
1786     switch (val) {
1787     case DW_ID_case_sensitive:
1788         *s_out = "DW_ID_case_sensitive";
1789         return DW_DLV_OK;
1790     case DW_ID_up_case:
1791         *s_out = "DW_ID_up_case";
1792         return DW_DLV_OK;
1793     case DW_ID_down_case:
1794         *s_out = "DW_ID_down_case";
1795         return DW_DLV_OK;
1796     case DW_ID_case_insensitive:
1797         *s_out = "DW_ID_case_insensitive";
1798         return DW_DLV_OK;
1799     }
1800     return DW_DLV_NO_ENTRY;
1801 }
1802 /* ARGSUSED */
1803 int
1804 dwarf_get_CC_name (unsigned int val,const char ** s_out)
1805 {
1806     switch (val) {
1807     case DW_CC_normal:
1808         *s_out = "DW_CC_normal";
1809         return DW_DLV_OK;
1810     case DW_CC_program:
1811         *s_out = "DW_CC_program";
1812         return DW_DLV_OK;
1813     case DW_CC_nocall:
1814         *s_out = "DW_CC_nocall";
1815         return DW_DLV_OK;
1816     case DW_CC_lo_user:
1817         *s_out = "DW_CC_lo_user";
1818         return DW_DLV_OK;
1819     case DW_CC_ALTIUM_interrupt:
1820         *s_out = "DW_CC_ALTIUM_interrupt";
1821         return DW_DLV_OK;
1822     case DW_CC_ALTIUM_near_system_stack:
1823         *s_out = "DW_CC_ALTIUM_near_system_stack";
1824         return DW_DLV_OK;
1825     case DW_CC_ALTIUM_near_user_stack:
1826         *s_out = "DW_CC_ALTIUM_near_user_stack";
1827         return DW_DLV_OK;
1828     case DW_CC_ALTIUM_huge_user_stack:
1829         *s_out = "DW_CC_ALTIUM_huge_user_stack";
1830         return DW_DLV_OK;
1831     case DW_CC_hi_user:
1832         *s_out = "DW_CC_hi_user";
1833         return DW_DLV_OK;
1834     }
1835     return DW_DLV_NO_ENTRY;
1836 }
1837 /* ARGSUSED */
1838 int
1839 dwarf_get_INL_name (unsigned int val,const char ** s_out)
1840 {
1841     switch (val) {
1842     case DW_INL_not_inlined:
1843         *s_out = "DW_INL_not_inlined";
1844         return DW_DLV_OK;
1845     case DW_INL_inlined:
1846         *s_out = "DW_INL_inlined";
1847         return DW_DLV_OK;
1848     case DW_INL_declared_not_inlined:
1849         *s_out = "DW_INL_declared_not_inlined";
1850         return DW_DLV_OK;
1851     case DW_INL_declared_inlined:
1852         *s_out = "DW_INL_declared_inlined";
1853         return DW_DLV_OK;
1854     }
1855     return DW_DLV_NO_ENTRY;
1856 }
1857 /* ARGSUSED */
1858 int
1859 dwarf_get_ORD_name (unsigned int val,const char ** s_out)
1860 {
1861     switch (val) {
1862     case DW_ORD_row_major:
1863         *s_out = "DW_ORD_row_major";
1864         return DW_DLV_OK;
1865     case DW_ORD_col_major:
1866         *s_out = "DW_ORD_col_major";
1867         return DW_DLV_OK;
1868     }
1869     return DW_DLV_NO_ENTRY;
1870 }
1871 /* ARGSUSED */
1872 int
1873 dwarf_get_DSC_name (unsigned int val,const char ** s_out)
1874 {
1875     switch (val) {
1876     case DW_DSC_label:
1877         *s_out = "DW_DSC_label";
1878         return DW_DLV_OK;
1879     case DW_DSC_range:
1880         *s_out = "DW_DSC_range";
1881         return DW_DLV_OK;
1882     }
1883     return DW_DLV_NO_ENTRY;
1884 }
1885 /* ARGSUSED */
1886 int
1887 dwarf_get_LNS_name (unsigned int val,const char ** s_out)
1888 {
1889     switch (val) {
1890     case DW_LNS_copy:
1891         *s_out = "DW_LNS_copy";
1892         return DW_DLV_OK;
1893     case DW_LNS_advance_pc:
1894         *s_out = "DW_LNS_advance_pc";
1895         return DW_DLV_OK;
1896     case DW_LNS_advance_line:
1897         *s_out = "DW_LNS_advance_line";
1898         return DW_DLV_OK;
1899     case DW_LNS_set_file:
1900         *s_out = "DW_LNS_set_file";
1901         return DW_DLV_OK;
1902     case DW_LNS_set_column:
1903         *s_out = "DW_LNS_set_column";
1904         return DW_DLV_OK;
1905     case DW_LNS_negate_stmt:
1906         *s_out = "DW_LNS_negate_stmt";
1907         return DW_DLV_OK;
1908     case DW_LNS_set_basic_block:
1909         *s_out = "DW_LNS_set_basic_block";
1910         return DW_DLV_OK;
1911     case DW_LNS_const_add_pc:
1912         *s_out = "DW_LNS_const_add_pc";
1913         return DW_DLV_OK;
1914     case DW_LNS_fixed_advance_pc:
1915         *s_out = "DW_LNS_fixed_advance_pc";
1916         return DW_DLV_OK;
1917     case DW_LNS_set_prologue_end:
1918         *s_out = "DW_LNS_set_prologue_end";
1919         return DW_DLV_OK;
1920     case DW_LNS_set_epilogue_begin:
1921         *s_out = "DW_LNS_set_epilogue_begin";
1922         return DW_DLV_OK;
1923     case DW_LNS_set_isa:
1924         *s_out = "DW_LNS_set_isa";
1925         return DW_DLV_OK;
1926     }
1927     return DW_DLV_NO_ENTRY;
1928 }
1929 /* ARGSUSED */
1930 int
1931 dwarf_get_LNE_name (unsigned int val,const char ** s_out)
1932 {
1933     switch (val) {
1934     case DW_LNE_end_sequence:
1935         *s_out = "DW_LNE_end_sequence";
1936         return DW_DLV_OK;
1937     case DW_LNE_set_address:
1938         *s_out = "DW_LNE_set_address";
1939         return DW_DLV_OK;
1940     case DW_LNE_define_file:
1941         *s_out = "DW_LNE_define_file";
1942         return DW_DLV_OK;
1943     case DW_LNE_set_discriminator:
1944         *s_out = "DW_LNE_set_discriminator";
1945         return DW_DLV_OK;
1946     case DW_LNE_HP_negate_is_UV_update:
1947         *s_out = "DW_LNE_HP_negate_is_UV_update";
1948         return DW_DLV_OK;
1949     case DW_LNE_HP_push_context:
1950         *s_out = "DW_LNE_HP_push_context";
1951         return DW_DLV_OK;
1952     case DW_LNE_HP_pop_context:
1953         *s_out = "DW_LNE_HP_pop_context";
1954         return DW_DLV_OK;
1955     case DW_LNE_HP_set_file_line_column:
1956         *s_out = "DW_LNE_HP_set_file_line_column";
1957         return DW_DLV_OK;
1958     case DW_LNE_HP_set_routine_name:
1959         *s_out = "DW_LNE_HP_set_routine_name";
1960         return DW_DLV_OK;
1961     case DW_LNE_HP_set_sequence:
1962         *s_out = "DW_LNE_HP_set_sequence";
1963         return DW_DLV_OK;
1964     case DW_LNE_HP_negate_post_semantics:
1965         *s_out = "DW_LNE_HP_negate_post_semantics";
1966         return DW_DLV_OK;
1967     case DW_LNE_HP_negate_function_exit:
1968         *s_out = "DW_LNE_HP_negate_function_exit";
1969         return DW_DLV_OK;
1970     case DW_LNE_HP_negate_front_end_logical:
1971         *s_out = "DW_LNE_HP_negate_front_end_logical";
1972         return DW_DLV_OK;
1973     case DW_LNE_HP_define_proc:
1974         *s_out = "DW_LNE_HP_define_proc";
1975         return DW_DLV_OK;
1976     case DW_LNE_lo_user:
1977         *s_out = "DW_LNE_lo_user";
1978         return DW_DLV_OK;
1979     case DW_LNE_hi_user:
1980         *s_out = "DW_LNE_hi_user";
1981         return DW_DLV_OK;
1982     }
1983     return DW_DLV_NO_ENTRY;
1984 }
1985 /* ARGSUSED */
1986 int
1987 dwarf_get_ISA_name (unsigned int val,const char ** s_out)
1988 {
1989     switch (val) {
1990     case DW_ISA_UNKNOWN:
1991         *s_out = "DW_ISA_UNKNOWN";
1992         return DW_DLV_OK;
1993     case DW_ISA_ARM_thumb:
1994         *s_out = "DW_ISA_ARM_thumb";
1995         return DW_DLV_OK;
1996     case DW_ISA_ARM_arm:
1997         *s_out = "DW_ISA_ARM_arm";
1998         return DW_DLV_OK;
1999     }
2000     return DW_DLV_NO_ENTRY;
2001 }
2002 /* ARGSUSED */
2003 int
2004 dwarf_get_MACINFO_name (unsigned int val,const char ** s_out)
2005 {
2006     switch (val) {
2007     case DW_MACINFO_define:
2008         *s_out = "DW_MACINFO_define";
2009         return DW_DLV_OK;
2010     case DW_MACINFO_undef:
2011         *s_out = "DW_MACINFO_undef";
2012         return DW_DLV_OK;
2013     case DW_MACINFO_start_file:
2014         *s_out = "DW_MACINFO_start_file";
2015         return DW_DLV_OK;
2016     case DW_MACINFO_end_file:
2017         *s_out = "DW_MACINFO_end_file";
2018         return DW_DLV_OK;
2019     case DW_MACINFO_vendor_ext:
2020         *s_out = "DW_MACINFO_vendor_ext";
2021         return DW_DLV_OK;
2022     }
2023     return DW_DLV_NO_ENTRY;
2024 }
2025 /* ARGSUSED */
2026 int
2027 dwarf_get_CFA_name (unsigned int val,const char ** s_out)
2028 {
2029     switch (val) {
2030     case DW_CFA_extended:
2031         *s_out = "DW_CFA_extended";
2032         return DW_DLV_OK;
2033     case DW_CFA_set_loc:
2034         *s_out = "DW_CFA_set_loc";
2035         return DW_DLV_OK;
2036     case DW_CFA_advance_loc1:
2037         *s_out = "DW_CFA_advance_loc1";
2038         return DW_DLV_OK;
2039     case DW_CFA_advance_loc2:
2040         *s_out = "DW_CFA_advance_loc2";
2041         return DW_DLV_OK;
2042     case DW_CFA_advance_loc4:
2043         *s_out = "DW_CFA_advance_loc4";
2044         return DW_DLV_OK;
2045     case DW_CFA_offset_extended:
2046         *s_out = "DW_CFA_offset_extended";
2047         return DW_DLV_OK;
2048     case DW_CFA_restore_extended:
2049         *s_out = "DW_CFA_restore_extended";
2050         return DW_DLV_OK;
2051     case DW_CFA_undefined:
2052         *s_out = "DW_CFA_undefined";
2053         return DW_DLV_OK;
2054     case DW_CFA_same_value:
2055         *s_out = "DW_CFA_same_value";
2056         return DW_DLV_OK;
2057     case DW_CFA_register:
2058         *s_out = "DW_CFA_register";
2059         return DW_DLV_OK;
2060     case DW_CFA_remember_state:
2061         *s_out = "DW_CFA_remember_state";
2062         return DW_DLV_OK;
2063     case DW_CFA_restore_state:
2064         *s_out = "DW_CFA_restore_state";
2065         return DW_DLV_OK;
2066     case DW_CFA_def_cfa:
2067         *s_out = "DW_CFA_def_cfa";
2068         return DW_DLV_OK;
2069     case DW_CFA_def_cfa_register:
2070         *s_out = "DW_CFA_def_cfa_register";
2071         return DW_DLV_OK;
2072     case DW_CFA_def_cfa_offset:
2073         *s_out = "DW_CFA_def_cfa_offset";
2074         return DW_DLV_OK;
2075     case DW_CFA_def_cfa_expression:
2076         *s_out = "DW_CFA_def_cfa_expression";
2077         return DW_DLV_OK;
2078     case DW_CFA_expression:
2079         *s_out = "DW_CFA_expression";
2080         return DW_DLV_OK;
2081     case DW_CFA_offset_extended_sf:
2082         *s_out = "DW_CFA_offset_extended_sf";
2083         return DW_DLV_OK;
2084     case DW_CFA_def_cfa_sf:
2085         *s_out = "DW_CFA_def_cfa_sf";
2086         return DW_DLV_OK;
2087     case DW_CFA_def_cfa_offset_sf:
2088         *s_out = "DW_CFA_def_cfa_offset_sf";
2089         return DW_DLV_OK;
2090     case DW_CFA_val_offset:
2091         *s_out = "DW_CFA_val_offset";
2092         return DW_DLV_OK;
2093     case DW_CFA_val_offset_sf:
2094         *s_out = "DW_CFA_val_offset_sf";
2095         return DW_DLV_OK;
2096     case DW_CFA_val_expression:
2097         *s_out = "DW_CFA_val_expression";
2098         return DW_DLV_OK;
2099     case DW_CFA_lo_user:
2100         *s_out = "DW_CFA_lo_user";
2101         return DW_DLV_OK;
2102     case DW_CFA_MIPS_advance_loc8:
2103         *s_out = "DW_CFA_MIPS_advance_loc8";
2104         return DW_DLV_OK;
2105     case DW_CFA_GNU_window_save:
2106         *s_out = "DW_CFA_GNU_window_save";
2107         return DW_DLV_OK;
2108     case DW_CFA_GNU_args_size:
2109         *s_out = "DW_CFA_GNU_args_size";
2110         return DW_DLV_OK;
2111     case DW_CFA_GNU_negative_offset_extended:
2112         *s_out = "DW_CFA_GNU_negative_offset_extended";
2113         return DW_DLV_OK;
2114     case DW_CFA_high_user:
2115         *s_out = "DW_CFA_high_user";
2116         return DW_DLV_OK;
2117     case DW_CFA_advance_loc:
2118         *s_out = "DW_CFA_advance_loc";
2119         return DW_DLV_OK;
2120     case DW_CFA_offset:
2121         *s_out = "DW_CFA_offset";
2122         return DW_DLV_OK;
2123     case DW_CFA_restore:
2124         *s_out = "DW_CFA_restore";
2125         return DW_DLV_OK;
2126     }
2127     return DW_DLV_NO_ENTRY;
2128 }
2129 /* ARGSUSED */
2130 int
2131 dwarf_get_EH_name (unsigned int val,const char ** s_out)
2132 {
2133     switch (val) {
2134     case DW_EH_PE_absptr:
2135         *s_out = "DW_EH_PE_absptr";
2136         return DW_DLV_OK;
2137     case DW_EH_PE_uleb128:
2138         *s_out = "DW_EH_PE_uleb128";
2139         return DW_DLV_OK;
2140     case DW_EH_PE_udata2:
2141         *s_out = "DW_EH_PE_udata2";
2142         return DW_DLV_OK;
2143     case DW_EH_PE_udata4:
2144         *s_out = "DW_EH_PE_udata4";
2145         return DW_DLV_OK;
2146     case DW_EH_PE_udata8:
2147         *s_out = "DW_EH_PE_udata8";
2148         return DW_DLV_OK;
2149     case DW_EH_PE_sleb128:
2150         *s_out = "DW_EH_PE_sleb128";
2151         return DW_DLV_OK;
2152     case DW_EH_PE_sdata2:
2153         *s_out = "DW_EH_PE_sdata2";
2154         return DW_DLV_OK;
2155     case DW_EH_PE_sdata4:
2156         *s_out = "DW_EH_PE_sdata4";
2157         return DW_DLV_OK;
2158     case DW_EH_PE_sdata8:
2159         *s_out = "DW_EH_PE_sdata8";
2160         return DW_DLV_OK;
2161     case DW_EH_PE_pcrel:
2162         *s_out = "DW_EH_PE_pcrel";
2163         return DW_DLV_OK;
2164     case DW_EH_PE_textrel:
2165         *s_out = "DW_EH_PE_textrel";
2166         return DW_DLV_OK;
2167     case DW_EH_PE_datarel:
2168         *s_out = "DW_EH_PE_datarel";
2169         return DW_DLV_OK;
2170     case DW_EH_PE_funcrel:
2171         *s_out = "DW_EH_PE_funcrel";
2172         return DW_DLV_OK;
2173     case DW_EH_PE_aligned:
2174         *s_out = "DW_EH_PE_aligned";
2175         return DW_DLV_OK;
2176     case DW_EH_PE_omit:
2177         *s_out = "DW_EH_PE_omit";
2178         return DW_DLV_OK;
2179     }
2180     return DW_DLV_NO_ENTRY;
2181 }
2182 /* ARGSUSED */
2183 int
2184 dwarf_get_FRAME_name (unsigned int val,const char ** s_out)
2185 {
2186     switch (val) {
2187     case DW_FRAME_CFA_COL:
2188         *s_out = "DW_FRAME_CFA_COL";
2189         return DW_DLV_OK;
2190     case DW_FRAME_REG1:
2191         *s_out = "DW_FRAME_REG1";
2192         return DW_DLV_OK;
2193     case DW_FRAME_REG2:
2194         *s_out = "DW_FRAME_REG2";
2195         return DW_DLV_OK;
2196     case DW_FRAME_REG3:
2197         *s_out = "DW_FRAME_REG3";
2198         return DW_DLV_OK;
2199     case DW_FRAME_REG4:
2200         *s_out = "DW_FRAME_REG4";
2201         return DW_DLV_OK;
2202     case DW_FRAME_REG5:
2203         *s_out = "DW_FRAME_REG5";
2204         return DW_DLV_OK;
2205     case DW_FRAME_REG6:
2206         *s_out = "DW_FRAME_REG6";
2207         return DW_DLV_OK;
2208     case DW_FRAME_REG7:
2209         *s_out = "DW_FRAME_REG7";
2210         return DW_DLV_OK;
2211     case DW_FRAME_REG8:
2212         *s_out = "DW_FRAME_REG8";
2213         return DW_DLV_OK;
2214     case DW_FRAME_REG9:
2215         *s_out = "DW_FRAME_REG9";
2216         return DW_DLV_OK;
2217     case DW_FRAME_REG10:
2218         *s_out = "DW_FRAME_REG10";
2219         return DW_DLV_OK;
2220     case DW_FRAME_REG11:
2221         *s_out = "DW_FRAME_REG11";
2222         return DW_DLV_OK;
2223     case DW_FRAME_REG12:
2224         *s_out = "DW_FRAME_REG12";
2225         return DW_DLV_OK;
2226     case DW_FRAME_REG13:
2227         *s_out = "DW_FRAME_REG13";
2228         return DW_DLV_OK;
2229     case DW_FRAME_REG14:
2230         *s_out = "DW_FRAME_REG14";
2231         return DW_DLV_OK;
2232     case DW_FRAME_REG15:
2233         *s_out = "DW_FRAME_REG15";
2234         return DW_DLV_OK;
2235     case DW_FRAME_REG16:
2236         *s_out = "DW_FRAME_REG16";
2237         return DW_DLV_OK;
2238     case DW_FRAME_REG17:
2239         *s_out = "DW_FRAME_REG17";
2240         return DW_DLV_OK;
2241     case DW_FRAME_REG18:
2242         *s_out = "DW_FRAME_REG18";
2243         return DW_DLV_OK;
2244     case DW_FRAME_REG19:
2245         *s_out = "DW_FRAME_REG19";
2246         return DW_DLV_OK;
2247     case DW_FRAME_REG20:
2248         *s_out = "DW_FRAME_REG20";
2249         return DW_DLV_OK;
2250     case DW_FRAME_REG21:
2251         *s_out = "DW_FRAME_REG21";
2252         return DW_DLV_OK;
2253     case DW_FRAME_REG22:
2254         *s_out = "DW_FRAME_REG22";
2255         return DW_DLV_OK;
2256     case DW_FRAME_REG23:
2257         *s_out = "DW_FRAME_REG23";
2258         return DW_DLV_OK;
2259     case DW_FRAME_REG24:
2260         *s_out = "DW_FRAME_REG24";
2261         return DW_DLV_OK;
2262     case DW_FRAME_REG25:
2263         *s_out = "DW_FRAME_REG25";
2264         return DW_DLV_OK;
2265     case DW_FRAME_REG26:
2266         *s_out = "DW_FRAME_REG26";
2267         return DW_DLV_OK;
2268     case DW_FRAME_REG27:
2269         *s_out = "DW_FRAME_REG27";
2270         return DW_DLV_OK;
2271     case DW_FRAME_REG28:
2272         *s_out = "DW_FRAME_REG28";
2273         return DW_DLV_OK;
2274     case DW_FRAME_REG29:
2275         *s_out = "DW_FRAME_REG29";
2276         return DW_DLV_OK;
2277     case DW_FRAME_REG30:
2278         *s_out = "DW_FRAME_REG30";
2279         return DW_DLV_OK;
2280     case DW_FRAME_REG31:
2281         *s_out = "DW_FRAME_REG31";
2282         return DW_DLV_OK;
2283     case DW_FRAME_FREG0:
2284         *s_out = "DW_FRAME_FREG0";
2285         return DW_DLV_OK;
2286     case DW_FRAME_FREG1:
2287         *s_out = "DW_FRAME_FREG1";
2288         return DW_DLV_OK;
2289     case DW_FRAME_FREG2:
2290         *s_out = "DW_FRAME_FREG2";
2291         return DW_DLV_OK;
2292     case DW_FRAME_FREG3:
2293         *s_out = "DW_FRAME_FREG3";
2294         return DW_DLV_OK;
2295     case DW_FRAME_FREG4:
2296         *s_out = "DW_FRAME_FREG4";
2297         return DW_DLV_OK;
2298     case DW_FRAME_FREG5:
2299         *s_out = "DW_FRAME_FREG5";
2300         return DW_DLV_OK;
2301     case DW_FRAME_FREG6:
2302         *s_out = "DW_FRAME_FREG6";
2303         return DW_DLV_OK;
2304     case DW_FRAME_FREG7:
2305         *s_out = "DW_FRAME_FREG7";
2306         return DW_DLV_OK;
2307     case DW_FRAME_FREG8:
2308         *s_out = "DW_FRAME_FREG8";
2309         return DW_DLV_OK;
2310     case DW_FRAME_FREG9:
2311         *s_out = "DW_FRAME_FREG9";
2312         return DW_DLV_OK;
2313     case DW_FRAME_FREG10:
2314         *s_out = "DW_FRAME_FREG10";
2315         return DW_DLV_OK;
2316     case DW_FRAME_FREG11:
2317         *s_out = "DW_FRAME_FREG11";
2318         return DW_DLV_OK;
2319     case DW_FRAME_FREG12:
2320         *s_out = "DW_FRAME_FREG12";
2321         return DW_DLV_OK;
2322     case DW_FRAME_FREG13:
2323         *s_out = "DW_FRAME_FREG13";
2324         return DW_DLV_OK;
2325     case DW_FRAME_FREG14:
2326         *s_out = "DW_FRAME_FREG14";
2327         return DW_DLV_OK;
2328     case DW_FRAME_FREG15:
2329         *s_out = "DW_FRAME_FREG15";
2330         return DW_DLV_OK;
2331     case DW_FRAME_FREG16:
2332         *s_out = "DW_FRAME_FREG16";
2333         return DW_DLV_OK;
2334     case DW_FRAME_FREG17:
2335         *s_out = "DW_FRAME_FREG17";
2336         return DW_DLV_OK;
2337     case DW_FRAME_FREG18:
2338         *s_out = "DW_FRAME_FREG18";
2339         return DW_DLV_OK;
2340     case DW_FRAME_FREG19:
2341         *s_out = "DW_FRAME_FREG19";
2342         return DW_DLV_OK;
2343     case DW_FRAME_FREG20:
2344         *s_out = "DW_FRAME_FREG20";
2345         return DW_DLV_OK;
2346     case DW_FRAME_FREG21:
2347         *s_out = "DW_FRAME_FREG21";
2348         return DW_DLV_OK;
2349     case DW_FRAME_FREG22:
2350         *s_out = "DW_FRAME_FREG22";
2351         return DW_DLV_OK;
2352     case DW_FRAME_FREG23:
2353         *s_out = "DW_FRAME_FREG23";
2354         return DW_DLV_OK;
2355     case DW_FRAME_FREG24:
2356         *s_out = "DW_FRAME_FREG24";
2357         return DW_DLV_OK;
2358     case DW_FRAME_FREG25:
2359         *s_out = "DW_FRAME_FREG25";
2360         return DW_DLV_OK;
2361     case DW_FRAME_FREG26:
2362         *s_out = "DW_FRAME_FREG26";
2363         return DW_DLV_OK;
2364     case DW_FRAME_FREG27:
2365         *s_out = "DW_FRAME_FREG27";
2366         return DW_DLV_OK;
2367     case DW_FRAME_FREG28:
2368         *s_out = "DW_FRAME_FREG28";
2369         return DW_DLV_OK;
2370     case DW_FRAME_FREG29:
2371         *s_out = "DW_FRAME_FREG29";
2372         return DW_DLV_OK;
2373     case DW_FRAME_FREG30:
2374         *s_out = "DW_FRAME_FREG30";
2375         return DW_DLV_OK;
2376     case DW_FRAME_HIGHEST_NORMAL_REGISTER:
2377         *s_out = "DW_FRAME_HIGHEST_NORMAL_REGISTER";
2378         return DW_DLV_OK;
2379     }
2380     return DW_DLV_NO_ENTRY;
2381 }
2382 /* ARGSUSED */
2383 int
2384 dwarf_get_CHILDREN_name (unsigned int val,const char ** s_out)
2385 {
2386     switch (val) {
2387     case DW_CHILDREN_no:
2388         *s_out = "DW_CHILDREN_no";
2389         return DW_DLV_OK;
2390     case DW_CHILDREN_yes:
2391         *s_out = "DW_CHILDREN_yes";
2392         return DW_DLV_OK;
2393     }
2394     return DW_DLV_NO_ENTRY;
2395 }
2396 /* ARGSUSED */
2397 int
2398 dwarf_get_ADDR_name (unsigned int val,const char ** s_out)
2399 {
2400     switch (val) {
2401     case DW_ADDR_none:
2402         *s_out = "DW_ADDR_none";
2403         return DW_DLV_OK;
2404     }
2405     return DW_DLV_NO_ENTRY;
2406 }
2407 
2408 /* END FILE */
2409