107dc1947SRichard Lowe /* Generated routines, do not edit. */
2*4d9fdb46SRobert Mustacchi /* Generated sourcedate  2020-06-12 14:47:15-07:00   */
307dc1947SRichard Lowe 
407dc1947SRichard Lowe /* BEGIN FILE */
507dc1947SRichard Lowe 
607dc1947SRichard Lowe #include "dwarf.h"
707dc1947SRichard Lowe 
807dc1947SRichard Lowe #include "libdwarf.h"
907dc1947SRichard Lowe 
1007dc1947SRichard Lowe /* ARGSUSED */
1107dc1947SRichard Lowe int
dwarf_get_TAG_name(unsigned int val,const char ** s_out)1207dc1947SRichard Lowe dwarf_get_TAG_name (unsigned int val,const char ** s_out)
1307dc1947SRichard Lowe {
1407dc1947SRichard Lowe     switch (val) {
1507dc1947SRichard Lowe     case DW_TAG_array_type:
1607dc1947SRichard Lowe         *s_out = "DW_TAG_array_type";
1707dc1947SRichard Lowe         return DW_DLV_OK;
1807dc1947SRichard Lowe     case DW_TAG_class_type:
1907dc1947SRichard Lowe         *s_out = "DW_TAG_class_type";
2007dc1947SRichard Lowe         return DW_DLV_OK;
2107dc1947SRichard Lowe     case DW_TAG_entry_point:
2207dc1947SRichard Lowe         *s_out = "DW_TAG_entry_point";
2307dc1947SRichard Lowe         return DW_DLV_OK;
2407dc1947SRichard Lowe     case DW_TAG_enumeration_type:
2507dc1947SRichard Lowe         *s_out = "DW_TAG_enumeration_type";
2607dc1947SRichard Lowe         return DW_DLV_OK;
2707dc1947SRichard Lowe     case DW_TAG_formal_parameter:
2807dc1947SRichard Lowe         *s_out = "DW_TAG_formal_parameter";
2907dc1947SRichard Lowe         return DW_DLV_OK;
3007dc1947SRichard Lowe     case DW_TAG_imported_declaration:
3107dc1947SRichard Lowe         *s_out = "DW_TAG_imported_declaration";
3207dc1947SRichard Lowe         return DW_DLV_OK;
3307dc1947SRichard Lowe     case DW_TAG_label:
3407dc1947SRichard Lowe         *s_out = "DW_TAG_label";
3507dc1947SRichard Lowe         return DW_DLV_OK;
3607dc1947SRichard Lowe     case DW_TAG_lexical_block:
3707dc1947SRichard Lowe         *s_out = "DW_TAG_lexical_block";
3807dc1947SRichard Lowe         return DW_DLV_OK;
3907dc1947SRichard Lowe     case DW_TAG_member:
4007dc1947SRichard Lowe         *s_out = "DW_TAG_member";
4107dc1947SRichard Lowe         return DW_DLV_OK;
4207dc1947SRichard Lowe     case DW_TAG_pointer_type:
4307dc1947SRichard Lowe         *s_out = "DW_TAG_pointer_type";
4407dc1947SRichard Lowe         return DW_DLV_OK;
4507dc1947SRichard Lowe     case DW_TAG_reference_type:
4607dc1947SRichard Lowe         *s_out = "DW_TAG_reference_type";
4707dc1947SRichard Lowe         return DW_DLV_OK;
4807dc1947SRichard Lowe     case DW_TAG_compile_unit:
4907dc1947SRichard Lowe         *s_out = "DW_TAG_compile_unit";
5007dc1947SRichard Lowe         return DW_DLV_OK;
5107dc1947SRichard Lowe     case DW_TAG_string_type:
5207dc1947SRichard Lowe         *s_out = "DW_TAG_string_type";
5307dc1947SRichard Lowe         return DW_DLV_OK;
5407dc1947SRichard Lowe     case DW_TAG_structure_type:
5507dc1947SRichard Lowe         *s_out = "DW_TAG_structure_type";
5607dc1947SRichard Lowe         return DW_DLV_OK;
5707dc1947SRichard Lowe     case DW_TAG_subroutine_type:
5807dc1947SRichard Lowe         *s_out = "DW_TAG_subroutine_type";
5907dc1947SRichard Lowe         return DW_DLV_OK;
6007dc1947SRichard Lowe     case DW_TAG_typedef:
6107dc1947SRichard Lowe         *s_out = "DW_TAG_typedef";
6207dc1947SRichard Lowe         return DW_DLV_OK;
6307dc1947SRichard Lowe     case DW_TAG_union_type:
6407dc1947SRichard Lowe         *s_out = "DW_TAG_union_type";
6507dc1947SRichard Lowe         return DW_DLV_OK;
6607dc1947SRichard Lowe     case DW_TAG_unspecified_parameters:
6707dc1947SRichard Lowe         *s_out = "DW_TAG_unspecified_parameters";
6807dc1947SRichard Lowe         return DW_DLV_OK;
6907dc1947SRichard Lowe     case DW_TAG_variant:
7007dc1947SRichard Lowe         *s_out = "DW_TAG_variant";
7107dc1947SRichard Lowe         return DW_DLV_OK;
7207dc1947SRichard Lowe     case DW_TAG_common_block:
7307dc1947SRichard Lowe         *s_out = "DW_TAG_common_block";
7407dc1947SRichard Lowe         return DW_DLV_OK;
7507dc1947SRichard Lowe     case DW_TAG_common_inclusion:
7607dc1947SRichard Lowe         *s_out = "DW_TAG_common_inclusion";
7707dc1947SRichard Lowe         return DW_DLV_OK;
7807dc1947SRichard Lowe     case DW_TAG_inheritance:
7907dc1947SRichard Lowe         *s_out = "DW_TAG_inheritance";
8007dc1947SRichard Lowe         return DW_DLV_OK;
8107dc1947SRichard Lowe     case DW_TAG_inlined_subroutine:
8207dc1947SRichard Lowe         *s_out = "DW_TAG_inlined_subroutine";
8307dc1947SRichard Lowe         return DW_DLV_OK;
8407dc1947SRichard Lowe     case DW_TAG_module:
8507dc1947SRichard Lowe         *s_out = "DW_TAG_module";
8607dc1947SRichard Lowe         return DW_DLV_OK;
8707dc1947SRichard Lowe     case DW_TAG_ptr_to_member_type:
8807dc1947SRichard Lowe         *s_out = "DW_TAG_ptr_to_member_type";
8907dc1947SRichard Lowe         return DW_DLV_OK;
9007dc1947SRichard Lowe     case DW_TAG_set_type:
9107dc1947SRichard Lowe         *s_out = "DW_TAG_set_type";
9207dc1947SRichard Lowe         return DW_DLV_OK;
9307dc1947SRichard Lowe     case DW_TAG_subrange_type:
9407dc1947SRichard Lowe         *s_out = "DW_TAG_subrange_type";
9507dc1947SRichard Lowe         return DW_DLV_OK;
9607dc1947SRichard Lowe     case DW_TAG_with_stmt:
9707dc1947SRichard Lowe         *s_out = "DW_TAG_with_stmt";
9807dc1947SRichard Lowe         return DW_DLV_OK;
9907dc1947SRichard Lowe     case DW_TAG_access_declaration:
10007dc1947SRichard Lowe         *s_out = "DW_TAG_access_declaration";
10107dc1947SRichard Lowe         return DW_DLV_OK;
10207dc1947SRichard Lowe     case DW_TAG_base_type:
10307dc1947SRichard Lowe         *s_out = "DW_TAG_base_type";
10407dc1947SRichard Lowe         return DW_DLV_OK;
10507dc1947SRichard Lowe     case DW_TAG_catch_block:
10607dc1947SRichard Lowe         *s_out = "DW_TAG_catch_block";
10707dc1947SRichard Lowe         return DW_DLV_OK;
10807dc1947SRichard Lowe     case DW_TAG_const_type:
10907dc1947SRichard Lowe         *s_out = "DW_TAG_const_type";
11007dc1947SRichard Lowe         return DW_DLV_OK;
11107dc1947SRichard Lowe     case DW_TAG_constant:
11207dc1947SRichard Lowe         *s_out = "DW_TAG_constant";
11307dc1947SRichard Lowe         return DW_DLV_OK;
11407dc1947SRichard Lowe     case DW_TAG_enumerator:
11507dc1947SRichard Lowe         *s_out = "DW_TAG_enumerator";
11607dc1947SRichard Lowe         return DW_DLV_OK;
11707dc1947SRichard Lowe     case DW_TAG_file_type:
11807dc1947SRichard Lowe         *s_out = "DW_TAG_file_type";
11907dc1947SRichard Lowe         return DW_DLV_OK;
12007dc1947SRichard Lowe     case DW_TAG_friend:
12107dc1947SRichard Lowe         *s_out = "DW_TAG_friend";
12207dc1947SRichard Lowe         return DW_DLV_OK;
12307dc1947SRichard Lowe     case DW_TAG_namelist:
12407dc1947SRichard Lowe         *s_out = "DW_TAG_namelist";
12507dc1947SRichard Lowe         return DW_DLV_OK;
12607dc1947SRichard Lowe     case DW_TAG_namelist_item:
12707dc1947SRichard Lowe         *s_out = "DW_TAG_namelist_item";
12807dc1947SRichard Lowe         return DW_DLV_OK;
129*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2c. DW_TAG_namelist_items */
13007dc1947SRichard Lowe     case DW_TAG_packed_type:
13107dc1947SRichard Lowe         *s_out = "DW_TAG_packed_type";
13207dc1947SRichard Lowe         return DW_DLV_OK;
13307dc1947SRichard Lowe     case DW_TAG_subprogram:
13407dc1947SRichard Lowe         *s_out = "DW_TAG_subprogram";
13507dc1947SRichard Lowe         return DW_DLV_OK;
13607dc1947SRichard Lowe     case DW_TAG_template_type_parameter:
13707dc1947SRichard Lowe         *s_out = "DW_TAG_template_type_parameter";
13807dc1947SRichard Lowe         return DW_DLV_OK;
139*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2f. DW_TAG_template_type_param */
14007dc1947SRichard Lowe     case DW_TAG_template_value_parameter:
14107dc1947SRichard Lowe         *s_out = "DW_TAG_template_value_parameter";
14207dc1947SRichard Lowe         return DW_DLV_OK;
143*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x30. DW_TAG_template_value_param */
14407dc1947SRichard Lowe     case DW_TAG_thrown_type:
14507dc1947SRichard Lowe         *s_out = "DW_TAG_thrown_type";
14607dc1947SRichard Lowe         return DW_DLV_OK;
14707dc1947SRichard Lowe     case DW_TAG_try_block:
14807dc1947SRichard Lowe         *s_out = "DW_TAG_try_block";
14907dc1947SRichard Lowe         return DW_DLV_OK;
15007dc1947SRichard Lowe     case DW_TAG_variant_part:
15107dc1947SRichard Lowe         *s_out = "DW_TAG_variant_part";
15207dc1947SRichard Lowe         return DW_DLV_OK;
15307dc1947SRichard Lowe     case DW_TAG_variable:
15407dc1947SRichard Lowe         *s_out = "DW_TAG_variable";
15507dc1947SRichard Lowe         return DW_DLV_OK;
15607dc1947SRichard Lowe     case DW_TAG_volatile_type:
15707dc1947SRichard Lowe         *s_out = "DW_TAG_volatile_type";
15807dc1947SRichard Lowe         return DW_DLV_OK;
15907dc1947SRichard Lowe     case DW_TAG_dwarf_procedure:
16007dc1947SRichard Lowe         *s_out = "DW_TAG_dwarf_procedure";
16107dc1947SRichard Lowe         return DW_DLV_OK;
16207dc1947SRichard Lowe     case DW_TAG_restrict_type:
16307dc1947SRichard Lowe         *s_out = "DW_TAG_restrict_type";
16407dc1947SRichard Lowe         return DW_DLV_OK;
16507dc1947SRichard Lowe     case DW_TAG_interface_type:
16607dc1947SRichard Lowe         *s_out = "DW_TAG_interface_type";
16707dc1947SRichard Lowe         return DW_DLV_OK;
16807dc1947SRichard Lowe     case DW_TAG_namespace:
16907dc1947SRichard Lowe         *s_out = "DW_TAG_namespace";
17007dc1947SRichard Lowe         return DW_DLV_OK;
17107dc1947SRichard Lowe     case DW_TAG_imported_module:
17207dc1947SRichard Lowe         *s_out = "DW_TAG_imported_module";
17307dc1947SRichard Lowe         return DW_DLV_OK;
17407dc1947SRichard Lowe     case DW_TAG_unspecified_type:
17507dc1947SRichard Lowe         *s_out = "DW_TAG_unspecified_type";
17607dc1947SRichard Lowe         return DW_DLV_OK;
17707dc1947SRichard Lowe     case DW_TAG_partial_unit:
17807dc1947SRichard Lowe         *s_out = "DW_TAG_partial_unit";
17907dc1947SRichard Lowe         return DW_DLV_OK;
18007dc1947SRichard Lowe     case DW_TAG_imported_unit:
18107dc1947SRichard Lowe         *s_out = "DW_TAG_imported_unit";
18207dc1947SRichard Lowe         return DW_DLV_OK;
18307dc1947SRichard Lowe     case DW_TAG_mutable_type:
18407dc1947SRichard Lowe         *s_out = "DW_TAG_mutable_type";
18507dc1947SRichard Lowe         return DW_DLV_OK;
18607dc1947SRichard Lowe     case DW_TAG_condition:
18707dc1947SRichard Lowe         *s_out = "DW_TAG_condition";
18807dc1947SRichard Lowe         return DW_DLV_OK;
18907dc1947SRichard Lowe     case DW_TAG_shared_type:
19007dc1947SRichard Lowe         *s_out = "DW_TAG_shared_type";
19107dc1947SRichard Lowe         return DW_DLV_OK;
19207dc1947SRichard Lowe     case DW_TAG_type_unit:
19307dc1947SRichard Lowe         *s_out = "DW_TAG_type_unit";
19407dc1947SRichard Lowe         return DW_DLV_OK;
19507dc1947SRichard Lowe     case DW_TAG_rvalue_reference_type:
19607dc1947SRichard Lowe         *s_out = "DW_TAG_rvalue_reference_type";
19707dc1947SRichard Lowe         return DW_DLV_OK;
19807dc1947SRichard Lowe     case DW_TAG_template_alias:
19907dc1947SRichard Lowe         *s_out = "DW_TAG_template_alias";
20007dc1947SRichard Lowe         return DW_DLV_OK;
201*4d9fdb46SRobert Mustacchi     case DW_TAG_coarray_type:
202*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_coarray_type";
203*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
204*4d9fdb46SRobert Mustacchi     case DW_TAG_generic_subrange:
205*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_generic_subrange";
206*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
207*4d9fdb46SRobert Mustacchi     case DW_TAG_dynamic_type:
208*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_dynamic_type";
209*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
210*4d9fdb46SRobert Mustacchi     case DW_TAG_atomic_type:
211*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_atomic_type";
212*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
213*4d9fdb46SRobert Mustacchi     case DW_TAG_call_site:
214*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_call_site";
215*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
216*4d9fdb46SRobert Mustacchi     case DW_TAG_call_site_parameter:
217*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_call_site_parameter";
218*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
219*4d9fdb46SRobert Mustacchi     case DW_TAG_skeleton_unit:
220*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_skeleton_unit";
221*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
222*4d9fdb46SRobert Mustacchi     case DW_TAG_immutable_type:
223*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_immutable_type";
224*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
22507dc1947SRichard Lowe     case DW_TAG_lo_user:
22607dc1947SRichard Lowe         *s_out = "DW_TAG_lo_user";
22707dc1947SRichard Lowe         return DW_DLV_OK;
22807dc1947SRichard Lowe     case DW_TAG_MIPS_loop:
22907dc1947SRichard Lowe         *s_out = "DW_TAG_MIPS_loop";
23007dc1947SRichard Lowe         return DW_DLV_OK;
23107dc1947SRichard Lowe     case DW_TAG_HP_array_descriptor:
23207dc1947SRichard Lowe         *s_out = "DW_TAG_HP_array_descriptor";
23307dc1947SRichard Lowe         return DW_DLV_OK;
23407dc1947SRichard Lowe     case DW_TAG_format_label:
23507dc1947SRichard Lowe         *s_out = "DW_TAG_format_label";
23607dc1947SRichard Lowe         return DW_DLV_OK;
23707dc1947SRichard Lowe     case DW_TAG_function_template:
23807dc1947SRichard Lowe         *s_out = "DW_TAG_function_template";
23907dc1947SRichard Lowe         return DW_DLV_OK;
24007dc1947SRichard Lowe     case DW_TAG_class_template:
24107dc1947SRichard Lowe         *s_out = "DW_TAG_class_template";
24207dc1947SRichard Lowe         return DW_DLV_OK;
24307dc1947SRichard Lowe     case DW_TAG_GNU_BINCL:
24407dc1947SRichard Lowe         *s_out = "DW_TAG_GNU_BINCL";
24507dc1947SRichard Lowe         return DW_DLV_OK;
24607dc1947SRichard Lowe     case DW_TAG_GNU_EINCL:
24707dc1947SRichard Lowe         *s_out = "DW_TAG_GNU_EINCL";
24807dc1947SRichard Lowe         return DW_DLV_OK;
24907dc1947SRichard Lowe     case DW_TAG_GNU_template_template_parameter:
25007dc1947SRichard Lowe         *s_out = "DW_TAG_GNU_template_template_parameter";
25107dc1947SRichard Lowe         return DW_DLV_OK;
252*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x4106. DW_TAG_GNU_template_template_param */
25307dc1947SRichard Lowe     case DW_TAG_GNU_template_parameter_pack:
25407dc1947SRichard Lowe         *s_out = "DW_TAG_GNU_template_parameter_pack";
25507dc1947SRichard Lowe         return DW_DLV_OK;
25607dc1947SRichard Lowe     case DW_TAG_GNU_formal_parameter_pack:
25707dc1947SRichard Lowe         *s_out = "DW_TAG_GNU_formal_parameter_pack";
25807dc1947SRichard Lowe         return DW_DLV_OK;
259*4d9fdb46SRobert Mustacchi     case DW_TAG_GNU_call_site:
260*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_GNU_call_site";
261*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
262*4d9fdb46SRobert Mustacchi     case DW_TAG_GNU_call_site_parameter:
263*4d9fdb46SRobert Mustacchi         *s_out = "DW_TAG_GNU_call_site_parameter";
264*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
26507dc1947SRichard Lowe     case DW_TAG_SUN_function_template:
26607dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_function_template";
26707dc1947SRichard Lowe         return DW_DLV_OK;
26807dc1947SRichard Lowe     case DW_TAG_SUN_class_template:
26907dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_class_template";
27007dc1947SRichard Lowe         return DW_DLV_OK;
27107dc1947SRichard Lowe     case DW_TAG_SUN_struct_template:
27207dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_struct_template";
27307dc1947SRichard Lowe         return DW_DLV_OK;
27407dc1947SRichard Lowe     case DW_TAG_SUN_union_template:
27507dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_union_template";
27607dc1947SRichard Lowe         return DW_DLV_OK;
27707dc1947SRichard Lowe     case DW_TAG_SUN_indirect_inheritance:
27807dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_indirect_inheritance";
27907dc1947SRichard Lowe         return DW_DLV_OK;
28007dc1947SRichard Lowe     case DW_TAG_SUN_codeflags:
28107dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_codeflags";
28207dc1947SRichard Lowe         return DW_DLV_OK;
28307dc1947SRichard Lowe     case DW_TAG_SUN_memop_info:
28407dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_memop_info";
28507dc1947SRichard Lowe         return DW_DLV_OK;
28607dc1947SRichard Lowe     case DW_TAG_SUN_omp_child_func:
28707dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_omp_child_func";
28807dc1947SRichard Lowe         return DW_DLV_OK;
28907dc1947SRichard Lowe     case DW_TAG_SUN_rtti_descriptor:
29007dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_rtti_descriptor";
29107dc1947SRichard Lowe         return DW_DLV_OK;
29207dc1947SRichard Lowe     case DW_TAG_SUN_dtor_info:
29307dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_dtor_info";
29407dc1947SRichard Lowe         return DW_DLV_OK;
29507dc1947SRichard Lowe     case DW_TAG_SUN_dtor:
29607dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_dtor";
29707dc1947SRichard Lowe         return DW_DLV_OK;
29807dc1947SRichard Lowe     case DW_TAG_SUN_f90_interface:
29907dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_f90_interface";
30007dc1947SRichard Lowe         return DW_DLV_OK;
30107dc1947SRichard Lowe     case DW_TAG_SUN_fortran_vax_structure:
30207dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_fortran_vax_structure";
30307dc1947SRichard Lowe         return DW_DLV_OK;
30407dc1947SRichard Lowe     case DW_TAG_SUN_hi:
30507dc1947SRichard Lowe         *s_out = "DW_TAG_SUN_hi";
30607dc1947SRichard Lowe         return DW_DLV_OK;
30707dc1947SRichard Lowe     case DW_TAG_ALTIUM_circ_type:
30807dc1947SRichard Lowe         *s_out = "DW_TAG_ALTIUM_circ_type";
30907dc1947SRichard Lowe         return DW_DLV_OK;
31007dc1947SRichard Lowe     case DW_TAG_ALTIUM_mwa_circ_type:
31107dc1947SRichard Lowe         *s_out = "DW_TAG_ALTIUM_mwa_circ_type";
31207dc1947SRichard Lowe         return DW_DLV_OK;
31307dc1947SRichard Lowe     case DW_TAG_ALTIUM_rev_carry_type:
31407dc1947SRichard Lowe         *s_out = "DW_TAG_ALTIUM_rev_carry_type";
31507dc1947SRichard Lowe         return DW_DLV_OK;
31607dc1947SRichard Lowe     case DW_TAG_ALTIUM_rom:
31707dc1947SRichard Lowe         *s_out = "DW_TAG_ALTIUM_rom";
31807dc1947SRichard Lowe         return DW_DLV_OK;
31907dc1947SRichard Lowe     case DW_TAG_upc_shared_type:
32007dc1947SRichard Lowe         *s_out = "DW_TAG_upc_shared_type";
32107dc1947SRichard Lowe         return DW_DLV_OK;
32207dc1947SRichard Lowe     case DW_TAG_upc_strict_type:
32307dc1947SRichard Lowe         *s_out = "DW_TAG_upc_strict_type";
32407dc1947SRichard Lowe         return DW_DLV_OK;
32507dc1947SRichard Lowe     case DW_TAG_upc_relaxed_type:
32607dc1947SRichard Lowe         *s_out = "DW_TAG_upc_relaxed_type";
32707dc1947SRichard Lowe         return DW_DLV_OK;
32807dc1947SRichard Lowe     case DW_TAG_PGI_kanji_type:
32907dc1947SRichard Lowe         *s_out = "DW_TAG_PGI_kanji_type";
33007dc1947SRichard Lowe         return DW_DLV_OK;
33107dc1947SRichard Lowe     case DW_TAG_PGI_interface_block:
33207dc1947SRichard Lowe         *s_out = "DW_TAG_PGI_interface_block";
33307dc1947SRichard Lowe         return DW_DLV_OK;
33407dc1947SRichard Lowe     case DW_TAG_hi_user:
33507dc1947SRichard Lowe         *s_out = "DW_TAG_hi_user";
33607dc1947SRichard Lowe         return DW_DLV_OK;
33707dc1947SRichard Lowe     }
338*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
33907dc1947SRichard Lowe }
34007dc1947SRichard Lowe /* ARGSUSED */
34107dc1947SRichard Lowe int
dwarf_get_children_name(unsigned int val,const char ** s_out)34207dc1947SRichard Lowe dwarf_get_children_name (unsigned int val,const char ** s_out)
34307dc1947SRichard Lowe {
34407dc1947SRichard Lowe     switch (val) {
34507dc1947SRichard Lowe     case DW_children_no:
34607dc1947SRichard Lowe         *s_out = "DW_children_no";
34707dc1947SRichard Lowe         return DW_DLV_OK;
34807dc1947SRichard Lowe     case DW_children_yes:
34907dc1947SRichard Lowe         *s_out = "DW_children_yes";
35007dc1947SRichard Lowe         return DW_DLV_OK;
35107dc1947SRichard Lowe     }
352*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
35307dc1947SRichard Lowe }
35407dc1947SRichard Lowe /* ARGSUSED */
35507dc1947SRichard Lowe int
dwarf_get_FORM_name(unsigned int val,const char ** s_out)35607dc1947SRichard Lowe dwarf_get_FORM_name (unsigned int val,const char ** s_out)
35707dc1947SRichard Lowe {
35807dc1947SRichard Lowe     switch (val) {
35907dc1947SRichard Lowe     case DW_FORM_addr:
36007dc1947SRichard Lowe         *s_out = "DW_FORM_addr";
36107dc1947SRichard Lowe         return DW_DLV_OK;
36207dc1947SRichard Lowe     case DW_FORM_block2:
36307dc1947SRichard Lowe         *s_out = "DW_FORM_block2";
36407dc1947SRichard Lowe         return DW_DLV_OK;
36507dc1947SRichard Lowe     case DW_FORM_block4:
36607dc1947SRichard Lowe         *s_out = "DW_FORM_block4";
36707dc1947SRichard Lowe         return DW_DLV_OK;
36807dc1947SRichard Lowe     case DW_FORM_data2:
36907dc1947SRichard Lowe         *s_out = "DW_FORM_data2";
37007dc1947SRichard Lowe         return DW_DLV_OK;
37107dc1947SRichard Lowe     case DW_FORM_data4:
37207dc1947SRichard Lowe         *s_out = "DW_FORM_data4";
37307dc1947SRichard Lowe         return DW_DLV_OK;
37407dc1947SRichard Lowe     case DW_FORM_data8:
37507dc1947SRichard Lowe         *s_out = "DW_FORM_data8";
37607dc1947SRichard Lowe         return DW_DLV_OK;
37707dc1947SRichard Lowe     case DW_FORM_string:
37807dc1947SRichard Lowe         *s_out = "DW_FORM_string";
37907dc1947SRichard Lowe         return DW_DLV_OK;
38007dc1947SRichard Lowe     case DW_FORM_block:
38107dc1947SRichard Lowe         *s_out = "DW_FORM_block";
38207dc1947SRichard Lowe         return DW_DLV_OK;
38307dc1947SRichard Lowe     case DW_FORM_block1:
38407dc1947SRichard Lowe         *s_out = "DW_FORM_block1";
38507dc1947SRichard Lowe         return DW_DLV_OK;
38607dc1947SRichard Lowe     case DW_FORM_data1:
38707dc1947SRichard Lowe         *s_out = "DW_FORM_data1";
38807dc1947SRichard Lowe         return DW_DLV_OK;
38907dc1947SRichard Lowe     case DW_FORM_flag:
39007dc1947SRichard Lowe         *s_out = "DW_FORM_flag";
39107dc1947SRichard Lowe         return DW_DLV_OK;
39207dc1947SRichard Lowe     case DW_FORM_sdata:
39307dc1947SRichard Lowe         *s_out = "DW_FORM_sdata";
39407dc1947SRichard Lowe         return DW_DLV_OK;
39507dc1947SRichard Lowe     case DW_FORM_strp:
39607dc1947SRichard Lowe         *s_out = "DW_FORM_strp";
39707dc1947SRichard Lowe         return DW_DLV_OK;
39807dc1947SRichard Lowe     case DW_FORM_udata:
39907dc1947SRichard Lowe         *s_out = "DW_FORM_udata";
40007dc1947SRichard Lowe         return DW_DLV_OK;
40107dc1947SRichard Lowe     case DW_FORM_ref_addr:
40207dc1947SRichard Lowe         *s_out = "DW_FORM_ref_addr";
40307dc1947SRichard Lowe         return DW_DLV_OK;
40407dc1947SRichard Lowe     case DW_FORM_ref1:
40507dc1947SRichard Lowe         *s_out = "DW_FORM_ref1";
40607dc1947SRichard Lowe         return DW_DLV_OK;
40707dc1947SRichard Lowe     case DW_FORM_ref2:
40807dc1947SRichard Lowe         *s_out = "DW_FORM_ref2";
40907dc1947SRichard Lowe         return DW_DLV_OK;
41007dc1947SRichard Lowe     case DW_FORM_ref4:
41107dc1947SRichard Lowe         *s_out = "DW_FORM_ref4";
41207dc1947SRichard Lowe         return DW_DLV_OK;
41307dc1947SRichard Lowe     case DW_FORM_ref8:
41407dc1947SRichard Lowe         *s_out = "DW_FORM_ref8";
41507dc1947SRichard Lowe         return DW_DLV_OK;
41607dc1947SRichard Lowe     case DW_FORM_ref_udata:
41707dc1947SRichard Lowe         *s_out = "DW_FORM_ref_udata";
41807dc1947SRichard Lowe         return DW_DLV_OK;
41907dc1947SRichard Lowe     case DW_FORM_indirect:
42007dc1947SRichard Lowe         *s_out = "DW_FORM_indirect";
42107dc1947SRichard Lowe         return DW_DLV_OK;
42207dc1947SRichard Lowe     case DW_FORM_sec_offset:
42307dc1947SRichard Lowe         *s_out = "DW_FORM_sec_offset";
42407dc1947SRichard Lowe         return DW_DLV_OK;
42507dc1947SRichard Lowe     case DW_FORM_exprloc:
42607dc1947SRichard Lowe         *s_out = "DW_FORM_exprloc";
42707dc1947SRichard Lowe         return DW_DLV_OK;
42807dc1947SRichard Lowe     case DW_FORM_flag_present:
42907dc1947SRichard Lowe         *s_out = "DW_FORM_flag_present";
43007dc1947SRichard Lowe         return DW_DLV_OK;
431*4d9fdb46SRobert Mustacchi     case DW_FORM_strx:
432*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_strx";
433*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
434*4d9fdb46SRobert Mustacchi     case DW_FORM_addrx:
435*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_addrx";
436*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
437*4d9fdb46SRobert Mustacchi     case DW_FORM_ref_sup4:
438*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_ref_sup4";
439*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
440*4d9fdb46SRobert Mustacchi     case DW_FORM_strp_sup:
441*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_strp_sup";
442*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
443*4d9fdb46SRobert Mustacchi     case DW_FORM_data16:
444*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_data16";
445*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
446*4d9fdb46SRobert Mustacchi     case DW_FORM_line_strp:
447*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_line_strp";
448*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
44907dc1947SRichard Lowe     case DW_FORM_ref_sig8:
45007dc1947SRichard Lowe         *s_out = "DW_FORM_ref_sig8";
45107dc1947SRichard Lowe         return DW_DLV_OK;
452*4d9fdb46SRobert Mustacchi     case DW_FORM_implicit_const:
453*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_implicit_const";
454*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
455*4d9fdb46SRobert Mustacchi     case DW_FORM_loclistx:
456*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_loclistx";
457*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
458*4d9fdb46SRobert Mustacchi     case DW_FORM_rnglistx:
459*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_rnglistx";
460*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
461*4d9fdb46SRobert Mustacchi     case DW_FORM_ref_sup8:
462*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_ref_sup8";
463*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
464*4d9fdb46SRobert Mustacchi     case DW_FORM_strx1:
465*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_strx1";
466*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
467*4d9fdb46SRobert Mustacchi     case DW_FORM_strx2:
468*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_strx2";
469*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
470*4d9fdb46SRobert Mustacchi     case DW_FORM_strx3:
471*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_strx3";
472*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
473*4d9fdb46SRobert Mustacchi     case DW_FORM_strx4:
474*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_strx4";
475*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
476*4d9fdb46SRobert Mustacchi     case DW_FORM_addrx1:
477*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_addrx1";
478*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
479*4d9fdb46SRobert Mustacchi     case DW_FORM_addrx2:
480*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_addrx2";
481*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
482*4d9fdb46SRobert Mustacchi     case DW_FORM_addrx3:
483*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_addrx3";
484*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
485*4d9fdb46SRobert Mustacchi     case DW_FORM_addrx4:
486*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_addrx4";
487*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
488*4d9fdb46SRobert Mustacchi     case DW_FORM_GNU_addr_index:
489*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_GNU_addr_index";
490*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
491*4d9fdb46SRobert Mustacchi     case DW_FORM_GNU_str_index:
492*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_GNU_str_index";
493*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
494*4d9fdb46SRobert Mustacchi     case DW_FORM_GNU_ref_alt:
495*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_GNU_ref_alt";
496*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
497*4d9fdb46SRobert Mustacchi     case DW_FORM_GNU_strp_alt:
498*4d9fdb46SRobert Mustacchi         *s_out = "DW_FORM_GNU_strp_alt";
499*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
50007dc1947SRichard Lowe     }
501*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
50207dc1947SRichard Lowe }
50307dc1947SRichard Lowe /* ARGSUSED */
50407dc1947SRichard Lowe int
dwarf_get_AT_name(unsigned int val,const char ** s_out)50507dc1947SRichard Lowe dwarf_get_AT_name (unsigned int val,const char ** s_out)
50607dc1947SRichard Lowe {
50707dc1947SRichard Lowe     switch (val) {
50807dc1947SRichard Lowe     case DW_AT_sibling:
50907dc1947SRichard Lowe         *s_out = "DW_AT_sibling";
51007dc1947SRichard Lowe         return DW_DLV_OK;
51107dc1947SRichard Lowe     case DW_AT_location:
51207dc1947SRichard Lowe         *s_out = "DW_AT_location";
51307dc1947SRichard Lowe         return DW_DLV_OK;
51407dc1947SRichard Lowe     case DW_AT_name:
51507dc1947SRichard Lowe         *s_out = "DW_AT_name";
51607dc1947SRichard Lowe         return DW_DLV_OK;
51707dc1947SRichard Lowe     case DW_AT_ordering:
51807dc1947SRichard Lowe         *s_out = "DW_AT_ordering";
51907dc1947SRichard Lowe         return DW_DLV_OK;
52007dc1947SRichard Lowe     case DW_AT_subscr_data:
52107dc1947SRichard Lowe         *s_out = "DW_AT_subscr_data";
52207dc1947SRichard Lowe         return DW_DLV_OK;
52307dc1947SRichard Lowe     case DW_AT_byte_size:
52407dc1947SRichard Lowe         *s_out = "DW_AT_byte_size";
52507dc1947SRichard Lowe         return DW_DLV_OK;
52607dc1947SRichard Lowe     case DW_AT_bit_offset:
52707dc1947SRichard Lowe         *s_out = "DW_AT_bit_offset";
52807dc1947SRichard Lowe         return DW_DLV_OK;
52907dc1947SRichard Lowe     case DW_AT_bit_size:
53007dc1947SRichard Lowe         *s_out = "DW_AT_bit_size";
53107dc1947SRichard Lowe         return DW_DLV_OK;
53207dc1947SRichard Lowe     case DW_AT_element_list:
53307dc1947SRichard Lowe         *s_out = "DW_AT_element_list";
53407dc1947SRichard Lowe         return DW_DLV_OK;
53507dc1947SRichard Lowe     case DW_AT_stmt_list:
53607dc1947SRichard Lowe         *s_out = "DW_AT_stmt_list";
53707dc1947SRichard Lowe         return DW_DLV_OK;
53807dc1947SRichard Lowe     case DW_AT_low_pc:
53907dc1947SRichard Lowe         *s_out = "DW_AT_low_pc";
54007dc1947SRichard Lowe         return DW_DLV_OK;
54107dc1947SRichard Lowe     case DW_AT_high_pc:
54207dc1947SRichard Lowe         *s_out = "DW_AT_high_pc";
54307dc1947SRichard Lowe         return DW_DLV_OK;
54407dc1947SRichard Lowe     case DW_AT_language:
54507dc1947SRichard Lowe         *s_out = "DW_AT_language";
54607dc1947SRichard Lowe         return DW_DLV_OK;
54707dc1947SRichard Lowe     case DW_AT_member:
54807dc1947SRichard Lowe         *s_out = "DW_AT_member";
54907dc1947SRichard Lowe         return DW_DLV_OK;
55007dc1947SRichard Lowe     case DW_AT_discr:
55107dc1947SRichard Lowe         *s_out = "DW_AT_discr";
55207dc1947SRichard Lowe         return DW_DLV_OK;
55307dc1947SRichard Lowe     case DW_AT_discr_value:
55407dc1947SRichard Lowe         *s_out = "DW_AT_discr_value";
55507dc1947SRichard Lowe         return DW_DLV_OK;
55607dc1947SRichard Lowe     case DW_AT_visibility:
55707dc1947SRichard Lowe         *s_out = "DW_AT_visibility";
55807dc1947SRichard Lowe         return DW_DLV_OK;
55907dc1947SRichard Lowe     case DW_AT_import:
56007dc1947SRichard Lowe         *s_out = "DW_AT_import";
56107dc1947SRichard Lowe         return DW_DLV_OK;
56207dc1947SRichard Lowe     case DW_AT_string_length:
56307dc1947SRichard Lowe         *s_out = "DW_AT_string_length";
56407dc1947SRichard Lowe         return DW_DLV_OK;
56507dc1947SRichard Lowe     case DW_AT_common_reference:
56607dc1947SRichard Lowe         *s_out = "DW_AT_common_reference";
56707dc1947SRichard Lowe         return DW_DLV_OK;
56807dc1947SRichard Lowe     case DW_AT_comp_dir:
56907dc1947SRichard Lowe         *s_out = "DW_AT_comp_dir";
57007dc1947SRichard Lowe         return DW_DLV_OK;
57107dc1947SRichard Lowe     case DW_AT_const_value:
57207dc1947SRichard Lowe         *s_out = "DW_AT_const_value";
57307dc1947SRichard Lowe         return DW_DLV_OK;
57407dc1947SRichard Lowe     case DW_AT_containing_type:
57507dc1947SRichard Lowe         *s_out = "DW_AT_containing_type";
57607dc1947SRichard Lowe         return DW_DLV_OK;
57707dc1947SRichard Lowe     case DW_AT_default_value:
57807dc1947SRichard Lowe         *s_out = "DW_AT_default_value";
57907dc1947SRichard Lowe         return DW_DLV_OK;
58007dc1947SRichard Lowe     case DW_AT_inline:
58107dc1947SRichard Lowe         *s_out = "DW_AT_inline";
58207dc1947SRichard Lowe         return DW_DLV_OK;
58307dc1947SRichard Lowe     case DW_AT_is_optional:
58407dc1947SRichard Lowe         *s_out = "DW_AT_is_optional";
58507dc1947SRichard Lowe         return DW_DLV_OK;
58607dc1947SRichard Lowe     case DW_AT_lower_bound:
58707dc1947SRichard Lowe         *s_out = "DW_AT_lower_bound";
58807dc1947SRichard Lowe         return DW_DLV_OK;
58907dc1947SRichard Lowe     case DW_AT_producer:
59007dc1947SRichard Lowe         *s_out = "DW_AT_producer";
59107dc1947SRichard Lowe         return DW_DLV_OK;
59207dc1947SRichard Lowe     case DW_AT_prototyped:
59307dc1947SRichard Lowe         *s_out = "DW_AT_prototyped";
59407dc1947SRichard Lowe         return DW_DLV_OK;
59507dc1947SRichard Lowe     case DW_AT_return_addr:
59607dc1947SRichard Lowe         *s_out = "DW_AT_return_addr";
59707dc1947SRichard Lowe         return DW_DLV_OK;
59807dc1947SRichard Lowe     case DW_AT_start_scope:
59907dc1947SRichard Lowe         *s_out = "DW_AT_start_scope";
60007dc1947SRichard Lowe         return DW_DLV_OK;
60107dc1947SRichard Lowe     case DW_AT_bit_stride:
60207dc1947SRichard Lowe         *s_out = "DW_AT_bit_stride";
60307dc1947SRichard Lowe         return DW_DLV_OK;
604*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2e. DW_AT_stride_size */
60507dc1947SRichard Lowe     case DW_AT_upper_bound:
60607dc1947SRichard Lowe         *s_out = "DW_AT_upper_bound";
60707dc1947SRichard Lowe         return DW_DLV_OK;
60807dc1947SRichard Lowe     case DW_AT_abstract_origin:
60907dc1947SRichard Lowe         *s_out = "DW_AT_abstract_origin";
61007dc1947SRichard Lowe         return DW_DLV_OK;
61107dc1947SRichard Lowe     case DW_AT_accessibility:
61207dc1947SRichard Lowe         *s_out = "DW_AT_accessibility";
61307dc1947SRichard Lowe         return DW_DLV_OK;
61407dc1947SRichard Lowe     case DW_AT_address_class:
61507dc1947SRichard Lowe         *s_out = "DW_AT_address_class";
61607dc1947SRichard Lowe         return DW_DLV_OK;
61707dc1947SRichard Lowe     case DW_AT_artificial:
61807dc1947SRichard Lowe         *s_out = "DW_AT_artificial";
61907dc1947SRichard Lowe         return DW_DLV_OK;
62007dc1947SRichard Lowe     case DW_AT_base_types:
62107dc1947SRichard Lowe         *s_out = "DW_AT_base_types";
62207dc1947SRichard Lowe         return DW_DLV_OK;
62307dc1947SRichard Lowe     case DW_AT_calling_convention:
62407dc1947SRichard Lowe         *s_out = "DW_AT_calling_convention";
62507dc1947SRichard Lowe         return DW_DLV_OK;
62607dc1947SRichard Lowe     case DW_AT_count:
62707dc1947SRichard Lowe         *s_out = "DW_AT_count";
62807dc1947SRichard Lowe         return DW_DLV_OK;
62907dc1947SRichard Lowe     case DW_AT_data_member_location:
63007dc1947SRichard Lowe         *s_out = "DW_AT_data_member_location";
63107dc1947SRichard Lowe         return DW_DLV_OK;
63207dc1947SRichard Lowe     case DW_AT_decl_column:
63307dc1947SRichard Lowe         *s_out = "DW_AT_decl_column";
63407dc1947SRichard Lowe         return DW_DLV_OK;
63507dc1947SRichard Lowe     case DW_AT_decl_file:
63607dc1947SRichard Lowe         *s_out = "DW_AT_decl_file";
63707dc1947SRichard Lowe         return DW_DLV_OK;
63807dc1947SRichard Lowe     case DW_AT_decl_line:
63907dc1947SRichard Lowe         *s_out = "DW_AT_decl_line";
64007dc1947SRichard Lowe         return DW_DLV_OK;
64107dc1947SRichard Lowe     case DW_AT_declaration:
64207dc1947SRichard Lowe         *s_out = "DW_AT_declaration";
64307dc1947SRichard Lowe         return DW_DLV_OK;
64407dc1947SRichard Lowe     case DW_AT_discr_list:
64507dc1947SRichard Lowe         *s_out = "DW_AT_discr_list";
64607dc1947SRichard Lowe         return DW_DLV_OK;
64707dc1947SRichard Lowe     case DW_AT_encoding:
64807dc1947SRichard Lowe         *s_out = "DW_AT_encoding";
64907dc1947SRichard Lowe         return DW_DLV_OK;
65007dc1947SRichard Lowe     case DW_AT_external:
65107dc1947SRichard Lowe         *s_out = "DW_AT_external";
65207dc1947SRichard Lowe         return DW_DLV_OK;
65307dc1947SRichard Lowe     case DW_AT_frame_base:
65407dc1947SRichard Lowe         *s_out = "DW_AT_frame_base";
65507dc1947SRichard Lowe         return DW_DLV_OK;
65607dc1947SRichard Lowe     case DW_AT_friend:
65707dc1947SRichard Lowe         *s_out = "DW_AT_friend";
65807dc1947SRichard Lowe         return DW_DLV_OK;
65907dc1947SRichard Lowe     case DW_AT_identifier_case:
66007dc1947SRichard Lowe         *s_out = "DW_AT_identifier_case";
66107dc1947SRichard Lowe         return DW_DLV_OK;
66207dc1947SRichard Lowe     case DW_AT_macro_info:
66307dc1947SRichard Lowe         *s_out = "DW_AT_macro_info";
66407dc1947SRichard Lowe         return DW_DLV_OK;
66507dc1947SRichard Lowe     case DW_AT_namelist_item:
66607dc1947SRichard Lowe         *s_out = "DW_AT_namelist_item";
66707dc1947SRichard Lowe         return DW_DLV_OK;
66807dc1947SRichard Lowe     case DW_AT_priority:
66907dc1947SRichard Lowe         *s_out = "DW_AT_priority";
67007dc1947SRichard Lowe         return DW_DLV_OK;
67107dc1947SRichard Lowe     case DW_AT_segment:
67207dc1947SRichard Lowe         *s_out = "DW_AT_segment";
67307dc1947SRichard Lowe         return DW_DLV_OK;
67407dc1947SRichard Lowe     case DW_AT_specification:
67507dc1947SRichard Lowe         *s_out = "DW_AT_specification";
67607dc1947SRichard Lowe         return DW_DLV_OK;
67707dc1947SRichard Lowe     case DW_AT_static_link:
67807dc1947SRichard Lowe         *s_out = "DW_AT_static_link";
67907dc1947SRichard Lowe         return DW_DLV_OK;
68007dc1947SRichard Lowe     case DW_AT_type:
68107dc1947SRichard Lowe         *s_out = "DW_AT_type";
68207dc1947SRichard Lowe         return DW_DLV_OK;
68307dc1947SRichard Lowe     case DW_AT_use_location:
68407dc1947SRichard Lowe         *s_out = "DW_AT_use_location";
68507dc1947SRichard Lowe         return DW_DLV_OK;
68607dc1947SRichard Lowe     case DW_AT_variable_parameter:
68707dc1947SRichard Lowe         *s_out = "DW_AT_variable_parameter";
68807dc1947SRichard Lowe         return DW_DLV_OK;
68907dc1947SRichard Lowe     case DW_AT_virtuality:
69007dc1947SRichard Lowe         *s_out = "DW_AT_virtuality";
69107dc1947SRichard Lowe         return DW_DLV_OK;
69207dc1947SRichard Lowe     case DW_AT_vtable_elem_location:
69307dc1947SRichard Lowe         *s_out = "DW_AT_vtable_elem_location";
69407dc1947SRichard Lowe         return DW_DLV_OK;
69507dc1947SRichard Lowe     case DW_AT_allocated:
69607dc1947SRichard Lowe         *s_out = "DW_AT_allocated";
69707dc1947SRichard Lowe         return DW_DLV_OK;
69807dc1947SRichard Lowe     case DW_AT_associated:
69907dc1947SRichard Lowe         *s_out = "DW_AT_associated";
70007dc1947SRichard Lowe         return DW_DLV_OK;
70107dc1947SRichard Lowe     case DW_AT_data_location:
70207dc1947SRichard Lowe         *s_out = "DW_AT_data_location";
70307dc1947SRichard Lowe         return DW_DLV_OK;
704*4d9fdb46SRobert Mustacchi     case DW_AT_byte_stride:
705*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_byte_stride";
70607dc1947SRichard Lowe         return DW_DLV_OK;
707*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x51. DW_AT_stride */
70807dc1947SRichard Lowe     case DW_AT_entry_pc:
70907dc1947SRichard Lowe         *s_out = "DW_AT_entry_pc";
71007dc1947SRichard Lowe         return DW_DLV_OK;
71107dc1947SRichard Lowe     case DW_AT_use_UTF8:
71207dc1947SRichard Lowe         *s_out = "DW_AT_use_UTF8";
71307dc1947SRichard Lowe         return DW_DLV_OK;
71407dc1947SRichard Lowe     case DW_AT_extension:
71507dc1947SRichard Lowe         *s_out = "DW_AT_extension";
71607dc1947SRichard Lowe         return DW_DLV_OK;
71707dc1947SRichard Lowe     case DW_AT_ranges:
71807dc1947SRichard Lowe         *s_out = "DW_AT_ranges";
71907dc1947SRichard Lowe         return DW_DLV_OK;
72007dc1947SRichard Lowe     case DW_AT_trampoline:
72107dc1947SRichard Lowe         *s_out = "DW_AT_trampoline";
72207dc1947SRichard Lowe         return DW_DLV_OK;
72307dc1947SRichard Lowe     case DW_AT_call_column:
72407dc1947SRichard Lowe         *s_out = "DW_AT_call_column";
72507dc1947SRichard Lowe         return DW_DLV_OK;
72607dc1947SRichard Lowe     case DW_AT_call_file:
72707dc1947SRichard Lowe         *s_out = "DW_AT_call_file";
72807dc1947SRichard Lowe         return DW_DLV_OK;
72907dc1947SRichard Lowe     case DW_AT_call_line:
73007dc1947SRichard Lowe         *s_out = "DW_AT_call_line";
73107dc1947SRichard Lowe         return DW_DLV_OK;
73207dc1947SRichard Lowe     case DW_AT_description:
73307dc1947SRichard Lowe         *s_out = "DW_AT_description";
73407dc1947SRichard Lowe         return DW_DLV_OK;
73507dc1947SRichard Lowe     case DW_AT_binary_scale:
73607dc1947SRichard Lowe         *s_out = "DW_AT_binary_scale";
73707dc1947SRichard Lowe         return DW_DLV_OK;
73807dc1947SRichard Lowe     case DW_AT_decimal_scale:
73907dc1947SRichard Lowe         *s_out = "DW_AT_decimal_scale";
74007dc1947SRichard Lowe         return DW_DLV_OK;
74107dc1947SRichard Lowe     case DW_AT_small:
74207dc1947SRichard Lowe         *s_out = "DW_AT_small";
74307dc1947SRichard Lowe         return DW_DLV_OK;
74407dc1947SRichard Lowe     case DW_AT_decimal_sign:
74507dc1947SRichard Lowe         *s_out = "DW_AT_decimal_sign";
74607dc1947SRichard Lowe         return DW_DLV_OK;
74707dc1947SRichard Lowe     case DW_AT_digit_count:
74807dc1947SRichard Lowe         *s_out = "DW_AT_digit_count";
74907dc1947SRichard Lowe         return DW_DLV_OK;
75007dc1947SRichard Lowe     case DW_AT_picture_string:
75107dc1947SRichard Lowe         *s_out = "DW_AT_picture_string";
75207dc1947SRichard Lowe         return DW_DLV_OK;
75307dc1947SRichard Lowe     case DW_AT_mutable:
75407dc1947SRichard Lowe         *s_out = "DW_AT_mutable";
75507dc1947SRichard Lowe         return DW_DLV_OK;
75607dc1947SRichard Lowe     case DW_AT_threads_scaled:
75707dc1947SRichard Lowe         *s_out = "DW_AT_threads_scaled";
75807dc1947SRichard Lowe         return DW_DLV_OK;
75907dc1947SRichard Lowe     case DW_AT_explicit:
76007dc1947SRichard Lowe         *s_out = "DW_AT_explicit";
76107dc1947SRichard Lowe         return DW_DLV_OK;
76207dc1947SRichard Lowe     case DW_AT_object_pointer:
76307dc1947SRichard Lowe         *s_out = "DW_AT_object_pointer";
76407dc1947SRichard Lowe         return DW_DLV_OK;
76507dc1947SRichard Lowe     case DW_AT_endianity:
76607dc1947SRichard Lowe         *s_out = "DW_AT_endianity";
76707dc1947SRichard Lowe         return DW_DLV_OK;
76807dc1947SRichard Lowe     case DW_AT_elemental:
76907dc1947SRichard Lowe         *s_out = "DW_AT_elemental";
77007dc1947SRichard Lowe         return DW_DLV_OK;
77107dc1947SRichard Lowe     case DW_AT_pure:
77207dc1947SRichard Lowe         *s_out = "DW_AT_pure";
77307dc1947SRichard Lowe         return DW_DLV_OK;
77407dc1947SRichard Lowe     case DW_AT_recursive:
77507dc1947SRichard Lowe         *s_out = "DW_AT_recursive";
77607dc1947SRichard Lowe         return DW_DLV_OK;
77707dc1947SRichard Lowe     case DW_AT_signature:
77807dc1947SRichard Lowe         *s_out = "DW_AT_signature";
77907dc1947SRichard Lowe         return DW_DLV_OK;
78007dc1947SRichard Lowe     case DW_AT_main_subprogram:
78107dc1947SRichard Lowe         *s_out = "DW_AT_main_subprogram";
78207dc1947SRichard Lowe         return DW_DLV_OK;
78307dc1947SRichard Lowe     case DW_AT_data_bit_offset:
78407dc1947SRichard Lowe         *s_out = "DW_AT_data_bit_offset";
78507dc1947SRichard Lowe         return DW_DLV_OK;
78607dc1947SRichard Lowe     case DW_AT_const_expr:
78707dc1947SRichard Lowe         *s_out = "DW_AT_const_expr";
78807dc1947SRichard Lowe         return DW_DLV_OK;
78907dc1947SRichard Lowe     case DW_AT_enum_class:
79007dc1947SRichard Lowe         *s_out = "DW_AT_enum_class";
79107dc1947SRichard Lowe         return DW_DLV_OK;
79207dc1947SRichard Lowe     case DW_AT_linkage_name:
79307dc1947SRichard Lowe         *s_out = "DW_AT_linkage_name";
79407dc1947SRichard Lowe         return DW_DLV_OK;
795*4d9fdb46SRobert Mustacchi     case DW_AT_string_length_bit_size:
796*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_string_length_bit_size";
797*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
798*4d9fdb46SRobert Mustacchi     case DW_AT_string_length_byte_size:
799*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_string_length_byte_size";
800*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
801*4d9fdb46SRobert Mustacchi     case DW_AT_rank:
802*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_rank";
803*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
804*4d9fdb46SRobert Mustacchi     case DW_AT_str_offsets_base:
805*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_str_offsets_base";
806*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
807*4d9fdb46SRobert Mustacchi     case DW_AT_addr_base:
808*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_addr_base";
809*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
810*4d9fdb46SRobert Mustacchi     case DW_AT_rnglists_base:
811*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_rnglists_base";
812*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
813*4d9fdb46SRobert Mustacchi     case DW_AT_dwo_id:
814*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_dwo_id";
815*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
816*4d9fdb46SRobert Mustacchi     case DW_AT_dwo_name:
817*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_dwo_name";
818*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
819*4d9fdb46SRobert Mustacchi     case DW_AT_reference:
820*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_reference";
82107dc1947SRichard Lowe         return DW_DLV_OK;
822*4d9fdb46SRobert Mustacchi     case DW_AT_rvalue_reference:
823*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_rvalue_reference";
82407dc1947SRichard Lowe         return DW_DLV_OK;
825*4d9fdb46SRobert Mustacchi     case DW_AT_macros:
826*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_macros";
827*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
828*4d9fdb46SRobert Mustacchi     case DW_AT_call_all_calls:
829*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_all_calls";
830*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
831*4d9fdb46SRobert Mustacchi     case DW_AT_call_all_source_calls:
832*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_all_source_calls";
833*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
834*4d9fdb46SRobert Mustacchi     case DW_AT_call_all_tail_calls:
835*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_all_tail_calls";
836*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
837*4d9fdb46SRobert Mustacchi     case DW_AT_call_return_pc:
838*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_return_pc";
839*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
840*4d9fdb46SRobert Mustacchi     case DW_AT_call_value:
841*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_value";
842*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
843*4d9fdb46SRobert Mustacchi     case DW_AT_call_origin:
844*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_origin";
845*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
846*4d9fdb46SRobert Mustacchi     case DW_AT_call_parameter:
847*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_parameter";
848*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
849*4d9fdb46SRobert Mustacchi     case DW_AT_call_pc:
850*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_pc";
851*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
852*4d9fdb46SRobert Mustacchi     case DW_AT_call_tail_call:
853*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_tail_call";
854*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
855*4d9fdb46SRobert Mustacchi     case DW_AT_call_target:
856*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_target";
857*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
858*4d9fdb46SRobert Mustacchi     case DW_AT_call_target_clobbered:
859*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_target_clobbered";
860*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
861*4d9fdb46SRobert Mustacchi     case DW_AT_call_data_location:
862*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_data_location";
863*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
864*4d9fdb46SRobert Mustacchi     case DW_AT_call_data_value:
865*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_call_data_value";
866*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
867*4d9fdb46SRobert Mustacchi     case DW_AT_noreturn:
868*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_noreturn";
869*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
870*4d9fdb46SRobert Mustacchi     case DW_AT_alignment:
871*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_alignment";
872*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
873*4d9fdb46SRobert Mustacchi     case DW_AT_export_symbols:
874*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_export_symbols";
875*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
876*4d9fdb46SRobert Mustacchi     case DW_AT_deleted:
877*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_deleted";
878*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
879*4d9fdb46SRobert Mustacchi     case DW_AT_defaulted:
880*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_defaulted";
881*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
882*4d9fdb46SRobert Mustacchi     case DW_AT_loclists_base:
883*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_loclists_base";
884*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
885*4d9fdb46SRobert Mustacchi     case DW_AT_HP_block_index:
886*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_HP_block_index";
887*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
888*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2000. DW_AT_lo_user */
889*4d9fdb46SRobert Mustacchi     case DW_AT_MIPS_fde:
890*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_MIPS_fde";
891*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
892*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2001. DW_AT_HP_unmodifiable */
893*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2001. DW_AT_CPQ_discontig_ranges */
89407dc1947SRichard Lowe     case DW_AT_MIPS_loop_begin:
89507dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_loop_begin";
89607dc1947SRichard Lowe         return DW_DLV_OK;
897*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2002. DW_AT_CPQ_semantic_events */
898*4d9fdb46SRobert Mustacchi     case DW_AT_MIPS_tail_loop_begin:
899*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_MIPS_tail_loop_begin";
90007dc1947SRichard Lowe         return DW_DLV_OK;
901*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2003. DW_AT_CPQ_split_lifetimes_var */
90207dc1947SRichard Lowe     case DW_AT_MIPS_epilog_begin:
90307dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_epilog_begin";
90407dc1947SRichard Lowe         return DW_DLV_OK;
905*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2004. DW_AT_CPQ_split_lifetimes_rtn */
906*4d9fdb46SRobert Mustacchi     case DW_AT_MIPS_loop_unroll_factor:
907*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_MIPS_loop_unroll_factor";
90807dc1947SRichard Lowe         return DW_DLV_OK;
909*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2005. DW_AT_CPQ_prologue_length */
91007dc1947SRichard Lowe     case DW_AT_MIPS_software_pipeline_depth:
91107dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_software_pipeline_depth";
91207dc1947SRichard Lowe         return DW_DLV_OK;
91307dc1947SRichard Lowe     case DW_AT_MIPS_linkage_name:
91407dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_linkage_name";
91507dc1947SRichard Lowe         return DW_DLV_OK;
91607dc1947SRichard Lowe     case DW_AT_MIPS_stride:
91707dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_stride";
91807dc1947SRichard Lowe         return DW_DLV_OK;
91907dc1947SRichard Lowe     case DW_AT_MIPS_abstract_name:
92007dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_abstract_name";
92107dc1947SRichard Lowe         return DW_DLV_OK;
92207dc1947SRichard Lowe     case DW_AT_MIPS_clone_origin:
92307dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_clone_origin";
92407dc1947SRichard Lowe         return DW_DLV_OK;
92507dc1947SRichard Lowe     case DW_AT_MIPS_has_inlines:
92607dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_has_inlines";
92707dc1947SRichard Lowe         return DW_DLV_OK;
92807dc1947SRichard Lowe     case DW_AT_MIPS_stride_byte:
92907dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_stride_byte";
93007dc1947SRichard Lowe         return DW_DLV_OK;
93107dc1947SRichard Lowe     case DW_AT_MIPS_stride_elem:
93207dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_stride_elem";
93307dc1947SRichard Lowe         return DW_DLV_OK;
93407dc1947SRichard Lowe     case DW_AT_MIPS_ptr_dopetype:
93507dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_ptr_dopetype";
93607dc1947SRichard Lowe         return DW_DLV_OK;
93707dc1947SRichard Lowe     case DW_AT_MIPS_allocatable_dopetype:
93807dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_allocatable_dopetype";
93907dc1947SRichard Lowe         return DW_DLV_OK;
94007dc1947SRichard Lowe     case DW_AT_MIPS_assumed_shape_dopetype:
94107dc1947SRichard Lowe         *s_out = "DW_AT_MIPS_assumed_shape_dopetype";
94207dc1947SRichard Lowe         return DW_DLV_OK;
943*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2010. DW_AT_HP_actuals_stmt_list */
944*4d9fdb46SRobert Mustacchi     case DW_AT_MIPS_assumed_size:
945*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_MIPS_assumed_size";
94607dc1947SRichard Lowe         return DW_DLV_OK;
947*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2011. DW_AT_HP_proc_per_section */
94807dc1947SRichard Lowe     case DW_AT_HP_raw_data_ptr:
94907dc1947SRichard Lowe         *s_out = "DW_AT_HP_raw_data_ptr";
95007dc1947SRichard Lowe         return DW_DLV_OK;
95107dc1947SRichard Lowe     case DW_AT_HP_pass_by_reference:
95207dc1947SRichard Lowe         *s_out = "DW_AT_HP_pass_by_reference";
95307dc1947SRichard Lowe         return DW_DLV_OK;
95407dc1947SRichard Lowe     case DW_AT_HP_opt_level:
95507dc1947SRichard Lowe         *s_out = "DW_AT_HP_opt_level";
95607dc1947SRichard Lowe         return DW_DLV_OK;
95707dc1947SRichard Lowe     case DW_AT_HP_prof_version_id:
95807dc1947SRichard Lowe         *s_out = "DW_AT_HP_prof_version_id";
95907dc1947SRichard Lowe         return DW_DLV_OK;
96007dc1947SRichard Lowe     case DW_AT_HP_opt_flags:
96107dc1947SRichard Lowe         *s_out = "DW_AT_HP_opt_flags";
96207dc1947SRichard Lowe         return DW_DLV_OK;
96307dc1947SRichard Lowe     case DW_AT_HP_cold_region_low_pc:
96407dc1947SRichard Lowe         *s_out = "DW_AT_HP_cold_region_low_pc";
96507dc1947SRichard Lowe         return DW_DLV_OK;
96607dc1947SRichard Lowe     case DW_AT_HP_cold_region_high_pc:
96707dc1947SRichard Lowe         *s_out = "DW_AT_HP_cold_region_high_pc";
96807dc1947SRichard Lowe         return DW_DLV_OK;
96907dc1947SRichard Lowe     case DW_AT_HP_all_variables_modifiable:
97007dc1947SRichard Lowe         *s_out = "DW_AT_HP_all_variables_modifiable";
97107dc1947SRichard Lowe         return DW_DLV_OK;
97207dc1947SRichard Lowe     case DW_AT_HP_linkage_name:
97307dc1947SRichard Lowe         *s_out = "DW_AT_HP_linkage_name";
97407dc1947SRichard Lowe         return DW_DLV_OK;
97507dc1947SRichard Lowe     case DW_AT_HP_prof_flags:
97607dc1947SRichard Lowe         *s_out = "DW_AT_HP_prof_flags";
97707dc1947SRichard Lowe         return DW_DLV_OK;
97807dc1947SRichard Lowe     case DW_AT_INTEL_other_endian:
97907dc1947SRichard Lowe         *s_out = "DW_AT_INTEL_other_endian";
98007dc1947SRichard Lowe         return DW_DLV_OK;
98107dc1947SRichard Lowe     case DW_AT_sf_names:
98207dc1947SRichard Lowe         *s_out = "DW_AT_sf_names";
98307dc1947SRichard Lowe         return DW_DLV_OK;
98407dc1947SRichard Lowe     case DW_AT_src_info:
98507dc1947SRichard Lowe         *s_out = "DW_AT_src_info";
98607dc1947SRichard Lowe         return DW_DLV_OK;
98707dc1947SRichard Lowe     case DW_AT_mac_info:
98807dc1947SRichard Lowe         *s_out = "DW_AT_mac_info";
98907dc1947SRichard Lowe         return DW_DLV_OK;
99007dc1947SRichard Lowe     case DW_AT_src_coords:
99107dc1947SRichard Lowe         *s_out = "DW_AT_src_coords";
99207dc1947SRichard Lowe         return DW_DLV_OK;
99307dc1947SRichard Lowe     case DW_AT_body_begin:
99407dc1947SRichard Lowe         *s_out = "DW_AT_body_begin";
99507dc1947SRichard Lowe         return DW_DLV_OK;
99607dc1947SRichard Lowe     case DW_AT_body_end:
99707dc1947SRichard Lowe         *s_out = "DW_AT_body_end";
99807dc1947SRichard Lowe         return DW_DLV_OK;
99907dc1947SRichard Lowe     case DW_AT_GNU_vector:
100007dc1947SRichard Lowe         *s_out = "DW_AT_GNU_vector";
100107dc1947SRichard Lowe         return DW_DLV_OK;
1002*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_guarded_by:
1003*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_guarded_by";
1004*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1005*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_pt_guarded_by:
1006*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_pt_guarded_by";
1007*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1008*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_guarded:
1009*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_guarded";
1010*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1011*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_pt_guarded:
1012*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_pt_guarded";
1013*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1014*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_locks_excluded:
1015*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_locks_excluded";
1016*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1017*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_exclusive_locks_required:
1018*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_exclusive_locks_required";
1019*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1020*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_shared_locks_required:
1021*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_shared_locks_required";
1022*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1023*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_odr_signature:
1024*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_odr_signature";
1025*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
102607dc1947SRichard Lowe     case DW_AT_GNU_template_name:
102707dc1947SRichard Lowe         *s_out = "DW_AT_GNU_template_name";
102807dc1947SRichard Lowe         return DW_DLV_OK;
1029*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_call_site_value:
1030*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_call_site_value";
1031*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1032*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_call_site_data_value:
1033*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_call_site_data_value";
1034*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1035*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_call_site_target:
1036*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_call_site_target";
1037*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1038*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_call_site_target_clobbered:
1039*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_call_site_target_clobbered";
1040*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1041*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_tail_call:
1042*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_tail_call";
1043*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1044*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_all_tail_call_sites:
1045*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_all_tail_call_sites";
1046*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1047*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_all_call_sites:
1048*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_all_call_sites";
1049*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1050*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_all_source_call_sites:
1051*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_all_source_call_sites";
1052*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1053*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_macros:
1054*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_macros";
1055*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1056*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_dwo_name:
1057*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_dwo_name";
1058*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1059*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_dwo_id:
1060*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_dwo_id";
106107dc1947SRichard Lowe         return DW_DLV_OK;
1062*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_ranges_base:
1063*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_ranges_base";
1064*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1065*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_addr_base:
1066*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_addr_base";
1067*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1068*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_pubnames:
1069*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_pubnames";
1070*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1071*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_pubtypes:
1072*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_pubtypes";
1073*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1074*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_discriminator:
1075*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_discriminator";
1076*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1077*4d9fdb46SRobert Mustacchi     case DW_AT_SUN_template:
1078*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_SUN_template";
1079*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1080*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x2201. DW_AT_VMS_rtnbeg_pd_address */
108107dc1947SRichard Lowe     case DW_AT_SUN_alignment:
108207dc1947SRichard Lowe         *s_out = "DW_AT_SUN_alignment";
108307dc1947SRichard Lowe         return DW_DLV_OK;
108407dc1947SRichard Lowe     case DW_AT_SUN_vtable:
108507dc1947SRichard Lowe         *s_out = "DW_AT_SUN_vtable";
108607dc1947SRichard Lowe         return DW_DLV_OK;
108707dc1947SRichard Lowe     case DW_AT_SUN_count_guarantee:
108807dc1947SRichard Lowe         *s_out = "DW_AT_SUN_count_guarantee";
108907dc1947SRichard Lowe         return DW_DLV_OK;
109007dc1947SRichard Lowe     case DW_AT_SUN_command_line:
109107dc1947SRichard Lowe         *s_out = "DW_AT_SUN_command_line";
109207dc1947SRichard Lowe         return DW_DLV_OK;
109307dc1947SRichard Lowe     case DW_AT_SUN_vbase:
109407dc1947SRichard Lowe         *s_out = "DW_AT_SUN_vbase";
109507dc1947SRichard Lowe         return DW_DLV_OK;
109607dc1947SRichard Lowe     case DW_AT_SUN_compile_options:
109707dc1947SRichard Lowe         *s_out = "DW_AT_SUN_compile_options";
109807dc1947SRichard Lowe         return DW_DLV_OK;
109907dc1947SRichard Lowe     case DW_AT_SUN_language:
110007dc1947SRichard Lowe         *s_out = "DW_AT_SUN_language";
110107dc1947SRichard Lowe         return DW_DLV_OK;
110207dc1947SRichard Lowe     case DW_AT_SUN_browser_file:
110307dc1947SRichard Lowe         *s_out = "DW_AT_SUN_browser_file";
110407dc1947SRichard Lowe         return DW_DLV_OK;
110507dc1947SRichard Lowe     case DW_AT_SUN_vtable_abi:
110607dc1947SRichard Lowe         *s_out = "DW_AT_SUN_vtable_abi";
110707dc1947SRichard Lowe         return DW_DLV_OK;
110807dc1947SRichard Lowe     case DW_AT_SUN_func_offsets:
110907dc1947SRichard Lowe         *s_out = "DW_AT_SUN_func_offsets";
111007dc1947SRichard Lowe         return DW_DLV_OK;
111107dc1947SRichard Lowe     case DW_AT_SUN_cf_kind:
111207dc1947SRichard Lowe         *s_out = "DW_AT_SUN_cf_kind";
111307dc1947SRichard Lowe         return DW_DLV_OK;
111407dc1947SRichard Lowe     case DW_AT_SUN_vtable_index:
111507dc1947SRichard Lowe         *s_out = "DW_AT_SUN_vtable_index";
111607dc1947SRichard Lowe         return DW_DLV_OK;
111707dc1947SRichard Lowe     case DW_AT_SUN_omp_tpriv_addr:
111807dc1947SRichard Lowe         *s_out = "DW_AT_SUN_omp_tpriv_addr";
111907dc1947SRichard Lowe         return DW_DLV_OK;
112007dc1947SRichard Lowe     case DW_AT_SUN_omp_child_func:
112107dc1947SRichard Lowe         *s_out = "DW_AT_SUN_omp_child_func";
112207dc1947SRichard Lowe         return DW_DLV_OK;
112307dc1947SRichard Lowe     case DW_AT_SUN_func_offset:
112407dc1947SRichard Lowe         *s_out = "DW_AT_SUN_func_offset";
112507dc1947SRichard Lowe         return DW_DLV_OK;
112607dc1947SRichard Lowe     case DW_AT_SUN_memop_type_ref:
112707dc1947SRichard Lowe         *s_out = "DW_AT_SUN_memop_type_ref";
112807dc1947SRichard Lowe         return DW_DLV_OK;
112907dc1947SRichard Lowe     case DW_AT_SUN_profile_id:
113007dc1947SRichard Lowe         *s_out = "DW_AT_SUN_profile_id";
113107dc1947SRichard Lowe         return DW_DLV_OK;
113207dc1947SRichard Lowe     case DW_AT_SUN_memop_signature:
113307dc1947SRichard Lowe         *s_out = "DW_AT_SUN_memop_signature";
113407dc1947SRichard Lowe         return DW_DLV_OK;
113507dc1947SRichard Lowe     case DW_AT_SUN_obj_dir:
113607dc1947SRichard Lowe         *s_out = "DW_AT_SUN_obj_dir";
113707dc1947SRichard Lowe         return DW_DLV_OK;
113807dc1947SRichard Lowe     case DW_AT_SUN_obj_file:
113907dc1947SRichard Lowe         *s_out = "DW_AT_SUN_obj_file";
114007dc1947SRichard Lowe         return DW_DLV_OK;
114107dc1947SRichard Lowe     case DW_AT_SUN_original_name:
114207dc1947SRichard Lowe         *s_out = "DW_AT_SUN_original_name";
114307dc1947SRichard Lowe         return DW_DLV_OK;
114407dc1947SRichard Lowe     case DW_AT_SUN_hwcprof_signature:
114507dc1947SRichard Lowe         *s_out = "DW_AT_SUN_hwcprof_signature";
114607dc1947SRichard Lowe         return DW_DLV_OK;
114707dc1947SRichard Lowe     case DW_AT_SUN_amd64_parmdump:
114807dc1947SRichard Lowe         *s_out = "DW_AT_SUN_amd64_parmdump";
114907dc1947SRichard Lowe         return DW_DLV_OK;
115007dc1947SRichard Lowe     case DW_AT_SUN_part_link_name:
115107dc1947SRichard Lowe         *s_out = "DW_AT_SUN_part_link_name";
115207dc1947SRichard Lowe         return DW_DLV_OK;
115307dc1947SRichard Lowe     case DW_AT_SUN_link_name:
115407dc1947SRichard Lowe         *s_out = "DW_AT_SUN_link_name";
115507dc1947SRichard Lowe         return DW_DLV_OK;
115607dc1947SRichard Lowe     case DW_AT_SUN_pass_with_const:
115707dc1947SRichard Lowe         *s_out = "DW_AT_SUN_pass_with_const";
115807dc1947SRichard Lowe         return DW_DLV_OK;
115907dc1947SRichard Lowe     case DW_AT_SUN_return_with_const:
116007dc1947SRichard Lowe         *s_out = "DW_AT_SUN_return_with_const";
116107dc1947SRichard Lowe         return DW_DLV_OK;
116207dc1947SRichard Lowe     case DW_AT_SUN_import_by_name:
116307dc1947SRichard Lowe         *s_out = "DW_AT_SUN_import_by_name";
116407dc1947SRichard Lowe         return DW_DLV_OK;
116507dc1947SRichard Lowe     case DW_AT_SUN_f90_pointer:
116607dc1947SRichard Lowe         *s_out = "DW_AT_SUN_f90_pointer";
116707dc1947SRichard Lowe         return DW_DLV_OK;
116807dc1947SRichard Lowe     case DW_AT_SUN_pass_by_ref:
116907dc1947SRichard Lowe         *s_out = "DW_AT_SUN_pass_by_ref";
117007dc1947SRichard Lowe         return DW_DLV_OK;
117107dc1947SRichard Lowe     case DW_AT_SUN_f90_allocatable:
117207dc1947SRichard Lowe         *s_out = "DW_AT_SUN_f90_allocatable";
117307dc1947SRichard Lowe         return DW_DLV_OK;
117407dc1947SRichard Lowe     case DW_AT_SUN_f90_assumed_shape_array:
117507dc1947SRichard Lowe         *s_out = "DW_AT_SUN_f90_assumed_shape_array";
117607dc1947SRichard Lowe         return DW_DLV_OK;
117707dc1947SRichard Lowe     case DW_AT_SUN_c_vla:
117807dc1947SRichard Lowe         *s_out = "DW_AT_SUN_c_vla";
117907dc1947SRichard Lowe         return DW_DLV_OK;
118007dc1947SRichard Lowe     case DW_AT_SUN_return_value_ptr:
118107dc1947SRichard Lowe         *s_out = "DW_AT_SUN_return_value_ptr";
118207dc1947SRichard Lowe         return DW_DLV_OK;
118307dc1947SRichard Lowe     case DW_AT_SUN_dtor_start:
118407dc1947SRichard Lowe         *s_out = "DW_AT_SUN_dtor_start";
118507dc1947SRichard Lowe         return DW_DLV_OK;
118607dc1947SRichard Lowe     case DW_AT_SUN_dtor_length:
118707dc1947SRichard Lowe         *s_out = "DW_AT_SUN_dtor_length";
118807dc1947SRichard Lowe         return DW_DLV_OK;
118907dc1947SRichard Lowe     case DW_AT_SUN_dtor_state_initial:
119007dc1947SRichard Lowe         *s_out = "DW_AT_SUN_dtor_state_initial";
119107dc1947SRichard Lowe         return DW_DLV_OK;
119207dc1947SRichard Lowe     case DW_AT_SUN_dtor_state_final:
119307dc1947SRichard Lowe         *s_out = "DW_AT_SUN_dtor_state_final";
119407dc1947SRichard Lowe         return DW_DLV_OK;
119507dc1947SRichard Lowe     case DW_AT_SUN_dtor_state_deltas:
119607dc1947SRichard Lowe         *s_out = "DW_AT_SUN_dtor_state_deltas";
119707dc1947SRichard Lowe         return DW_DLV_OK;
119807dc1947SRichard Lowe     case DW_AT_SUN_import_by_lname:
119907dc1947SRichard Lowe         *s_out = "DW_AT_SUN_import_by_lname";
120007dc1947SRichard Lowe         return DW_DLV_OK;
120107dc1947SRichard Lowe     case DW_AT_SUN_f90_use_only:
120207dc1947SRichard Lowe         *s_out = "DW_AT_SUN_f90_use_only";
120307dc1947SRichard Lowe         return DW_DLV_OK;
120407dc1947SRichard Lowe     case DW_AT_SUN_namelist_spec:
120507dc1947SRichard Lowe         *s_out = "DW_AT_SUN_namelist_spec";
120607dc1947SRichard Lowe         return DW_DLV_OK;
120707dc1947SRichard Lowe     case DW_AT_SUN_is_omp_child_func:
120807dc1947SRichard Lowe         *s_out = "DW_AT_SUN_is_omp_child_func";
120907dc1947SRichard Lowe         return DW_DLV_OK;
121007dc1947SRichard Lowe     case DW_AT_SUN_fortran_main_alias:
121107dc1947SRichard Lowe         *s_out = "DW_AT_SUN_fortran_main_alias";
121207dc1947SRichard Lowe         return DW_DLV_OK;
121307dc1947SRichard Lowe     case DW_AT_SUN_fortran_based:
121407dc1947SRichard Lowe         *s_out = "DW_AT_SUN_fortran_based";
121507dc1947SRichard Lowe         return DW_DLV_OK;
121607dc1947SRichard Lowe     case DW_AT_ALTIUM_loclist:
121707dc1947SRichard Lowe         *s_out = "DW_AT_ALTIUM_loclist";
121807dc1947SRichard Lowe         return DW_DLV_OK;
1219*4d9fdb46SRobert Mustacchi     case DW_AT_use_GNAT_descriptive_type:
1220*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_use_GNAT_descriptive_type";
1221*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1222*4d9fdb46SRobert Mustacchi     case DW_AT_GNAT_descriptive_type:
1223*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNAT_descriptive_type";
1224*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1225*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_numerator:
1226*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_numerator";
1227*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1228*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_denominator:
1229*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_denominator";
1230*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1231*4d9fdb46SRobert Mustacchi     case DW_AT_GNU_bias:
1232*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_GNU_bias";
1233*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1234*4d9fdb46SRobert Mustacchi     case DW_AT_go_kind:
1235*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_go_kind";
1236*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1237*4d9fdb46SRobert Mustacchi     case DW_AT_go_key:
1238*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_go_key";
1239*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1240*4d9fdb46SRobert Mustacchi     case DW_AT_go_elem:
1241*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_go_elem";
1242*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1243*4d9fdb46SRobert Mustacchi     case DW_AT_go_embedded_field:
1244*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_go_embedded_field";
1245*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1246*4d9fdb46SRobert Mustacchi     case DW_AT_go_runtime_type:
1247*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_go_runtime_type";
1248*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
124907dc1947SRichard Lowe     case DW_AT_upc_threads_scaled:
125007dc1947SRichard Lowe         *s_out = "DW_AT_upc_threads_scaled";
125107dc1947SRichard Lowe         return DW_DLV_OK;
125207dc1947SRichard Lowe     case DW_AT_PGI_lbase:
125307dc1947SRichard Lowe         *s_out = "DW_AT_PGI_lbase";
125407dc1947SRichard Lowe         return DW_DLV_OK;
125507dc1947SRichard Lowe     case DW_AT_PGI_soffset:
125607dc1947SRichard Lowe         *s_out = "DW_AT_PGI_soffset";
125707dc1947SRichard Lowe         return DW_DLV_OK;
125807dc1947SRichard Lowe     case DW_AT_PGI_lstride:
125907dc1947SRichard Lowe         *s_out = "DW_AT_PGI_lstride";
126007dc1947SRichard Lowe         return DW_DLV_OK;
1261*4d9fdb46SRobert Mustacchi     case DW_AT_APPLE_optimized:
1262*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_APPLE_optimized";
1263*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1264*4d9fdb46SRobert Mustacchi     case DW_AT_APPLE_flags:
1265*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_APPLE_flags";
1266*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1267*4d9fdb46SRobert Mustacchi     case DW_AT_APPLE_isa:
1268*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_APPLE_isa";
126907dc1947SRichard Lowe         return DW_DLV_OK;
1270*4d9fdb46SRobert Mustacchi     case DW_AT_APPLE_block:
1271*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_APPLE_block";
1272*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1273*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x3fe4. DW_AT_APPLE_closure */
127407dc1947SRichard Lowe     case DW_AT_APPLE_major_runtime_vers:
127507dc1947SRichard Lowe         *s_out = "DW_AT_APPLE_major_runtime_vers";
127607dc1947SRichard Lowe         return DW_DLV_OK;
1277*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x3fe5. DW_AT_APPLE_major_runtime_vers */
127807dc1947SRichard Lowe     case DW_AT_APPLE_runtime_class:
127907dc1947SRichard Lowe         *s_out = "DW_AT_APPLE_runtime_class";
128007dc1947SRichard Lowe         return DW_DLV_OK;
1281*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x3fe6. DW_AT_APPLE_runtime_class */
1282*4d9fdb46SRobert Mustacchi     case DW_AT_APPLE_omit_frame_ptr:
1283*4d9fdb46SRobert Mustacchi         *s_out = "DW_AT_APPLE_omit_frame_ptr";
1284*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
128507dc1947SRichard Lowe     case DW_AT_hi_user:
128607dc1947SRichard Lowe         *s_out = "DW_AT_hi_user";
128707dc1947SRichard Lowe         return DW_DLV_OK;
128807dc1947SRichard Lowe     }
1289*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
129007dc1947SRichard Lowe }
129107dc1947SRichard Lowe /* ARGSUSED */
129207dc1947SRichard Lowe int
dwarf_get_OP_name(unsigned int val,const char ** s_out)129307dc1947SRichard Lowe dwarf_get_OP_name (unsigned int val,const char ** s_out)
129407dc1947SRichard Lowe {
129507dc1947SRichard Lowe     switch (val) {
129607dc1947SRichard Lowe     case DW_OP_addr:
129707dc1947SRichard Lowe         *s_out = "DW_OP_addr";
129807dc1947SRichard Lowe         return DW_DLV_OK;
129907dc1947SRichard Lowe     case DW_OP_deref:
130007dc1947SRichard Lowe         *s_out = "DW_OP_deref";
130107dc1947SRichard Lowe         return DW_DLV_OK;
130207dc1947SRichard Lowe     case DW_OP_const1u:
130307dc1947SRichard Lowe         *s_out = "DW_OP_const1u";
130407dc1947SRichard Lowe         return DW_DLV_OK;
130507dc1947SRichard Lowe     case DW_OP_const1s:
130607dc1947SRichard Lowe         *s_out = "DW_OP_const1s";
130707dc1947SRichard Lowe         return DW_DLV_OK;
130807dc1947SRichard Lowe     case DW_OP_const2u:
130907dc1947SRichard Lowe         *s_out = "DW_OP_const2u";
131007dc1947SRichard Lowe         return DW_DLV_OK;
131107dc1947SRichard Lowe     case DW_OP_const2s:
131207dc1947SRichard Lowe         *s_out = "DW_OP_const2s";
131307dc1947SRichard Lowe         return DW_DLV_OK;
131407dc1947SRichard Lowe     case DW_OP_const4u:
131507dc1947SRichard Lowe         *s_out = "DW_OP_const4u";
131607dc1947SRichard Lowe         return DW_DLV_OK;
131707dc1947SRichard Lowe     case DW_OP_const4s:
131807dc1947SRichard Lowe         *s_out = "DW_OP_const4s";
131907dc1947SRichard Lowe         return DW_DLV_OK;
132007dc1947SRichard Lowe     case DW_OP_const8u:
132107dc1947SRichard Lowe         *s_out = "DW_OP_const8u";
132207dc1947SRichard Lowe         return DW_DLV_OK;
132307dc1947SRichard Lowe     case DW_OP_const8s:
132407dc1947SRichard Lowe         *s_out = "DW_OP_const8s";
132507dc1947SRichard Lowe         return DW_DLV_OK;
132607dc1947SRichard Lowe     case DW_OP_constu:
132707dc1947SRichard Lowe         *s_out = "DW_OP_constu";
132807dc1947SRichard Lowe         return DW_DLV_OK;
132907dc1947SRichard Lowe     case DW_OP_consts:
133007dc1947SRichard Lowe         *s_out = "DW_OP_consts";
133107dc1947SRichard Lowe         return DW_DLV_OK;
133207dc1947SRichard Lowe     case DW_OP_dup:
133307dc1947SRichard Lowe         *s_out = "DW_OP_dup";
133407dc1947SRichard Lowe         return DW_DLV_OK;
133507dc1947SRichard Lowe     case DW_OP_drop:
133607dc1947SRichard Lowe         *s_out = "DW_OP_drop";
133707dc1947SRichard Lowe         return DW_DLV_OK;
133807dc1947SRichard Lowe     case DW_OP_over:
133907dc1947SRichard Lowe         *s_out = "DW_OP_over";
134007dc1947SRichard Lowe         return DW_DLV_OK;
134107dc1947SRichard Lowe     case DW_OP_pick:
134207dc1947SRichard Lowe         *s_out = "DW_OP_pick";
134307dc1947SRichard Lowe         return DW_DLV_OK;
134407dc1947SRichard Lowe     case DW_OP_swap:
134507dc1947SRichard Lowe         *s_out = "DW_OP_swap";
134607dc1947SRichard Lowe         return DW_DLV_OK;
134707dc1947SRichard Lowe     case DW_OP_rot:
134807dc1947SRichard Lowe         *s_out = "DW_OP_rot";
134907dc1947SRichard Lowe         return DW_DLV_OK;
135007dc1947SRichard Lowe     case DW_OP_xderef:
135107dc1947SRichard Lowe         *s_out = "DW_OP_xderef";
135207dc1947SRichard Lowe         return DW_DLV_OK;
135307dc1947SRichard Lowe     case DW_OP_abs:
135407dc1947SRichard Lowe         *s_out = "DW_OP_abs";
135507dc1947SRichard Lowe         return DW_DLV_OK;
135607dc1947SRichard Lowe     case DW_OP_and:
135707dc1947SRichard Lowe         *s_out = "DW_OP_and";
135807dc1947SRichard Lowe         return DW_DLV_OK;
135907dc1947SRichard Lowe     case DW_OP_div:
136007dc1947SRichard Lowe         *s_out = "DW_OP_div";
136107dc1947SRichard Lowe         return DW_DLV_OK;
136207dc1947SRichard Lowe     case DW_OP_minus:
136307dc1947SRichard Lowe         *s_out = "DW_OP_minus";
136407dc1947SRichard Lowe         return DW_DLV_OK;
136507dc1947SRichard Lowe     case DW_OP_mod:
136607dc1947SRichard Lowe         *s_out = "DW_OP_mod";
136707dc1947SRichard Lowe         return DW_DLV_OK;
136807dc1947SRichard Lowe     case DW_OP_mul:
136907dc1947SRichard Lowe         *s_out = "DW_OP_mul";
137007dc1947SRichard Lowe         return DW_DLV_OK;
137107dc1947SRichard Lowe     case DW_OP_neg:
137207dc1947SRichard Lowe         *s_out = "DW_OP_neg";
137307dc1947SRichard Lowe         return DW_DLV_OK;
137407dc1947SRichard Lowe     case DW_OP_not:
137507dc1947SRichard Lowe         *s_out = "DW_OP_not";
137607dc1947SRichard Lowe         return DW_DLV_OK;
137707dc1947SRichard Lowe     case DW_OP_or:
137807dc1947SRichard Lowe         *s_out = "DW_OP_or";
137907dc1947SRichard Lowe         return DW_DLV_OK;
138007dc1947SRichard Lowe     case DW_OP_plus:
138107dc1947SRichard Lowe         *s_out = "DW_OP_plus";
138207dc1947SRichard Lowe         return DW_DLV_OK;
138307dc1947SRichard Lowe     case DW_OP_plus_uconst:
138407dc1947SRichard Lowe         *s_out = "DW_OP_plus_uconst";
138507dc1947SRichard Lowe         return DW_DLV_OK;
138607dc1947SRichard Lowe     case DW_OP_shl:
138707dc1947SRichard Lowe         *s_out = "DW_OP_shl";
138807dc1947SRichard Lowe         return DW_DLV_OK;
138907dc1947SRichard Lowe     case DW_OP_shr:
139007dc1947SRichard Lowe         *s_out = "DW_OP_shr";
139107dc1947SRichard Lowe         return DW_DLV_OK;
139207dc1947SRichard Lowe     case DW_OP_shra:
139307dc1947SRichard Lowe         *s_out = "DW_OP_shra";
139407dc1947SRichard Lowe         return DW_DLV_OK;
139507dc1947SRichard Lowe     case DW_OP_xor:
139607dc1947SRichard Lowe         *s_out = "DW_OP_xor";
139707dc1947SRichard Lowe         return DW_DLV_OK;
139807dc1947SRichard Lowe     case DW_OP_bra:
139907dc1947SRichard Lowe         *s_out = "DW_OP_bra";
140007dc1947SRichard Lowe         return DW_DLV_OK;
140107dc1947SRichard Lowe     case DW_OP_eq:
140207dc1947SRichard Lowe         *s_out = "DW_OP_eq";
140307dc1947SRichard Lowe         return DW_DLV_OK;
140407dc1947SRichard Lowe     case DW_OP_ge:
140507dc1947SRichard Lowe         *s_out = "DW_OP_ge";
140607dc1947SRichard Lowe         return DW_DLV_OK;
140707dc1947SRichard Lowe     case DW_OP_gt:
140807dc1947SRichard Lowe         *s_out = "DW_OP_gt";
140907dc1947SRichard Lowe         return DW_DLV_OK;
141007dc1947SRichard Lowe     case DW_OP_le:
141107dc1947SRichard Lowe         *s_out = "DW_OP_le";
141207dc1947SRichard Lowe         return DW_DLV_OK;
141307dc1947SRichard Lowe     case DW_OP_lt:
141407dc1947SRichard Lowe         *s_out = "DW_OP_lt";
141507dc1947SRichard Lowe         return DW_DLV_OK;
141607dc1947SRichard Lowe     case DW_OP_ne:
141707dc1947SRichard Lowe         *s_out = "DW_OP_ne";
141807dc1947SRichard Lowe         return DW_DLV_OK;
141907dc1947SRichard Lowe     case DW_OP_skip:
142007dc1947SRichard Lowe         *s_out = "DW_OP_skip";
142107dc1947SRichard Lowe         return DW_DLV_OK;
142207dc1947SRichard Lowe     case DW_OP_lit0:
142307dc1947SRichard Lowe         *s_out = "DW_OP_lit0";
142407dc1947SRichard Lowe         return DW_DLV_OK;
142507dc1947SRichard Lowe     case DW_OP_lit1:
142607dc1947SRichard Lowe         *s_out = "DW_OP_lit1";
142707dc1947SRichard Lowe         return DW_DLV_OK;
142807dc1947SRichard Lowe     case DW_OP_lit2:
142907dc1947SRichard Lowe         *s_out = "DW_OP_lit2";
143007dc1947SRichard Lowe         return DW_DLV_OK;
143107dc1947SRichard Lowe     case DW_OP_lit3:
143207dc1947SRichard Lowe         *s_out = "DW_OP_lit3";
143307dc1947SRichard Lowe         return DW_DLV_OK;
143407dc1947SRichard Lowe     case DW_OP_lit4:
143507dc1947SRichard Lowe         *s_out = "DW_OP_lit4";
143607dc1947SRichard Lowe         return DW_DLV_OK;
143707dc1947SRichard Lowe     case DW_OP_lit5:
143807dc1947SRichard Lowe         *s_out = "DW_OP_lit5";
143907dc1947SRichard Lowe         return DW_DLV_OK;
144007dc1947SRichard Lowe     case DW_OP_lit6:
144107dc1947SRichard Lowe         *s_out = "DW_OP_lit6";
144207dc1947SRichard Lowe         return DW_DLV_OK;
144307dc1947SRichard Lowe     case DW_OP_lit7:
144407dc1947SRichard Lowe         *s_out = "DW_OP_lit7";
144507dc1947SRichard Lowe         return DW_DLV_OK;
144607dc1947SRichard Lowe     case DW_OP_lit8:
144707dc1947SRichard Lowe         *s_out = "DW_OP_lit8";
144807dc1947SRichard Lowe         return DW_DLV_OK;
144907dc1947SRichard Lowe     case DW_OP_lit9:
145007dc1947SRichard Lowe         *s_out = "DW_OP_lit9";
145107dc1947SRichard Lowe         return DW_DLV_OK;
145207dc1947SRichard Lowe     case DW_OP_lit10:
145307dc1947SRichard Lowe         *s_out = "DW_OP_lit10";
145407dc1947SRichard Lowe         return DW_DLV_OK;
145507dc1947SRichard Lowe     case DW_OP_lit11:
145607dc1947SRichard Lowe         *s_out = "DW_OP_lit11";
145707dc1947SRichard Lowe         return DW_DLV_OK;
145807dc1947SRichard Lowe     case DW_OP_lit12:
145907dc1947SRichard Lowe         *s_out = "DW_OP_lit12";
146007dc1947SRichard Lowe         return DW_DLV_OK;
146107dc1947SRichard Lowe     case DW_OP_lit13:
146207dc1947SRichard Lowe         *s_out = "DW_OP_lit13";
146307dc1947SRichard Lowe         return DW_DLV_OK;
146407dc1947SRichard Lowe     case DW_OP_lit14:
146507dc1947SRichard Lowe         *s_out = "DW_OP_lit14";
146607dc1947SRichard Lowe         return DW_DLV_OK;
146707dc1947SRichard Lowe     case DW_OP_lit15:
146807dc1947SRichard Lowe         *s_out = "DW_OP_lit15";
146907dc1947SRichard Lowe         return DW_DLV_OK;
147007dc1947SRichard Lowe     case DW_OP_lit16:
147107dc1947SRichard Lowe         *s_out = "DW_OP_lit16";
147207dc1947SRichard Lowe         return DW_DLV_OK;
147307dc1947SRichard Lowe     case DW_OP_lit17:
147407dc1947SRichard Lowe         *s_out = "DW_OP_lit17";
147507dc1947SRichard Lowe         return DW_DLV_OK;
147607dc1947SRichard Lowe     case DW_OP_lit18:
147707dc1947SRichard Lowe         *s_out = "DW_OP_lit18";
147807dc1947SRichard Lowe         return DW_DLV_OK;
147907dc1947SRichard Lowe     case DW_OP_lit19:
148007dc1947SRichard Lowe         *s_out = "DW_OP_lit19";
148107dc1947SRichard Lowe         return DW_DLV_OK;
148207dc1947SRichard Lowe     case DW_OP_lit20:
148307dc1947SRichard Lowe         *s_out = "DW_OP_lit20";
148407dc1947SRichard Lowe         return DW_DLV_OK;
148507dc1947SRichard Lowe     case DW_OP_lit21:
148607dc1947SRichard Lowe         *s_out = "DW_OP_lit21";
148707dc1947SRichard Lowe         return DW_DLV_OK;
148807dc1947SRichard Lowe     case DW_OP_lit22:
148907dc1947SRichard Lowe         *s_out = "DW_OP_lit22";
149007dc1947SRichard Lowe         return DW_DLV_OK;
149107dc1947SRichard Lowe     case DW_OP_lit23:
149207dc1947SRichard Lowe         *s_out = "DW_OP_lit23";
149307dc1947SRichard Lowe         return DW_DLV_OK;
149407dc1947SRichard Lowe     case DW_OP_lit24:
149507dc1947SRichard Lowe         *s_out = "DW_OP_lit24";
149607dc1947SRichard Lowe         return DW_DLV_OK;
149707dc1947SRichard Lowe     case DW_OP_lit25:
149807dc1947SRichard Lowe         *s_out = "DW_OP_lit25";
149907dc1947SRichard Lowe         return DW_DLV_OK;
150007dc1947SRichard Lowe     case DW_OP_lit26:
150107dc1947SRichard Lowe         *s_out = "DW_OP_lit26";
150207dc1947SRichard Lowe         return DW_DLV_OK;
150307dc1947SRichard Lowe     case DW_OP_lit27:
150407dc1947SRichard Lowe         *s_out = "DW_OP_lit27";
150507dc1947SRichard Lowe         return DW_DLV_OK;
150607dc1947SRichard Lowe     case DW_OP_lit28:
150707dc1947SRichard Lowe         *s_out = "DW_OP_lit28";
150807dc1947SRichard Lowe         return DW_DLV_OK;
150907dc1947SRichard Lowe     case DW_OP_lit29:
151007dc1947SRichard Lowe         *s_out = "DW_OP_lit29";
151107dc1947SRichard Lowe         return DW_DLV_OK;
151207dc1947SRichard Lowe     case DW_OP_lit30:
151307dc1947SRichard Lowe         *s_out = "DW_OP_lit30";
151407dc1947SRichard Lowe         return DW_DLV_OK;
151507dc1947SRichard Lowe     case DW_OP_lit31:
151607dc1947SRichard Lowe         *s_out = "DW_OP_lit31";
151707dc1947SRichard Lowe         return DW_DLV_OK;
151807dc1947SRichard Lowe     case DW_OP_reg0:
151907dc1947SRichard Lowe         *s_out = "DW_OP_reg0";
152007dc1947SRichard Lowe         return DW_DLV_OK;
152107dc1947SRichard Lowe     case DW_OP_reg1:
152207dc1947SRichard Lowe         *s_out = "DW_OP_reg1";
152307dc1947SRichard Lowe         return DW_DLV_OK;
152407dc1947SRichard Lowe     case DW_OP_reg2:
152507dc1947SRichard Lowe         *s_out = "DW_OP_reg2";
152607dc1947SRichard Lowe         return DW_DLV_OK;
152707dc1947SRichard Lowe     case DW_OP_reg3:
152807dc1947SRichard Lowe         *s_out = "DW_OP_reg3";
152907dc1947SRichard Lowe         return DW_DLV_OK;
153007dc1947SRichard Lowe     case DW_OP_reg4:
153107dc1947SRichard Lowe         *s_out = "DW_OP_reg4";
153207dc1947SRichard Lowe         return DW_DLV_OK;
153307dc1947SRichard Lowe     case DW_OP_reg5:
153407dc1947SRichard Lowe         *s_out = "DW_OP_reg5";
153507dc1947SRichard Lowe         return DW_DLV_OK;
153607dc1947SRichard Lowe     case DW_OP_reg6:
153707dc1947SRichard Lowe         *s_out = "DW_OP_reg6";
153807dc1947SRichard Lowe         return DW_DLV_OK;
153907dc1947SRichard Lowe     case DW_OP_reg7:
154007dc1947SRichard Lowe         *s_out = "DW_OP_reg7";
154107dc1947SRichard Lowe         return DW_DLV_OK;
154207dc1947SRichard Lowe     case DW_OP_reg8:
154307dc1947SRichard Lowe         *s_out = "DW_OP_reg8";
154407dc1947SRichard Lowe         return DW_DLV_OK;
154507dc1947SRichard Lowe     case DW_OP_reg9:
154607dc1947SRichard Lowe         *s_out = "DW_OP_reg9";
154707dc1947SRichard Lowe         return DW_DLV_OK;
154807dc1947SRichard Lowe     case DW_OP_reg10:
154907dc1947SRichard Lowe         *s_out = "DW_OP_reg10";
155007dc1947SRichard Lowe         return DW_DLV_OK;
155107dc1947SRichard Lowe     case DW_OP_reg11:
155207dc1947SRichard Lowe         *s_out = "DW_OP_reg11";
155307dc1947SRichard Lowe         return DW_DLV_OK;
155407dc1947SRichard Lowe     case DW_OP_reg12:
155507dc1947SRichard Lowe         *s_out = "DW_OP_reg12";
155607dc1947SRichard Lowe         return DW_DLV_OK;
155707dc1947SRichard Lowe     case DW_OP_reg13:
155807dc1947SRichard Lowe         *s_out = "DW_OP_reg13";
155907dc1947SRichard Lowe         return DW_DLV_OK;
156007dc1947SRichard Lowe     case DW_OP_reg14:
156107dc1947SRichard Lowe         *s_out = "DW_OP_reg14";
156207dc1947SRichard Lowe         return DW_DLV_OK;
156307dc1947SRichard Lowe     case DW_OP_reg15:
156407dc1947SRichard Lowe         *s_out = "DW_OP_reg15";
156507dc1947SRichard Lowe         return DW_DLV_OK;
156607dc1947SRichard Lowe     case DW_OP_reg16:
156707dc1947SRichard Lowe         *s_out = "DW_OP_reg16";
156807dc1947SRichard Lowe         return DW_DLV_OK;
156907dc1947SRichard Lowe     case DW_OP_reg17:
157007dc1947SRichard Lowe         *s_out = "DW_OP_reg17";
157107dc1947SRichard Lowe         return DW_DLV_OK;
157207dc1947SRichard Lowe     case DW_OP_reg18:
157307dc1947SRichard Lowe         *s_out = "DW_OP_reg18";
157407dc1947SRichard Lowe         return DW_DLV_OK;
157507dc1947SRichard Lowe     case DW_OP_reg19:
157607dc1947SRichard Lowe         *s_out = "DW_OP_reg19";
157707dc1947SRichard Lowe         return DW_DLV_OK;
157807dc1947SRichard Lowe     case DW_OP_reg20:
157907dc1947SRichard Lowe         *s_out = "DW_OP_reg20";
158007dc1947SRichard Lowe         return DW_DLV_OK;
158107dc1947SRichard Lowe     case DW_OP_reg21:
158207dc1947SRichard Lowe         *s_out = "DW_OP_reg21";
158307dc1947SRichard Lowe         return DW_DLV_OK;
158407dc1947SRichard Lowe     case DW_OP_reg22:
158507dc1947SRichard Lowe         *s_out = "DW_OP_reg22";
158607dc1947SRichard Lowe         return DW_DLV_OK;
158707dc1947SRichard Lowe     case DW_OP_reg23:
158807dc1947SRichard Lowe         *s_out = "DW_OP_reg23";
158907dc1947SRichard Lowe         return DW_DLV_OK;
159007dc1947SRichard Lowe     case DW_OP_reg24:
159107dc1947SRichard Lowe         *s_out = "DW_OP_reg24";
159207dc1947SRichard Lowe         return DW_DLV_OK;
159307dc1947SRichard Lowe     case DW_OP_reg25:
159407dc1947SRichard Lowe         *s_out = "DW_OP_reg25";
159507dc1947SRichard Lowe         return DW_DLV_OK;
159607dc1947SRichard Lowe     case DW_OP_reg26:
159707dc1947SRichard Lowe         *s_out = "DW_OP_reg26";
159807dc1947SRichard Lowe         return DW_DLV_OK;
159907dc1947SRichard Lowe     case DW_OP_reg27:
160007dc1947SRichard Lowe         *s_out = "DW_OP_reg27";
160107dc1947SRichard Lowe         return DW_DLV_OK;
160207dc1947SRichard Lowe     case DW_OP_reg28:
160307dc1947SRichard Lowe         *s_out = "DW_OP_reg28";
160407dc1947SRichard Lowe         return DW_DLV_OK;
160507dc1947SRichard Lowe     case DW_OP_reg29:
160607dc1947SRichard Lowe         *s_out = "DW_OP_reg29";
160707dc1947SRichard Lowe         return DW_DLV_OK;
160807dc1947SRichard Lowe     case DW_OP_reg30:
160907dc1947SRichard Lowe         *s_out = "DW_OP_reg30";
161007dc1947SRichard Lowe         return DW_DLV_OK;
161107dc1947SRichard Lowe     case DW_OP_reg31:
161207dc1947SRichard Lowe         *s_out = "DW_OP_reg31";
161307dc1947SRichard Lowe         return DW_DLV_OK;
161407dc1947SRichard Lowe     case DW_OP_breg0:
161507dc1947SRichard Lowe         *s_out = "DW_OP_breg0";
161607dc1947SRichard Lowe         return DW_DLV_OK;
161707dc1947SRichard Lowe     case DW_OP_breg1:
161807dc1947SRichard Lowe         *s_out = "DW_OP_breg1";
161907dc1947SRichard Lowe         return DW_DLV_OK;
162007dc1947SRichard Lowe     case DW_OP_breg2:
162107dc1947SRichard Lowe         *s_out = "DW_OP_breg2";
162207dc1947SRichard Lowe         return DW_DLV_OK;
162307dc1947SRichard Lowe     case DW_OP_breg3:
162407dc1947SRichard Lowe         *s_out = "DW_OP_breg3";
162507dc1947SRichard Lowe         return DW_DLV_OK;
162607dc1947SRichard Lowe     case DW_OP_breg4:
162707dc1947SRichard Lowe         *s_out = "DW_OP_breg4";
162807dc1947SRichard Lowe         return DW_DLV_OK;
162907dc1947SRichard Lowe     case DW_OP_breg5:
163007dc1947SRichard Lowe         *s_out = "DW_OP_breg5";
163107dc1947SRichard Lowe         return DW_DLV_OK;
163207dc1947SRichard Lowe     case DW_OP_breg6:
163307dc1947SRichard Lowe         *s_out = "DW_OP_breg6";
163407dc1947SRichard Lowe         return DW_DLV_OK;
163507dc1947SRichard Lowe     case DW_OP_breg7:
163607dc1947SRichard Lowe         *s_out = "DW_OP_breg7";
163707dc1947SRichard Lowe         return DW_DLV_OK;
163807dc1947SRichard Lowe     case DW_OP_breg8:
163907dc1947SRichard Lowe         *s_out = "DW_OP_breg8";
164007dc1947SRichard Lowe         return DW_DLV_OK;
164107dc1947SRichard Lowe     case DW_OP_breg9:
164207dc1947SRichard Lowe         *s_out = "DW_OP_breg9";
164307dc1947SRichard Lowe         return DW_DLV_OK;
164407dc1947SRichard Lowe     case DW_OP_breg10:
164507dc1947SRichard Lowe         *s_out = "DW_OP_breg10";
164607dc1947SRichard Lowe         return DW_DLV_OK;
164707dc1947SRichard Lowe     case DW_OP_breg11:
164807dc1947SRichard Lowe         *s_out = "DW_OP_breg11";
164907dc1947SRichard Lowe         return DW_DLV_OK;
165007dc1947SRichard Lowe     case DW_OP_breg12:
165107dc1947SRichard Lowe         *s_out = "DW_OP_breg12";
165207dc1947SRichard Lowe         return DW_DLV_OK;
165307dc1947SRichard Lowe     case DW_OP_breg13:
165407dc1947SRichard Lowe         *s_out = "DW_OP_breg13";
165507dc1947SRichard Lowe         return DW_DLV_OK;
165607dc1947SRichard Lowe     case DW_OP_breg14:
165707dc1947SRichard Lowe         *s_out = "DW_OP_breg14";
165807dc1947SRichard Lowe         return DW_DLV_OK;
165907dc1947SRichard Lowe     case DW_OP_breg15:
166007dc1947SRichard Lowe         *s_out = "DW_OP_breg15";
166107dc1947SRichard Lowe         return DW_DLV_OK;
166207dc1947SRichard Lowe     case DW_OP_breg16:
166307dc1947SRichard Lowe         *s_out = "DW_OP_breg16";
166407dc1947SRichard Lowe         return DW_DLV_OK;
166507dc1947SRichard Lowe     case DW_OP_breg17:
166607dc1947SRichard Lowe         *s_out = "DW_OP_breg17";
166707dc1947SRichard Lowe         return DW_DLV_OK;
166807dc1947SRichard Lowe     case DW_OP_breg18:
166907dc1947SRichard Lowe         *s_out = "DW_OP_breg18";
167007dc1947SRichard Lowe         return DW_DLV_OK;
167107dc1947SRichard Lowe     case DW_OP_breg19:
167207dc1947SRichard Lowe         *s_out = "DW_OP_breg19";
167307dc1947SRichard Lowe         return DW_DLV_OK;
167407dc1947SRichard Lowe     case DW_OP_breg20:
167507dc1947SRichard Lowe         *s_out = "DW_OP_breg20";
167607dc1947SRichard Lowe         return DW_DLV_OK;
167707dc1947SRichard Lowe     case DW_OP_breg21:
167807dc1947SRichard Lowe         *s_out = "DW_OP_breg21";
167907dc1947SRichard Lowe         return DW_DLV_OK;
168007dc1947SRichard Lowe     case DW_OP_breg22:
168107dc1947SRichard Lowe         *s_out = "DW_OP_breg22";
168207dc1947SRichard Lowe         return DW_DLV_OK;
168307dc1947SRichard Lowe     case DW_OP_breg23:
168407dc1947SRichard Lowe         *s_out = "DW_OP_breg23";
168507dc1947SRichard Lowe         return DW_DLV_OK;
168607dc1947SRichard Lowe     case DW_OP_breg24:
168707dc1947SRichard Lowe         *s_out = "DW_OP_breg24";
168807dc1947SRichard Lowe         return DW_DLV_OK;
168907dc1947SRichard Lowe     case DW_OP_breg25:
169007dc1947SRichard Lowe         *s_out = "DW_OP_breg25";
169107dc1947SRichard Lowe         return DW_DLV_OK;
169207dc1947SRichard Lowe     case DW_OP_breg26:
169307dc1947SRichard Lowe         *s_out = "DW_OP_breg26";
169407dc1947SRichard Lowe         return DW_DLV_OK;
169507dc1947SRichard Lowe     case DW_OP_breg27:
169607dc1947SRichard Lowe         *s_out = "DW_OP_breg27";
169707dc1947SRichard Lowe         return DW_DLV_OK;
169807dc1947SRichard Lowe     case DW_OP_breg28:
169907dc1947SRichard Lowe         *s_out = "DW_OP_breg28";
170007dc1947SRichard Lowe         return DW_DLV_OK;
170107dc1947SRichard Lowe     case DW_OP_breg29:
170207dc1947SRichard Lowe         *s_out = "DW_OP_breg29";
170307dc1947SRichard Lowe         return DW_DLV_OK;
170407dc1947SRichard Lowe     case DW_OP_breg30:
170507dc1947SRichard Lowe         *s_out = "DW_OP_breg30";
170607dc1947SRichard Lowe         return DW_DLV_OK;
170707dc1947SRichard Lowe     case DW_OP_breg31:
170807dc1947SRichard Lowe         *s_out = "DW_OP_breg31";
170907dc1947SRichard Lowe         return DW_DLV_OK;
171007dc1947SRichard Lowe     case DW_OP_regx:
171107dc1947SRichard Lowe         *s_out = "DW_OP_regx";
171207dc1947SRichard Lowe         return DW_DLV_OK;
171307dc1947SRichard Lowe     case DW_OP_fbreg:
171407dc1947SRichard Lowe         *s_out = "DW_OP_fbreg";
171507dc1947SRichard Lowe         return DW_DLV_OK;
171607dc1947SRichard Lowe     case DW_OP_bregx:
171707dc1947SRichard Lowe         *s_out = "DW_OP_bregx";
171807dc1947SRichard Lowe         return DW_DLV_OK;
171907dc1947SRichard Lowe     case DW_OP_piece:
172007dc1947SRichard Lowe         *s_out = "DW_OP_piece";
172107dc1947SRichard Lowe         return DW_DLV_OK;
172207dc1947SRichard Lowe     case DW_OP_deref_size:
172307dc1947SRichard Lowe         *s_out = "DW_OP_deref_size";
172407dc1947SRichard Lowe         return DW_DLV_OK;
172507dc1947SRichard Lowe     case DW_OP_xderef_size:
172607dc1947SRichard Lowe         *s_out = "DW_OP_xderef_size";
172707dc1947SRichard Lowe         return DW_DLV_OK;
172807dc1947SRichard Lowe     case DW_OP_nop:
172907dc1947SRichard Lowe         *s_out = "DW_OP_nop";
173007dc1947SRichard Lowe         return DW_DLV_OK;
173107dc1947SRichard Lowe     case DW_OP_push_object_address:
173207dc1947SRichard Lowe         *s_out = "DW_OP_push_object_address";
173307dc1947SRichard Lowe         return DW_DLV_OK;
173407dc1947SRichard Lowe     case DW_OP_call2:
173507dc1947SRichard Lowe         *s_out = "DW_OP_call2";
173607dc1947SRichard Lowe         return DW_DLV_OK;
173707dc1947SRichard Lowe     case DW_OP_call4:
173807dc1947SRichard Lowe         *s_out = "DW_OP_call4";
173907dc1947SRichard Lowe         return DW_DLV_OK;
174007dc1947SRichard Lowe     case DW_OP_call_ref:
174107dc1947SRichard Lowe         *s_out = "DW_OP_call_ref";
174207dc1947SRichard Lowe         return DW_DLV_OK;
174307dc1947SRichard Lowe     case DW_OP_form_tls_address:
174407dc1947SRichard Lowe         *s_out = "DW_OP_form_tls_address";
174507dc1947SRichard Lowe         return DW_DLV_OK;
174607dc1947SRichard Lowe     case DW_OP_call_frame_cfa:
174707dc1947SRichard Lowe         *s_out = "DW_OP_call_frame_cfa";
174807dc1947SRichard Lowe         return DW_DLV_OK;
174907dc1947SRichard Lowe     case DW_OP_bit_piece:
175007dc1947SRichard Lowe         *s_out = "DW_OP_bit_piece";
175107dc1947SRichard Lowe         return DW_DLV_OK;
175207dc1947SRichard Lowe     case DW_OP_implicit_value:
175307dc1947SRichard Lowe         *s_out = "DW_OP_implicit_value";
175407dc1947SRichard Lowe         return DW_DLV_OK;
175507dc1947SRichard Lowe     case DW_OP_stack_value:
175607dc1947SRichard Lowe         *s_out = "DW_OP_stack_value";
175707dc1947SRichard Lowe         return DW_DLV_OK;
1758*4d9fdb46SRobert Mustacchi     case DW_OP_implicit_pointer:
1759*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_implicit_pointer";
176007dc1947SRichard Lowe         return DW_DLV_OK;
1761*4d9fdb46SRobert Mustacchi     case DW_OP_addrx:
1762*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_addrx";
1763*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1764*4d9fdb46SRobert Mustacchi     case DW_OP_constx:
1765*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_constx";
1766*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1767*4d9fdb46SRobert Mustacchi     case DW_OP_entry_value:
1768*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_entry_value";
1769*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1770*4d9fdb46SRobert Mustacchi     case DW_OP_const_type:
1771*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_const_type";
1772*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1773*4d9fdb46SRobert Mustacchi     case DW_OP_regval_type:
1774*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_regval_type";
1775*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1776*4d9fdb46SRobert Mustacchi     case DW_OP_deref_type:
1777*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_deref_type";
1778*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1779*4d9fdb46SRobert Mustacchi     case DW_OP_xderef_type:
1780*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_xderef_type";
1781*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1782*4d9fdb46SRobert Mustacchi     case DW_OP_convert:
1783*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_convert";
1784*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1785*4d9fdb46SRobert Mustacchi     case DW_OP_reinterpret:
1786*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_reinterpret";
1787*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1788*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_push_tls_address:
1789*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_push_tls_address";
1790*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1791*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0xe0. DW_OP_lo_user */
1792*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0xe0. DW_OP_HP_unknown */
179307dc1947SRichard Lowe     case DW_OP_HP_is_value:
179407dc1947SRichard Lowe         *s_out = "DW_OP_HP_is_value";
179507dc1947SRichard Lowe         return DW_DLV_OK;
179607dc1947SRichard Lowe     case DW_OP_HP_fltconst4:
179707dc1947SRichard Lowe         *s_out = "DW_OP_HP_fltconst4";
179807dc1947SRichard Lowe         return DW_DLV_OK;
179907dc1947SRichard Lowe     case DW_OP_HP_fltconst8:
180007dc1947SRichard Lowe         *s_out = "DW_OP_HP_fltconst8";
180107dc1947SRichard Lowe         return DW_DLV_OK;
180207dc1947SRichard Lowe     case DW_OP_HP_mod_range:
180307dc1947SRichard Lowe         *s_out = "DW_OP_HP_mod_range";
180407dc1947SRichard Lowe         return DW_DLV_OK;
180507dc1947SRichard Lowe     case DW_OP_HP_unmod_range:
180607dc1947SRichard Lowe         *s_out = "DW_OP_HP_unmod_range";
180707dc1947SRichard Lowe         return DW_DLV_OK;
180807dc1947SRichard Lowe     case DW_OP_HP_tls:
180907dc1947SRichard Lowe         *s_out = "DW_OP_HP_tls";
181007dc1947SRichard Lowe         return DW_DLV_OK;
181107dc1947SRichard Lowe     case DW_OP_INTEL_bit_piece:
181207dc1947SRichard Lowe         *s_out = "DW_OP_INTEL_bit_piece";
181307dc1947SRichard Lowe         return DW_DLV_OK;
1814*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_uninit:
1815*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_uninit";
1816*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1817*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0xf0. DW_OP_APPLE_uninit */
1818*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_encoded_addr:
1819*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_encoded_addr";
1820*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1821*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_implicit_pointer:
1822*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_implicit_pointer";
1823*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1824*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_entry_value:
1825*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_entry_value";
1826*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1827*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_const_type:
1828*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_const_type";
1829*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1830*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_regval_type:
1831*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_regval_type";
1832*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1833*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_deref_type:
1834*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_deref_type";
1835*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1836*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_convert:
1837*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_convert";
1838*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1839*4d9fdb46SRobert Mustacchi     case DW_OP_PGI_omp_thread_num:
1840*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_PGI_omp_thread_num";
1841*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1842*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_reinterpret:
1843*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_reinterpret";
1844*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1845*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_parameter_ref:
1846*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_parameter_ref";
1847*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1848*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_addr_index:
1849*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_addr_index";
1850*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1851*4d9fdb46SRobert Mustacchi     case DW_OP_GNU_const_index:
1852*4d9fdb46SRobert Mustacchi         *s_out = "DW_OP_GNU_const_index";
185307dc1947SRichard Lowe         return DW_DLV_OK;
185407dc1947SRichard Lowe     case DW_OP_hi_user:
185507dc1947SRichard Lowe         *s_out = "DW_OP_hi_user";
185607dc1947SRichard Lowe         return DW_DLV_OK;
185707dc1947SRichard Lowe     }
1858*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
185907dc1947SRichard Lowe }
186007dc1947SRichard Lowe /* ARGSUSED */
186107dc1947SRichard Lowe int
dwarf_get_ATE_name(unsigned int val,const char ** s_out)186207dc1947SRichard Lowe dwarf_get_ATE_name (unsigned int val,const char ** s_out)
186307dc1947SRichard Lowe {
186407dc1947SRichard Lowe     switch (val) {
186507dc1947SRichard Lowe     case DW_ATE_address:
186607dc1947SRichard Lowe         *s_out = "DW_ATE_address";
186707dc1947SRichard Lowe         return DW_DLV_OK;
186807dc1947SRichard Lowe     case DW_ATE_boolean:
186907dc1947SRichard Lowe         *s_out = "DW_ATE_boolean";
187007dc1947SRichard Lowe         return DW_DLV_OK;
187107dc1947SRichard Lowe     case DW_ATE_complex_float:
187207dc1947SRichard Lowe         *s_out = "DW_ATE_complex_float";
187307dc1947SRichard Lowe         return DW_DLV_OK;
187407dc1947SRichard Lowe     case DW_ATE_float:
187507dc1947SRichard Lowe         *s_out = "DW_ATE_float";
187607dc1947SRichard Lowe         return DW_DLV_OK;
187707dc1947SRichard Lowe     case DW_ATE_signed:
187807dc1947SRichard Lowe         *s_out = "DW_ATE_signed";
187907dc1947SRichard Lowe         return DW_DLV_OK;
188007dc1947SRichard Lowe     case DW_ATE_signed_char:
188107dc1947SRichard Lowe         *s_out = "DW_ATE_signed_char";
188207dc1947SRichard Lowe         return DW_DLV_OK;
188307dc1947SRichard Lowe     case DW_ATE_unsigned:
188407dc1947SRichard Lowe         *s_out = "DW_ATE_unsigned";
188507dc1947SRichard Lowe         return DW_DLV_OK;
188607dc1947SRichard Lowe     case DW_ATE_unsigned_char:
188707dc1947SRichard Lowe         *s_out = "DW_ATE_unsigned_char";
188807dc1947SRichard Lowe         return DW_DLV_OK;
188907dc1947SRichard Lowe     case DW_ATE_imaginary_float:
189007dc1947SRichard Lowe         *s_out = "DW_ATE_imaginary_float";
189107dc1947SRichard Lowe         return DW_DLV_OK;
189207dc1947SRichard Lowe     case DW_ATE_packed_decimal:
189307dc1947SRichard Lowe         *s_out = "DW_ATE_packed_decimal";
189407dc1947SRichard Lowe         return DW_DLV_OK;
189507dc1947SRichard Lowe     case DW_ATE_numeric_string:
189607dc1947SRichard Lowe         *s_out = "DW_ATE_numeric_string";
189707dc1947SRichard Lowe         return DW_DLV_OK;
189807dc1947SRichard Lowe     case DW_ATE_edited:
189907dc1947SRichard Lowe         *s_out = "DW_ATE_edited";
190007dc1947SRichard Lowe         return DW_DLV_OK;
190107dc1947SRichard Lowe     case DW_ATE_signed_fixed:
190207dc1947SRichard Lowe         *s_out = "DW_ATE_signed_fixed";
190307dc1947SRichard Lowe         return DW_DLV_OK;
190407dc1947SRichard Lowe     case DW_ATE_unsigned_fixed:
190507dc1947SRichard Lowe         *s_out = "DW_ATE_unsigned_fixed";
190607dc1947SRichard Lowe         return DW_DLV_OK;
190707dc1947SRichard Lowe     case DW_ATE_decimal_float:
190807dc1947SRichard Lowe         *s_out = "DW_ATE_decimal_float";
190907dc1947SRichard Lowe         return DW_DLV_OK;
1910*4d9fdb46SRobert Mustacchi     case DW_ATE_UTF:
1911*4d9fdb46SRobert Mustacchi         *s_out = "DW_ATE_UTF";
1912*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1913*4d9fdb46SRobert Mustacchi     case DW_ATE_UCS:
1914*4d9fdb46SRobert Mustacchi         *s_out = "DW_ATE_UCS";
1915*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1916*4d9fdb46SRobert Mustacchi     case DW_ATE_ASCII:
1917*4d9fdb46SRobert Mustacchi         *s_out = "DW_ATE_ASCII";
1918*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1919*4d9fdb46SRobert Mustacchi     case DW_ATE_ALTIUM_fract:
1920*4d9fdb46SRobert Mustacchi         *s_out = "DW_ATE_ALTIUM_fract";
192107dc1947SRichard Lowe         return DW_DLV_OK;
1922*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x80. DW_ATE_lo_user */
1923*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x80. DW_ATE_HP_float80 */
1924*4d9fdb46SRobert Mustacchi     case DW_ATE_ALTIUM_accum:
1925*4d9fdb46SRobert Mustacchi         *s_out = "DW_ATE_ALTIUM_accum";
192607dc1947SRichard Lowe         return DW_DLV_OK;
1927*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x81. DW_ATE_HP_complex_float80 */
192807dc1947SRichard Lowe     case DW_ATE_HP_float128:
192907dc1947SRichard Lowe         *s_out = "DW_ATE_HP_float128";
193007dc1947SRichard Lowe         return DW_DLV_OK;
193107dc1947SRichard Lowe     case DW_ATE_HP_complex_float128:
193207dc1947SRichard Lowe         *s_out = "DW_ATE_HP_complex_float128";
193307dc1947SRichard Lowe         return DW_DLV_OK;
193407dc1947SRichard Lowe     case DW_ATE_HP_floathpintel:
193507dc1947SRichard Lowe         *s_out = "DW_ATE_HP_floathpintel";
193607dc1947SRichard Lowe         return DW_DLV_OK;
193707dc1947SRichard Lowe     case DW_ATE_HP_imaginary_float80:
193807dc1947SRichard Lowe         *s_out = "DW_ATE_HP_imaginary_float80";
193907dc1947SRichard Lowe         return DW_DLV_OK;
194007dc1947SRichard Lowe     case DW_ATE_HP_imaginary_float128:
194107dc1947SRichard Lowe         *s_out = "DW_ATE_HP_imaginary_float128";
194207dc1947SRichard Lowe         return DW_DLV_OK;
194307dc1947SRichard Lowe     case DW_ATE_SUN_interval_float:
194407dc1947SRichard Lowe         *s_out = "DW_ATE_SUN_interval_float";
194507dc1947SRichard Lowe         return DW_DLV_OK;
194607dc1947SRichard Lowe     case DW_ATE_SUN_imaginary_float:
194707dc1947SRichard Lowe         *s_out = "DW_ATE_SUN_imaginary_float";
194807dc1947SRichard Lowe         return DW_DLV_OK;
194907dc1947SRichard Lowe     case DW_ATE_hi_user:
195007dc1947SRichard Lowe         *s_out = "DW_ATE_hi_user";
195107dc1947SRichard Lowe         return DW_DLV_OK;
195207dc1947SRichard Lowe     }
1953*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
1954*4d9fdb46SRobert Mustacchi }
1955*4d9fdb46SRobert Mustacchi /* ARGSUSED */
1956*4d9fdb46SRobert Mustacchi int
dwarf_get_DEFAULTED_name(unsigned int val,const char ** s_out)1957*4d9fdb46SRobert Mustacchi dwarf_get_DEFAULTED_name (unsigned int val,const char ** s_out)
1958*4d9fdb46SRobert Mustacchi {
1959*4d9fdb46SRobert Mustacchi     switch (val) {
1960*4d9fdb46SRobert Mustacchi     case DW_DEFAULTED_no:
1961*4d9fdb46SRobert Mustacchi         *s_out = "DW_DEFAULTED_no";
1962*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1963*4d9fdb46SRobert Mustacchi     case DW_DEFAULTED_in_class:
1964*4d9fdb46SRobert Mustacchi         *s_out = "DW_DEFAULTED_in_class";
1965*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1966*4d9fdb46SRobert Mustacchi     case DW_DEFAULTED_out_of_class:
1967*4d9fdb46SRobert Mustacchi         *s_out = "DW_DEFAULTED_out_of_class";
1968*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1969*4d9fdb46SRobert Mustacchi     }
1970*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
1971*4d9fdb46SRobert Mustacchi }
1972*4d9fdb46SRobert Mustacchi /* ARGSUSED */
1973*4d9fdb46SRobert Mustacchi int
dwarf_get_IDX_name(unsigned int val,const char ** s_out)1974*4d9fdb46SRobert Mustacchi dwarf_get_IDX_name (unsigned int val,const char ** s_out)
1975*4d9fdb46SRobert Mustacchi {
1976*4d9fdb46SRobert Mustacchi     switch (val) {
1977*4d9fdb46SRobert Mustacchi     case DW_IDX_compile_unit:
1978*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_compile_unit";
1979*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1980*4d9fdb46SRobert Mustacchi     case DW_IDX_type_unit:
1981*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_type_unit";
1982*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1983*4d9fdb46SRobert Mustacchi     case DW_IDX_die_offset:
1984*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_die_offset";
1985*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1986*4d9fdb46SRobert Mustacchi     case DW_IDX_parent:
1987*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_parent";
1988*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1989*4d9fdb46SRobert Mustacchi     case DW_IDX_type_hash:
1990*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_type_hash";
1991*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1992*4d9fdb46SRobert Mustacchi     case DW_IDX_hi_user:
1993*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_hi_user";
1994*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1995*4d9fdb46SRobert Mustacchi     case DW_IDX_lo_user:
1996*4d9fdb46SRobert Mustacchi         *s_out = "DW_IDX_lo_user";
1997*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
1998*4d9fdb46SRobert Mustacchi     }
1999*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2000*4d9fdb46SRobert Mustacchi }
2001*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2002*4d9fdb46SRobert Mustacchi int
dwarf_get_LLEX_name(unsigned int val,const char ** s_out)2003*4d9fdb46SRobert Mustacchi dwarf_get_LLEX_name (unsigned int val,const char ** s_out)
2004*4d9fdb46SRobert Mustacchi {
2005*4d9fdb46SRobert Mustacchi     switch (val) {
2006*4d9fdb46SRobert Mustacchi     case DW_LLEX_end_of_list_entry:
2007*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLEX_end_of_list_entry";
2008*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2009*4d9fdb46SRobert Mustacchi     case DW_LLEX_base_address_selection_entry:
2010*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLEX_base_address_selection_entry";
2011*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2012*4d9fdb46SRobert Mustacchi     case DW_LLEX_start_end_entry:
2013*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLEX_start_end_entry";
2014*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2015*4d9fdb46SRobert Mustacchi     case DW_LLEX_start_length_entry:
2016*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLEX_start_length_entry";
2017*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2018*4d9fdb46SRobert Mustacchi     case DW_LLEX_offset_pair_entry:
2019*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLEX_offset_pair_entry";
2020*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2021*4d9fdb46SRobert Mustacchi     }
2022*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2023*4d9fdb46SRobert Mustacchi }
2024*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2025*4d9fdb46SRobert Mustacchi int
dwarf_get_LLE_name(unsigned int val,const char ** s_out)2026*4d9fdb46SRobert Mustacchi dwarf_get_LLE_name (unsigned int val,const char ** s_out)
2027*4d9fdb46SRobert Mustacchi {
2028*4d9fdb46SRobert Mustacchi     switch (val) {
2029*4d9fdb46SRobert Mustacchi     case DW_LLE_end_of_list:
2030*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_end_of_list";
2031*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2032*4d9fdb46SRobert Mustacchi     case DW_LLE_base_addressx:
2033*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_base_addressx";
2034*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2035*4d9fdb46SRobert Mustacchi     case DW_LLE_startx_endx:
2036*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_startx_endx";
2037*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2038*4d9fdb46SRobert Mustacchi     case DW_LLE_startx_length:
2039*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_startx_length";
2040*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2041*4d9fdb46SRobert Mustacchi     case DW_LLE_offset_pair:
2042*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_offset_pair";
2043*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2044*4d9fdb46SRobert Mustacchi     case DW_LLE_default_location:
2045*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_default_location";
2046*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2047*4d9fdb46SRobert Mustacchi     case DW_LLE_base_address:
2048*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_base_address";
2049*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2050*4d9fdb46SRobert Mustacchi     case DW_LLE_start_end:
2051*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_start_end";
2052*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2053*4d9fdb46SRobert Mustacchi     case DW_LLE_start_length:
2054*4d9fdb46SRobert Mustacchi         *s_out = "DW_LLE_start_length";
2055*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2056*4d9fdb46SRobert Mustacchi     }
2057*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2058*4d9fdb46SRobert Mustacchi }
2059*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2060*4d9fdb46SRobert Mustacchi int
dwarf_get_RLE_name(unsigned int val,const char ** s_out)2061*4d9fdb46SRobert Mustacchi dwarf_get_RLE_name (unsigned int val,const char ** s_out)
2062*4d9fdb46SRobert Mustacchi {
2063*4d9fdb46SRobert Mustacchi     switch (val) {
2064*4d9fdb46SRobert Mustacchi     case DW_RLE_end_of_list:
2065*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_end_of_list";
2066*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2067*4d9fdb46SRobert Mustacchi     case DW_RLE_base_addressx:
2068*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_base_addressx";
2069*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2070*4d9fdb46SRobert Mustacchi     case DW_RLE_startx_endx:
2071*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_startx_endx";
2072*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2073*4d9fdb46SRobert Mustacchi     case DW_RLE_startx_length:
2074*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_startx_length";
2075*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2076*4d9fdb46SRobert Mustacchi     case DW_RLE_offset_pair:
2077*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_offset_pair";
2078*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2079*4d9fdb46SRobert Mustacchi     case DW_RLE_base_address:
2080*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_base_address";
2081*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2082*4d9fdb46SRobert Mustacchi     case DW_RLE_start_end:
2083*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_start_end";
2084*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2085*4d9fdb46SRobert Mustacchi     case DW_RLE_start_length:
2086*4d9fdb46SRobert Mustacchi         *s_out = "DW_RLE_start_length";
2087*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2088*4d9fdb46SRobert Mustacchi     }
2089*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2090*4d9fdb46SRobert Mustacchi }
2091*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2092*4d9fdb46SRobert Mustacchi int
dwarf_get_UT_name(unsigned int val,const char ** s_out)2093*4d9fdb46SRobert Mustacchi dwarf_get_UT_name (unsigned int val,const char ** s_out)
2094*4d9fdb46SRobert Mustacchi {
2095*4d9fdb46SRobert Mustacchi     switch (val) {
2096*4d9fdb46SRobert Mustacchi     case DW_UT_compile:
2097*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_compile";
2098*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2099*4d9fdb46SRobert Mustacchi     case DW_UT_type:
2100*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_type";
2101*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2102*4d9fdb46SRobert Mustacchi     case DW_UT_partial:
2103*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_partial";
2104*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2105*4d9fdb46SRobert Mustacchi     case DW_UT_skeleton:
2106*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_skeleton";
2107*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2108*4d9fdb46SRobert Mustacchi     case DW_UT_split_compile:
2109*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_split_compile";
2110*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2111*4d9fdb46SRobert Mustacchi     case DW_UT_split_type:
2112*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_split_type";
2113*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2114*4d9fdb46SRobert Mustacchi     case DW_UT_lo_user:
2115*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_lo_user";
2116*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2117*4d9fdb46SRobert Mustacchi     case DW_UT_hi_user:
2118*4d9fdb46SRobert Mustacchi         *s_out = "DW_UT_hi_user";
2119*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2120*4d9fdb46SRobert Mustacchi     }
2121*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2122*4d9fdb46SRobert Mustacchi }
2123*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2124*4d9fdb46SRobert Mustacchi int
dwarf_get_SECT_name(unsigned int val,const char ** s_out)2125*4d9fdb46SRobert Mustacchi dwarf_get_SECT_name (unsigned int val,const char ** s_out)
2126*4d9fdb46SRobert Mustacchi {
2127*4d9fdb46SRobert Mustacchi     switch (val) {
2128*4d9fdb46SRobert Mustacchi     case DW_SECT_INFO:
2129*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_INFO";
2130*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2131*4d9fdb46SRobert Mustacchi     case DW_SECT_TYPES:
2132*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_TYPES";
2133*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2134*4d9fdb46SRobert Mustacchi     case DW_SECT_ABBREV:
2135*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_ABBREV";
2136*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2137*4d9fdb46SRobert Mustacchi     case DW_SECT_LINE:
2138*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_LINE";
2139*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2140*4d9fdb46SRobert Mustacchi     case DW_SECT_LOCLISTS:
2141*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_LOCLISTS";
2142*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2143*4d9fdb46SRobert Mustacchi     case DW_SECT_STR_OFFSETS:
2144*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_STR_OFFSETS";
2145*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2146*4d9fdb46SRobert Mustacchi     case DW_SECT_MACRO:
2147*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_MACRO";
2148*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2149*4d9fdb46SRobert Mustacchi     case DW_SECT_RNGLISTS:
2150*4d9fdb46SRobert Mustacchi         *s_out = "DW_SECT_RNGLISTS";
2151*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2152*4d9fdb46SRobert Mustacchi     }
2153*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
215407dc1947SRichard Lowe }
215507dc1947SRichard Lowe /* ARGSUSED */
215607dc1947SRichard Lowe int
dwarf_get_DS_name(unsigned int val,const char ** s_out)215707dc1947SRichard Lowe dwarf_get_DS_name (unsigned int val,const char ** s_out)
215807dc1947SRichard Lowe {
215907dc1947SRichard Lowe     switch (val) {
216007dc1947SRichard Lowe     case DW_DS_unsigned:
216107dc1947SRichard Lowe         *s_out = "DW_DS_unsigned";
216207dc1947SRichard Lowe         return DW_DLV_OK;
216307dc1947SRichard Lowe     case DW_DS_leading_overpunch:
216407dc1947SRichard Lowe         *s_out = "DW_DS_leading_overpunch";
216507dc1947SRichard Lowe         return DW_DLV_OK;
216607dc1947SRichard Lowe     case DW_DS_trailing_overpunch:
216707dc1947SRichard Lowe         *s_out = "DW_DS_trailing_overpunch";
216807dc1947SRichard Lowe         return DW_DLV_OK;
216907dc1947SRichard Lowe     case DW_DS_leading_separate:
217007dc1947SRichard Lowe         *s_out = "DW_DS_leading_separate";
217107dc1947SRichard Lowe         return DW_DLV_OK;
217207dc1947SRichard Lowe     case DW_DS_trailing_separate:
217307dc1947SRichard Lowe         *s_out = "DW_DS_trailing_separate";
217407dc1947SRichard Lowe         return DW_DLV_OK;
217507dc1947SRichard Lowe     }
2176*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
217707dc1947SRichard Lowe }
217807dc1947SRichard Lowe /* ARGSUSED */
217907dc1947SRichard Lowe int
dwarf_get_END_name(unsigned int val,const char ** s_out)218007dc1947SRichard Lowe dwarf_get_END_name (unsigned int val,const char ** s_out)
218107dc1947SRichard Lowe {
218207dc1947SRichard Lowe     switch (val) {
218307dc1947SRichard Lowe     case DW_END_default:
218407dc1947SRichard Lowe         *s_out = "DW_END_default";
218507dc1947SRichard Lowe         return DW_DLV_OK;
218607dc1947SRichard Lowe     case DW_END_big:
218707dc1947SRichard Lowe         *s_out = "DW_END_big";
218807dc1947SRichard Lowe         return DW_DLV_OK;
218907dc1947SRichard Lowe     case DW_END_little:
219007dc1947SRichard Lowe         *s_out = "DW_END_little";
219107dc1947SRichard Lowe         return DW_DLV_OK;
219207dc1947SRichard Lowe     case DW_END_lo_user:
219307dc1947SRichard Lowe         *s_out = "DW_END_lo_user";
219407dc1947SRichard Lowe         return DW_DLV_OK;
219507dc1947SRichard Lowe     case DW_END_hi_user:
219607dc1947SRichard Lowe         *s_out = "DW_END_hi_user";
219707dc1947SRichard Lowe         return DW_DLV_OK;
219807dc1947SRichard Lowe     }
2199*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
220007dc1947SRichard Lowe }
220107dc1947SRichard Lowe /* ARGSUSED */
220207dc1947SRichard Lowe int
dwarf_get_ATCF_name(unsigned int val,const char ** s_out)220307dc1947SRichard Lowe dwarf_get_ATCF_name (unsigned int val,const char ** s_out)
220407dc1947SRichard Lowe {
220507dc1947SRichard Lowe     switch (val) {
220607dc1947SRichard Lowe     case DW_ATCF_lo_user:
220707dc1947SRichard Lowe         *s_out = "DW_ATCF_lo_user";
220807dc1947SRichard Lowe         return DW_DLV_OK;
220907dc1947SRichard Lowe     case DW_ATCF_SUN_mop_bitfield:
221007dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_mop_bitfield";
221107dc1947SRichard Lowe         return DW_DLV_OK;
221207dc1947SRichard Lowe     case DW_ATCF_SUN_mop_spill:
221307dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_mop_spill";
221407dc1947SRichard Lowe         return DW_DLV_OK;
221507dc1947SRichard Lowe     case DW_ATCF_SUN_mop_scopy:
221607dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_mop_scopy";
221707dc1947SRichard Lowe         return DW_DLV_OK;
221807dc1947SRichard Lowe     case DW_ATCF_SUN_func_start:
221907dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_func_start";
222007dc1947SRichard Lowe         return DW_DLV_OK;
222107dc1947SRichard Lowe     case DW_ATCF_SUN_end_ctors:
222207dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_end_ctors";
222307dc1947SRichard Lowe         return DW_DLV_OK;
222407dc1947SRichard Lowe     case DW_ATCF_SUN_branch_target:
222507dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_branch_target";
222607dc1947SRichard Lowe         return DW_DLV_OK;
222707dc1947SRichard Lowe     case DW_ATCF_SUN_mop_stack_probe:
222807dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_mop_stack_probe";
222907dc1947SRichard Lowe         return DW_DLV_OK;
223007dc1947SRichard Lowe     case DW_ATCF_SUN_func_epilog:
223107dc1947SRichard Lowe         *s_out = "DW_ATCF_SUN_func_epilog";
223207dc1947SRichard Lowe         return DW_DLV_OK;
223307dc1947SRichard Lowe     case DW_ATCF_hi_user:
223407dc1947SRichard Lowe         *s_out = "DW_ATCF_hi_user";
223507dc1947SRichard Lowe         return DW_DLV_OK;
223607dc1947SRichard Lowe     }
2237*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
223807dc1947SRichard Lowe }
223907dc1947SRichard Lowe /* ARGSUSED */
224007dc1947SRichard Lowe int
dwarf_get_ACCESS_name(unsigned int val,const char ** s_out)224107dc1947SRichard Lowe dwarf_get_ACCESS_name (unsigned int val,const char ** s_out)
224207dc1947SRichard Lowe {
224307dc1947SRichard Lowe     switch (val) {
224407dc1947SRichard Lowe     case DW_ACCESS_public:
224507dc1947SRichard Lowe         *s_out = "DW_ACCESS_public";
224607dc1947SRichard Lowe         return DW_DLV_OK;
224707dc1947SRichard Lowe     case DW_ACCESS_protected:
224807dc1947SRichard Lowe         *s_out = "DW_ACCESS_protected";
224907dc1947SRichard Lowe         return DW_DLV_OK;
225007dc1947SRichard Lowe     case DW_ACCESS_private:
225107dc1947SRichard Lowe         *s_out = "DW_ACCESS_private";
225207dc1947SRichard Lowe         return DW_DLV_OK;
225307dc1947SRichard Lowe     }
2254*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
225507dc1947SRichard Lowe }
225607dc1947SRichard Lowe /* ARGSUSED */
225707dc1947SRichard Lowe int
dwarf_get_VIS_name(unsigned int val,const char ** s_out)225807dc1947SRichard Lowe dwarf_get_VIS_name (unsigned int val,const char ** s_out)
225907dc1947SRichard Lowe {
226007dc1947SRichard Lowe     switch (val) {
226107dc1947SRichard Lowe     case DW_VIS_local:
226207dc1947SRichard Lowe         *s_out = "DW_VIS_local";
226307dc1947SRichard Lowe         return DW_DLV_OK;
226407dc1947SRichard Lowe     case DW_VIS_exported:
226507dc1947SRichard Lowe         *s_out = "DW_VIS_exported";
226607dc1947SRichard Lowe         return DW_DLV_OK;
226707dc1947SRichard Lowe     case DW_VIS_qualified:
226807dc1947SRichard Lowe         *s_out = "DW_VIS_qualified";
226907dc1947SRichard Lowe         return DW_DLV_OK;
227007dc1947SRichard Lowe     }
2271*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
227207dc1947SRichard Lowe }
227307dc1947SRichard Lowe /* ARGSUSED */
227407dc1947SRichard Lowe int
dwarf_get_VIRTUALITY_name(unsigned int val,const char ** s_out)227507dc1947SRichard Lowe dwarf_get_VIRTUALITY_name (unsigned int val,const char ** s_out)
227607dc1947SRichard Lowe {
227707dc1947SRichard Lowe     switch (val) {
227807dc1947SRichard Lowe     case DW_VIRTUALITY_none:
227907dc1947SRichard Lowe         *s_out = "DW_VIRTUALITY_none";
228007dc1947SRichard Lowe         return DW_DLV_OK;
228107dc1947SRichard Lowe     case DW_VIRTUALITY_virtual:
228207dc1947SRichard Lowe         *s_out = "DW_VIRTUALITY_virtual";
228307dc1947SRichard Lowe         return DW_DLV_OK;
228407dc1947SRichard Lowe     case DW_VIRTUALITY_pure_virtual:
228507dc1947SRichard Lowe         *s_out = "DW_VIRTUALITY_pure_virtual";
228607dc1947SRichard Lowe         return DW_DLV_OK;
228707dc1947SRichard Lowe     }
2288*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
228907dc1947SRichard Lowe }
229007dc1947SRichard Lowe /* ARGSUSED */
229107dc1947SRichard Lowe int
dwarf_get_LANG_name(unsigned int val,const char ** s_out)229207dc1947SRichard Lowe dwarf_get_LANG_name (unsigned int val,const char ** s_out)
229307dc1947SRichard Lowe {
229407dc1947SRichard Lowe     switch (val) {
229507dc1947SRichard Lowe     case DW_LANG_C89:
229607dc1947SRichard Lowe         *s_out = "DW_LANG_C89";
229707dc1947SRichard Lowe         return DW_DLV_OK;
229807dc1947SRichard Lowe     case DW_LANG_C:
229907dc1947SRichard Lowe         *s_out = "DW_LANG_C";
230007dc1947SRichard Lowe         return DW_DLV_OK;
230107dc1947SRichard Lowe     case DW_LANG_Ada83:
230207dc1947SRichard Lowe         *s_out = "DW_LANG_Ada83";
230307dc1947SRichard Lowe         return DW_DLV_OK;
230407dc1947SRichard Lowe     case DW_LANG_C_plus_plus:
230507dc1947SRichard Lowe         *s_out = "DW_LANG_C_plus_plus";
230607dc1947SRichard Lowe         return DW_DLV_OK;
230707dc1947SRichard Lowe     case DW_LANG_Cobol74:
230807dc1947SRichard Lowe         *s_out = "DW_LANG_Cobol74";
230907dc1947SRichard Lowe         return DW_DLV_OK;
231007dc1947SRichard Lowe     case DW_LANG_Cobol85:
231107dc1947SRichard Lowe         *s_out = "DW_LANG_Cobol85";
231207dc1947SRichard Lowe         return DW_DLV_OK;
231307dc1947SRichard Lowe     case DW_LANG_Fortran77:
231407dc1947SRichard Lowe         *s_out = "DW_LANG_Fortran77";
231507dc1947SRichard Lowe         return DW_DLV_OK;
231607dc1947SRichard Lowe     case DW_LANG_Fortran90:
231707dc1947SRichard Lowe         *s_out = "DW_LANG_Fortran90";
231807dc1947SRichard Lowe         return DW_DLV_OK;
231907dc1947SRichard Lowe     case DW_LANG_Pascal83:
232007dc1947SRichard Lowe         *s_out = "DW_LANG_Pascal83";
232107dc1947SRichard Lowe         return DW_DLV_OK;
232207dc1947SRichard Lowe     case DW_LANG_Modula2:
232307dc1947SRichard Lowe         *s_out = "DW_LANG_Modula2";
232407dc1947SRichard Lowe         return DW_DLV_OK;
232507dc1947SRichard Lowe     case DW_LANG_Java:
232607dc1947SRichard Lowe         *s_out = "DW_LANG_Java";
232707dc1947SRichard Lowe         return DW_DLV_OK;
232807dc1947SRichard Lowe     case DW_LANG_C99:
232907dc1947SRichard Lowe         *s_out = "DW_LANG_C99";
233007dc1947SRichard Lowe         return DW_DLV_OK;
233107dc1947SRichard Lowe     case DW_LANG_Ada95:
233207dc1947SRichard Lowe         *s_out = "DW_LANG_Ada95";
233307dc1947SRichard Lowe         return DW_DLV_OK;
233407dc1947SRichard Lowe     case DW_LANG_Fortran95:
233507dc1947SRichard Lowe         *s_out = "DW_LANG_Fortran95";
233607dc1947SRichard Lowe         return DW_DLV_OK;
233707dc1947SRichard Lowe     case DW_LANG_PLI:
233807dc1947SRichard Lowe         *s_out = "DW_LANG_PLI";
233907dc1947SRichard Lowe         return DW_DLV_OK;
234007dc1947SRichard Lowe     case DW_LANG_ObjC:
234107dc1947SRichard Lowe         *s_out = "DW_LANG_ObjC";
234207dc1947SRichard Lowe         return DW_DLV_OK;
234307dc1947SRichard Lowe     case DW_LANG_ObjC_plus_plus:
234407dc1947SRichard Lowe         *s_out = "DW_LANG_ObjC_plus_plus";
234507dc1947SRichard Lowe         return DW_DLV_OK;
234607dc1947SRichard Lowe     case DW_LANG_UPC:
234707dc1947SRichard Lowe         *s_out = "DW_LANG_UPC";
234807dc1947SRichard Lowe         return DW_DLV_OK;
234907dc1947SRichard Lowe     case DW_LANG_D:
235007dc1947SRichard Lowe         *s_out = "DW_LANG_D";
235107dc1947SRichard Lowe         return DW_DLV_OK;
235207dc1947SRichard Lowe     case DW_LANG_Python:
235307dc1947SRichard Lowe         *s_out = "DW_LANG_Python";
235407dc1947SRichard Lowe         return DW_DLV_OK;
235507dc1947SRichard Lowe     case DW_LANG_OpenCL:
235607dc1947SRichard Lowe         *s_out = "DW_LANG_OpenCL";
235707dc1947SRichard Lowe         return DW_DLV_OK;
235807dc1947SRichard Lowe     case DW_LANG_Go:
235907dc1947SRichard Lowe         *s_out = "DW_LANG_Go";
236007dc1947SRichard Lowe         return DW_DLV_OK;
2361*4d9fdb46SRobert Mustacchi     case DW_LANG_Modula3:
2362*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Modula3";
2363*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2364*4d9fdb46SRobert Mustacchi     case DW_LANG_Haskel:
2365*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Haskel";
2366*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2367*4d9fdb46SRobert Mustacchi     case DW_LANG_C_plus_plus_03:
2368*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_C_plus_plus_03";
2369*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2370*4d9fdb46SRobert Mustacchi     case DW_LANG_C_plus_plus_11:
2371*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_C_plus_plus_11";
2372*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2373*4d9fdb46SRobert Mustacchi     case DW_LANG_OCaml:
2374*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_OCaml";
2375*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2376*4d9fdb46SRobert Mustacchi     case DW_LANG_Rust:
2377*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Rust";
2378*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2379*4d9fdb46SRobert Mustacchi     case DW_LANG_C11:
2380*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_C11";
2381*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2382*4d9fdb46SRobert Mustacchi     case DW_LANG_Swift:
2383*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Swift";
2384*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2385*4d9fdb46SRobert Mustacchi     case DW_LANG_Julia:
2386*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Julia";
2387*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2388*4d9fdb46SRobert Mustacchi     case DW_LANG_Dylan:
2389*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Dylan";
2390*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2391*4d9fdb46SRobert Mustacchi     case DW_LANG_C_plus_plus_14:
2392*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_C_plus_plus_14";
2393*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2394*4d9fdb46SRobert Mustacchi     case DW_LANG_Fortran03:
2395*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Fortran03";
2396*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2397*4d9fdb46SRobert Mustacchi     case DW_LANG_Fortran08:
2398*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_Fortran08";
2399*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2400*4d9fdb46SRobert Mustacchi     case DW_LANG_RenderScript:
2401*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_RenderScript";
2402*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2403*4d9fdb46SRobert Mustacchi     case DW_LANG_BLISS:
2404*4d9fdb46SRobert Mustacchi         *s_out = "DW_LANG_BLISS";
2405*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
240607dc1947SRichard Lowe     case DW_LANG_lo_user:
240707dc1947SRichard Lowe         *s_out = "DW_LANG_lo_user";
240807dc1947SRichard Lowe         return DW_DLV_OK;
240907dc1947SRichard Lowe     case DW_LANG_Mips_Assembler:
241007dc1947SRichard Lowe         *s_out = "DW_LANG_Mips_Assembler";
241107dc1947SRichard Lowe         return DW_DLV_OK;
241207dc1947SRichard Lowe     case DW_LANG_Upc:
241307dc1947SRichard Lowe         *s_out = "DW_LANG_Upc";
241407dc1947SRichard Lowe         return DW_DLV_OK;
241507dc1947SRichard Lowe     case DW_LANG_SUN_Assembler:
241607dc1947SRichard Lowe         *s_out = "DW_LANG_SUN_Assembler";
241707dc1947SRichard Lowe         return DW_DLV_OK;
241807dc1947SRichard Lowe     case DW_LANG_ALTIUM_Assembler:
241907dc1947SRichard Lowe         *s_out = "DW_LANG_ALTIUM_Assembler";
242007dc1947SRichard Lowe         return DW_DLV_OK;
242107dc1947SRichard Lowe     case DW_LANG_hi_user:
242207dc1947SRichard Lowe         *s_out = "DW_LANG_hi_user";
242307dc1947SRichard Lowe         return DW_DLV_OK;
242407dc1947SRichard Lowe     }
2425*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
242607dc1947SRichard Lowe }
242707dc1947SRichard Lowe /* ARGSUSED */
242807dc1947SRichard Lowe int
dwarf_get_ID_name(unsigned int val,const char ** s_out)242907dc1947SRichard Lowe dwarf_get_ID_name (unsigned int val,const char ** s_out)
243007dc1947SRichard Lowe {
243107dc1947SRichard Lowe     switch (val) {
243207dc1947SRichard Lowe     case DW_ID_case_sensitive:
243307dc1947SRichard Lowe         *s_out = "DW_ID_case_sensitive";
243407dc1947SRichard Lowe         return DW_DLV_OK;
243507dc1947SRichard Lowe     case DW_ID_up_case:
243607dc1947SRichard Lowe         *s_out = "DW_ID_up_case";
243707dc1947SRichard Lowe         return DW_DLV_OK;
243807dc1947SRichard Lowe     case DW_ID_down_case:
243907dc1947SRichard Lowe         *s_out = "DW_ID_down_case";
244007dc1947SRichard Lowe         return DW_DLV_OK;
244107dc1947SRichard Lowe     case DW_ID_case_insensitive:
244207dc1947SRichard Lowe         *s_out = "DW_ID_case_insensitive";
244307dc1947SRichard Lowe         return DW_DLV_OK;
244407dc1947SRichard Lowe     }
2445*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
244607dc1947SRichard Lowe }
244707dc1947SRichard Lowe /* ARGSUSED */
244807dc1947SRichard Lowe int
dwarf_get_CC_name(unsigned int val,const char ** s_out)244907dc1947SRichard Lowe dwarf_get_CC_name (unsigned int val,const char ** s_out)
245007dc1947SRichard Lowe {
245107dc1947SRichard Lowe     switch (val) {
245207dc1947SRichard Lowe     case DW_CC_normal:
245307dc1947SRichard Lowe         *s_out = "DW_CC_normal";
245407dc1947SRichard Lowe         return DW_DLV_OK;
245507dc1947SRichard Lowe     case DW_CC_program:
245607dc1947SRichard Lowe         *s_out = "DW_CC_program";
245707dc1947SRichard Lowe         return DW_DLV_OK;
245807dc1947SRichard Lowe     case DW_CC_nocall:
245907dc1947SRichard Lowe         *s_out = "DW_CC_nocall";
246007dc1947SRichard Lowe         return DW_DLV_OK;
2461*4d9fdb46SRobert Mustacchi     case DW_CC_pass_by_reference:
2462*4d9fdb46SRobert Mustacchi         *s_out = "DW_CC_pass_by_reference";
2463*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2464*4d9fdb46SRobert Mustacchi     case DW_CC_pass_by_value:
2465*4d9fdb46SRobert Mustacchi         *s_out = "DW_CC_pass_by_value";
2466*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
246707dc1947SRichard Lowe     case DW_CC_lo_user:
246807dc1947SRichard Lowe         *s_out = "DW_CC_lo_user";
246907dc1947SRichard Lowe         return DW_DLV_OK;
2470*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x40. DW_CC_GNU_renesas_sh */
2471*4d9fdb46SRobert Mustacchi     case DW_CC_GNU_borland_fastcall_i386:
2472*4d9fdb46SRobert Mustacchi         *s_out = "DW_CC_GNU_borland_fastcall_i386";
2473*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
247407dc1947SRichard Lowe     case DW_CC_ALTIUM_interrupt:
247507dc1947SRichard Lowe         *s_out = "DW_CC_ALTIUM_interrupt";
247607dc1947SRichard Lowe         return DW_DLV_OK;
247707dc1947SRichard Lowe     case DW_CC_ALTIUM_near_system_stack:
247807dc1947SRichard Lowe         *s_out = "DW_CC_ALTIUM_near_system_stack";
247907dc1947SRichard Lowe         return DW_DLV_OK;
248007dc1947SRichard Lowe     case DW_CC_ALTIUM_near_user_stack:
248107dc1947SRichard Lowe         *s_out = "DW_CC_ALTIUM_near_user_stack";
248207dc1947SRichard Lowe         return DW_DLV_OK;
248307dc1947SRichard Lowe     case DW_CC_ALTIUM_huge_user_stack:
248407dc1947SRichard Lowe         *s_out = "DW_CC_ALTIUM_huge_user_stack";
248507dc1947SRichard Lowe         return DW_DLV_OK;
248607dc1947SRichard Lowe     case DW_CC_hi_user:
248707dc1947SRichard Lowe         *s_out = "DW_CC_hi_user";
248807dc1947SRichard Lowe         return DW_DLV_OK;
248907dc1947SRichard Lowe     }
2490*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
249107dc1947SRichard Lowe }
249207dc1947SRichard Lowe /* ARGSUSED */
249307dc1947SRichard Lowe int
dwarf_get_INL_name(unsigned int val,const char ** s_out)249407dc1947SRichard Lowe dwarf_get_INL_name (unsigned int val,const char ** s_out)
249507dc1947SRichard Lowe {
249607dc1947SRichard Lowe     switch (val) {
249707dc1947SRichard Lowe     case DW_INL_not_inlined:
249807dc1947SRichard Lowe         *s_out = "DW_INL_not_inlined";
249907dc1947SRichard Lowe         return DW_DLV_OK;
250007dc1947SRichard Lowe     case DW_INL_inlined:
250107dc1947SRichard Lowe         *s_out = "DW_INL_inlined";
250207dc1947SRichard Lowe         return DW_DLV_OK;
250307dc1947SRichard Lowe     case DW_INL_declared_not_inlined:
250407dc1947SRichard Lowe         *s_out = "DW_INL_declared_not_inlined";
250507dc1947SRichard Lowe         return DW_DLV_OK;
250607dc1947SRichard Lowe     case DW_INL_declared_inlined:
250707dc1947SRichard Lowe         *s_out = "DW_INL_declared_inlined";
250807dc1947SRichard Lowe         return DW_DLV_OK;
250907dc1947SRichard Lowe     }
2510*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
251107dc1947SRichard Lowe }
251207dc1947SRichard Lowe /* ARGSUSED */
251307dc1947SRichard Lowe int
dwarf_get_ORD_name(unsigned int val,const char ** s_out)251407dc1947SRichard Lowe dwarf_get_ORD_name (unsigned int val,const char ** s_out)
251507dc1947SRichard Lowe {
251607dc1947SRichard Lowe     switch (val) {
251707dc1947SRichard Lowe     case DW_ORD_row_major:
251807dc1947SRichard Lowe         *s_out = "DW_ORD_row_major";
251907dc1947SRichard Lowe         return DW_DLV_OK;
252007dc1947SRichard Lowe     case DW_ORD_col_major:
252107dc1947SRichard Lowe         *s_out = "DW_ORD_col_major";
252207dc1947SRichard Lowe         return DW_DLV_OK;
252307dc1947SRichard Lowe     }
2524*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
252507dc1947SRichard Lowe }
252607dc1947SRichard Lowe /* ARGSUSED */
252707dc1947SRichard Lowe int
dwarf_get_DSC_name(unsigned int val,const char ** s_out)252807dc1947SRichard Lowe dwarf_get_DSC_name (unsigned int val,const char ** s_out)
252907dc1947SRichard Lowe {
253007dc1947SRichard Lowe     switch (val) {
253107dc1947SRichard Lowe     case DW_DSC_label:
253207dc1947SRichard Lowe         *s_out = "DW_DSC_label";
253307dc1947SRichard Lowe         return DW_DLV_OK;
253407dc1947SRichard Lowe     case DW_DSC_range:
253507dc1947SRichard Lowe         *s_out = "DW_DSC_range";
253607dc1947SRichard Lowe         return DW_DLV_OK;
253707dc1947SRichard Lowe     }
2538*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2539*4d9fdb46SRobert Mustacchi }
2540*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2541*4d9fdb46SRobert Mustacchi int
dwarf_get_LNCT_name(unsigned int val,const char ** s_out)2542*4d9fdb46SRobert Mustacchi dwarf_get_LNCT_name (unsigned int val,const char ** s_out)
2543*4d9fdb46SRobert Mustacchi {
2544*4d9fdb46SRobert Mustacchi     switch (val) {
2545*4d9fdb46SRobert Mustacchi     case DW_LNCT_path:
2546*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_path";
2547*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2548*4d9fdb46SRobert Mustacchi     case DW_LNCT_directory_index:
2549*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_directory_index";
2550*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2551*4d9fdb46SRobert Mustacchi     case DW_LNCT_timestamp:
2552*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_timestamp";
2553*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2554*4d9fdb46SRobert Mustacchi     case DW_LNCT_size:
2555*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_size";
2556*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2557*4d9fdb46SRobert Mustacchi     case DW_LNCT_MD5:
2558*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_MD5";
2559*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2560*4d9fdb46SRobert Mustacchi     case DW_LNCT_GNU_subprogram_name:
2561*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_GNU_subprogram_name";
2562*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2563*4d9fdb46SRobert Mustacchi     case DW_LNCT_GNU_decl_file:
2564*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_GNU_decl_file";
2565*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2566*4d9fdb46SRobert Mustacchi     case DW_LNCT_GNU_decl_line:
2567*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_GNU_decl_line";
2568*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2569*4d9fdb46SRobert Mustacchi     case DW_LNCT_lo_user:
2570*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_lo_user";
2571*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2572*4d9fdb46SRobert Mustacchi     case DW_LNCT_hi_user:
2573*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNCT_hi_user";
2574*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2575*4d9fdb46SRobert Mustacchi     }
2576*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
257707dc1947SRichard Lowe }
257807dc1947SRichard Lowe /* ARGSUSED */
257907dc1947SRichard Lowe int
dwarf_get_LNS_name(unsigned int val,const char ** s_out)258007dc1947SRichard Lowe dwarf_get_LNS_name (unsigned int val,const char ** s_out)
258107dc1947SRichard Lowe {
258207dc1947SRichard Lowe     switch (val) {
258307dc1947SRichard Lowe     case DW_LNS_copy:
258407dc1947SRichard Lowe         *s_out = "DW_LNS_copy";
258507dc1947SRichard Lowe         return DW_DLV_OK;
258607dc1947SRichard Lowe     case DW_LNS_advance_pc:
258707dc1947SRichard Lowe         *s_out = "DW_LNS_advance_pc";
258807dc1947SRichard Lowe         return DW_DLV_OK;
258907dc1947SRichard Lowe     case DW_LNS_advance_line:
259007dc1947SRichard Lowe         *s_out = "DW_LNS_advance_line";
259107dc1947SRichard Lowe         return DW_DLV_OK;
259207dc1947SRichard Lowe     case DW_LNS_set_file:
259307dc1947SRichard Lowe         *s_out = "DW_LNS_set_file";
259407dc1947SRichard Lowe         return DW_DLV_OK;
259507dc1947SRichard Lowe     case DW_LNS_set_column:
259607dc1947SRichard Lowe         *s_out = "DW_LNS_set_column";
259707dc1947SRichard Lowe         return DW_DLV_OK;
259807dc1947SRichard Lowe     case DW_LNS_negate_stmt:
259907dc1947SRichard Lowe         *s_out = "DW_LNS_negate_stmt";
260007dc1947SRichard Lowe         return DW_DLV_OK;
260107dc1947SRichard Lowe     case DW_LNS_set_basic_block:
260207dc1947SRichard Lowe         *s_out = "DW_LNS_set_basic_block";
260307dc1947SRichard Lowe         return DW_DLV_OK;
260407dc1947SRichard Lowe     case DW_LNS_const_add_pc:
260507dc1947SRichard Lowe         *s_out = "DW_LNS_const_add_pc";
260607dc1947SRichard Lowe         return DW_DLV_OK;
260707dc1947SRichard Lowe     case DW_LNS_fixed_advance_pc:
260807dc1947SRichard Lowe         *s_out = "DW_LNS_fixed_advance_pc";
260907dc1947SRichard Lowe         return DW_DLV_OK;
261007dc1947SRichard Lowe     case DW_LNS_set_prologue_end:
261107dc1947SRichard Lowe         *s_out = "DW_LNS_set_prologue_end";
261207dc1947SRichard Lowe         return DW_DLV_OK;
261307dc1947SRichard Lowe     case DW_LNS_set_epilogue_begin:
261407dc1947SRichard Lowe         *s_out = "DW_LNS_set_epilogue_begin";
261507dc1947SRichard Lowe         return DW_DLV_OK;
261607dc1947SRichard Lowe     case DW_LNS_set_isa:
261707dc1947SRichard Lowe         *s_out = "DW_LNS_set_isa";
261807dc1947SRichard Lowe         return DW_DLV_OK;
2619*4d9fdb46SRobert Mustacchi     case DW_LNS_set_address_from_logical:
2620*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNS_set_address_from_logical";
2621*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2622*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0xd. DW_LNS_set_subprogram */
2623*4d9fdb46SRobert Mustacchi     case DW_LNS_inlined_call:
2624*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNS_inlined_call";
2625*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2626*4d9fdb46SRobert Mustacchi     case DW_LNS_pop_context:
2627*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNS_pop_context";
2628*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
262907dc1947SRichard Lowe     }
2630*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
263107dc1947SRichard Lowe }
263207dc1947SRichard Lowe /* ARGSUSED */
263307dc1947SRichard Lowe int
dwarf_get_LNE_name(unsigned int val,const char ** s_out)263407dc1947SRichard Lowe dwarf_get_LNE_name (unsigned int val,const char ** s_out)
263507dc1947SRichard Lowe {
263607dc1947SRichard Lowe     switch (val) {
263707dc1947SRichard Lowe     case DW_LNE_end_sequence:
263807dc1947SRichard Lowe         *s_out = "DW_LNE_end_sequence";
263907dc1947SRichard Lowe         return DW_DLV_OK;
264007dc1947SRichard Lowe     case DW_LNE_set_address:
264107dc1947SRichard Lowe         *s_out = "DW_LNE_set_address";
264207dc1947SRichard Lowe         return DW_DLV_OK;
264307dc1947SRichard Lowe     case DW_LNE_define_file:
264407dc1947SRichard Lowe         *s_out = "DW_LNE_define_file";
264507dc1947SRichard Lowe         return DW_DLV_OK;
264607dc1947SRichard Lowe     case DW_LNE_set_discriminator:
264707dc1947SRichard Lowe         *s_out = "DW_LNE_set_discriminator";
264807dc1947SRichard Lowe         return DW_DLV_OK;
264907dc1947SRichard Lowe     case DW_LNE_HP_negate_is_UV_update:
265007dc1947SRichard Lowe         *s_out = "DW_LNE_HP_negate_is_UV_update";
265107dc1947SRichard Lowe         return DW_DLV_OK;
265207dc1947SRichard Lowe     case DW_LNE_HP_push_context:
265307dc1947SRichard Lowe         *s_out = "DW_LNE_HP_push_context";
265407dc1947SRichard Lowe         return DW_DLV_OK;
265507dc1947SRichard Lowe     case DW_LNE_HP_pop_context:
265607dc1947SRichard Lowe         *s_out = "DW_LNE_HP_pop_context";
265707dc1947SRichard Lowe         return DW_DLV_OK;
265807dc1947SRichard Lowe     case DW_LNE_HP_set_file_line_column:
265907dc1947SRichard Lowe         *s_out = "DW_LNE_HP_set_file_line_column";
266007dc1947SRichard Lowe         return DW_DLV_OK;
266107dc1947SRichard Lowe     case DW_LNE_HP_set_routine_name:
266207dc1947SRichard Lowe         *s_out = "DW_LNE_HP_set_routine_name";
266307dc1947SRichard Lowe         return DW_DLV_OK;
266407dc1947SRichard Lowe     case DW_LNE_HP_set_sequence:
266507dc1947SRichard Lowe         *s_out = "DW_LNE_HP_set_sequence";
266607dc1947SRichard Lowe         return DW_DLV_OK;
266707dc1947SRichard Lowe     case DW_LNE_HP_negate_post_semantics:
266807dc1947SRichard Lowe         *s_out = "DW_LNE_HP_negate_post_semantics";
266907dc1947SRichard Lowe         return DW_DLV_OK;
267007dc1947SRichard Lowe     case DW_LNE_HP_negate_function_exit:
267107dc1947SRichard Lowe         *s_out = "DW_LNE_HP_negate_function_exit";
267207dc1947SRichard Lowe         return DW_DLV_OK;
267307dc1947SRichard Lowe     case DW_LNE_HP_negate_front_end_logical:
267407dc1947SRichard Lowe         *s_out = "DW_LNE_HP_negate_front_end_logical";
267507dc1947SRichard Lowe         return DW_DLV_OK;
267607dc1947SRichard Lowe     case DW_LNE_HP_define_proc:
267707dc1947SRichard Lowe         *s_out = "DW_LNE_HP_define_proc";
267807dc1947SRichard Lowe         return DW_DLV_OK;
2679*4d9fdb46SRobert Mustacchi     case DW_LNE_HP_source_file_correlation:
2680*4d9fdb46SRobert Mustacchi         *s_out = "DW_LNE_HP_source_file_correlation";
268107dc1947SRichard Lowe         return DW_DLV_OK;
2682*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x80. DW_LNE_lo_user */
268307dc1947SRichard Lowe     case DW_LNE_hi_user:
268407dc1947SRichard Lowe         *s_out = "DW_LNE_hi_user";
268507dc1947SRichard Lowe         return DW_DLV_OK;
268607dc1947SRichard Lowe     }
2687*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
268807dc1947SRichard Lowe }
268907dc1947SRichard Lowe /* ARGSUSED */
269007dc1947SRichard Lowe int
dwarf_get_ISA_name(unsigned int val,const char ** s_out)269107dc1947SRichard Lowe dwarf_get_ISA_name (unsigned int val,const char ** s_out)
269207dc1947SRichard Lowe {
269307dc1947SRichard Lowe     switch (val) {
269407dc1947SRichard Lowe     case DW_ISA_UNKNOWN:
269507dc1947SRichard Lowe         *s_out = "DW_ISA_UNKNOWN";
269607dc1947SRichard Lowe         return DW_DLV_OK;
269707dc1947SRichard Lowe     case DW_ISA_ARM_thumb:
269807dc1947SRichard Lowe         *s_out = "DW_ISA_ARM_thumb";
269907dc1947SRichard Lowe         return DW_DLV_OK;
270007dc1947SRichard Lowe     case DW_ISA_ARM_arm:
270107dc1947SRichard Lowe         *s_out = "DW_ISA_ARM_arm";
270207dc1947SRichard Lowe         return DW_DLV_OK;
270307dc1947SRichard Lowe     }
2704*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
2705*4d9fdb46SRobert Mustacchi }
2706*4d9fdb46SRobert Mustacchi /* ARGSUSED */
2707*4d9fdb46SRobert Mustacchi int
dwarf_get_MACRO_name(unsigned int val,const char ** s_out)2708*4d9fdb46SRobert Mustacchi dwarf_get_MACRO_name (unsigned int val,const char ** s_out)
2709*4d9fdb46SRobert Mustacchi {
2710*4d9fdb46SRobert Mustacchi     switch (val) {
2711*4d9fdb46SRobert Mustacchi     case DW_MACRO_define:
2712*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_define";
2713*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2714*4d9fdb46SRobert Mustacchi     case DW_MACRO_undef:
2715*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_undef";
2716*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2717*4d9fdb46SRobert Mustacchi     case DW_MACRO_start_file:
2718*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_start_file";
2719*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2720*4d9fdb46SRobert Mustacchi     case DW_MACRO_end_file:
2721*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_end_file";
2722*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2723*4d9fdb46SRobert Mustacchi     case DW_MACRO_define_strp:
2724*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_define_strp";
2725*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2726*4d9fdb46SRobert Mustacchi     case DW_MACRO_undef_strp:
2727*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_undef_strp";
2728*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2729*4d9fdb46SRobert Mustacchi     case DW_MACRO_import:
2730*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_import";
2731*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2732*4d9fdb46SRobert Mustacchi     case DW_MACRO_define_sup:
2733*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_define_sup";
2734*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2735*4d9fdb46SRobert Mustacchi     case DW_MACRO_undef_sup:
2736*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_undef_sup";
2737*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2738*4d9fdb46SRobert Mustacchi     case DW_MACRO_import_sup:
2739*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_import_sup";
2740*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2741*4d9fdb46SRobert Mustacchi     case DW_MACRO_define_strx:
2742*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_define_strx";
2743*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2744*4d9fdb46SRobert Mustacchi     case DW_MACRO_undef_strx:
2745*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_undef_strx";
2746*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2747*4d9fdb46SRobert Mustacchi     case DW_MACRO_lo_user:
2748*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_lo_user";
2749*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2750*4d9fdb46SRobert Mustacchi     case DW_MACRO_hi_user:
2751*4d9fdb46SRobert Mustacchi         *s_out = "DW_MACRO_hi_user";
2752*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
2753*4d9fdb46SRobert Mustacchi     }
2754*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
275507dc1947SRichard Lowe }
275607dc1947SRichard Lowe /* ARGSUSED */
275707dc1947SRichard Lowe int
dwarf_get_MACINFO_name(unsigned int val,const char ** s_out)275807dc1947SRichard Lowe dwarf_get_MACINFO_name (unsigned int val,const char ** s_out)
275907dc1947SRichard Lowe {
276007dc1947SRichard Lowe     switch (val) {
276107dc1947SRichard Lowe     case DW_MACINFO_define:
276207dc1947SRichard Lowe         *s_out = "DW_MACINFO_define";
276307dc1947SRichard Lowe         return DW_DLV_OK;
276407dc1947SRichard Lowe     case DW_MACINFO_undef:
276507dc1947SRichard Lowe         *s_out = "DW_MACINFO_undef";
276607dc1947SRichard Lowe         return DW_DLV_OK;
276707dc1947SRichard Lowe     case DW_MACINFO_start_file:
276807dc1947SRichard Lowe         *s_out = "DW_MACINFO_start_file";
276907dc1947SRichard Lowe         return DW_DLV_OK;
277007dc1947SRichard Lowe     case DW_MACINFO_end_file:
277107dc1947SRichard Lowe         *s_out = "DW_MACINFO_end_file";
277207dc1947SRichard Lowe         return DW_DLV_OK;
277307dc1947SRichard Lowe     case DW_MACINFO_vendor_ext:
277407dc1947SRichard Lowe         *s_out = "DW_MACINFO_vendor_ext";
277507dc1947SRichard Lowe         return DW_DLV_OK;
277607dc1947SRichard Lowe     }
2777*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
277807dc1947SRichard Lowe }
277907dc1947SRichard Lowe /* ARGSUSED */
278007dc1947SRichard Lowe int
dwarf_get_CFA_name(unsigned int val,const char ** s_out)278107dc1947SRichard Lowe dwarf_get_CFA_name (unsigned int val,const char ** s_out)
278207dc1947SRichard Lowe {
278307dc1947SRichard Lowe     switch (val) {
278407dc1947SRichard Lowe     case DW_CFA_extended:
278507dc1947SRichard Lowe         *s_out = "DW_CFA_extended";
278607dc1947SRichard Lowe         return DW_DLV_OK;
2787*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x0. DW_CFA_nop */
278807dc1947SRichard Lowe     case DW_CFA_set_loc:
278907dc1947SRichard Lowe         *s_out = "DW_CFA_set_loc";
279007dc1947SRichard Lowe         return DW_DLV_OK;
279107dc1947SRichard Lowe     case DW_CFA_advance_loc1:
279207dc1947SRichard Lowe         *s_out = "DW_CFA_advance_loc1";
279307dc1947SRichard Lowe         return DW_DLV_OK;
279407dc1947SRichard Lowe     case DW_CFA_advance_loc2:
279507dc1947SRichard Lowe         *s_out = "DW_CFA_advance_loc2";
279607dc1947SRichard Lowe         return DW_DLV_OK;
279707dc1947SRichard Lowe     case DW_CFA_advance_loc4:
279807dc1947SRichard Lowe         *s_out = "DW_CFA_advance_loc4";
279907dc1947SRichard Lowe         return DW_DLV_OK;
280007dc1947SRichard Lowe     case DW_CFA_offset_extended:
280107dc1947SRichard Lowe         *s_out = "DW_CFA_offset_extended";
280207dc1947SRichard Lowe         return DW_DLV_OK;
280307dc1947SRichard Lowe     case DW_CFA_restore_extended:
280407dc1947SRichard Lowe         *s_out = "DW_CFA_restore_extended";
280507dc1947SRichard Lowe         return DW_DLV_OK;
280607dc1947SRichard Lowe     case DW_CFA_undefined:
280707dc1947SRichard Lowe         *s_out = "DW_CFA_undefined";
280807dc1947SRichard Lowe         return DW_DLV_OK;
280907dc1947SRichard Lowe     case DW_CFA_same_value:
281007dc1947SRichard Lowe         *s_out = "DW_CFA_same_value";
281107dc1947SRichard Lowe         return DW_DLV_OK;
281207dc1947SRichard Lowe     case DW_CFA_register:
281307dc1947SRichard Lowe         *s_out = "DW_CFA_register";
281407dc1947SRichard Lowe         return DW_DLV_OK;
281507dc1947SRichard Lowe     case DW_CFA_remember_state:
281607dc1947SRichard Lowe         *s_out = "DW_CFA_remember_state";
281707dc1947SRichard Lowe         return DW_DLV_OK;
281807dc1947SRichard Lowe     case DW_CFA_restore_state:
281907dc1947SRichard Lowe         *s_out = "DW_CFA_restore_state";
282007dc1947SRichard Lowe         return DW_DLV_OK;
282107dc1947SRichard Lowe     case DW_CFA_def_cfa:
282207dc1947SRichard Lowe         *s_out = "DW_CFA_def_cfa";
282307dc1947SRichard Lowe         return DW_DLV_OK;
282407dc1947SRichard Lowe     case DW_CFA_def_cfa_register:
282507dc1947SRichard Lowe         *s_out = "DW_CFA_def_cfa_register";
282607dc1947SRichard Lowe         return DW_DLV_OK;
282707dc1947SRichard Lowe     case DW_CFA_def_cfa_offset:
282807dc1947SRichard Lowe         *s_out = "DW_CFA_def_cfa_offset";
282907dc1947SRichard Lowe         return DW_DLV_OK;
283007dc1947SRichard Lowe     case DW_CFA_def_cfa_expression:
283107dc1947SRichard Lowe         *s_out = "DW_CFA_def_cfa_expression";
283207dc1947SRichard Lowe         return DW_DLV_OK;
283307dc1947SRichard Lowe     case DW_CFA_expression:
283407dc1947SRichard Lowe         *s_out = "DW_CFA_expression";
283507dc1947SRichard Lowe         return DW_DLV_OK;
283607dc1947SRichard Lowe     case DW_CFA_offset_extended_sf:
283707dc1947SRichard Lowe         *s_out = "DW_CFA_offset_extended_sf";
283807dc1947SRichard Lowe         return DW_DLV_OK;
283907dc1947SRichard Lowe     case DW_CFA_def_cfa_sf:
284007dc1947SRichard Lowe         *s_out = "DW_CFA_def_cfa_sf";
284107dc1947SRichard Lowe         return DW_DLV_OK;
284207dc1947SRichard Lowe     case DW_CFA_def_cfa_offset_sf:
284307dc1947SRichard Lowe         *s_out = "DW_CFA_def_cfa_offset_sf";
284407dc1947SRichard Lowe         return DW_DLV_OK;
284507dc1947SRichard Lowe     case DW_CFA_val_offset:
284607dc1947SRichard Lowe         *s_out = "DW_CFA_val_offset";
284707dc1947SRichard Lowe         return DW_DLV_OK;
284807dc1947SRichard Lowe     case DW_CFA_val_offset_sf:
284907dc1947SRichard Lowe         *s_out = "DW_CFA_val_offset_sf";
285007dc1947SRichard Lowe         return DW_DLV_OK;
285107dc1947SRichard Lowe     case DW_CFA_val_expression:
285207dc1947SRichard Lowe         *s_out = "DW_CFA_val_expression";
285307dc1947SRichard Lowe         return DW_DLV_OK;
285407dc1947SRichard Lowe     case DW_CFA_lo_user:
285507dc1947SRichard Lowe         *s_out = "DW_CFA_lo_user";
285607dc1947SRichard Lowe         return DW_DLV_OK;
2857*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x1c. DW_CFA_low_user */
285807dc1947SRichard Lowe     case DW_CFA_MIPS_advance_loc8:
285907dc1947SRichard Lowe         *s_out = "DW_CFA_MIPS_advance_loc8";
286007dc1947SRichard Lowe         return DW_DLV_OK;
286107dc1947SRichard Lowe     case DW_CFA_GNU_window_save:
286207dc1947SRichard Lowe         *s_out = "DW_CFA_GNU_window_save";
286307dc1947SRichard Lowe         return DW_DLV_OK;
286407dc1947SRichard Lowe     case DW_CFA_GNU_args_size:
286507dc1947SRichard Lowe         *s_out = "DW_CFA_GNU_args_size";
286607dc1947SRichard Lowe         return DW_DLV_OK;
286707dc1947SRichard Lowe     case DW_CFA_GNU_negative_offset_extended:
286807dc1947SRichard Lowe         *s_out = "DW_CFA_GNU_negative_offset_extended";
286907dc1947SRichard Lowe         return DW_DLV_OK;
2870*4d9fdb46SRobert Mustacchi     case DW_CFA_METAWARE_info:
2871*4d9fdb46SRobert Mustacchi         *s_out = "DW_CFA_METAWARE_info";
2872*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
287307dc1947SRichard Lowe     case DW_CFA_high_user:
287407dc1947SRichard Lowe         *s_out = "DW_CFA_high_user";
287507dc1947SRichard Lowe         return DW_DLV_OK;
287607dc1947SRichard Lowe     case DW_CFA_advance_loc:
287707dc1947SRichard Lowe         *s_out = "DW_CFA_advance_loc";
287807dc1947SRichard Lowe         return DW_DLV_OK;
287907dc1947SRichard Lowe     case DW_CFA_offset:
288007dc1947SRichard Lowe         *s_out = "DW_CFA_offset";
288107dc1947SRichard Lowe         return DW_DLV_OK;
288207dc1947SRichard Lowe     case DW_CFA_restore:
288307dc1947SRichard Lowe         *s_out = "DW_CFA_restore";
288407dc1947SRichard Lowe         return DW_DLV_OK;
288507dc1947SRichard Lowe     }
2886*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
288707dc1947SRichard Lowe }
288807dc1947SRichard Lowe /* ARGSUSED */
288907dc1947SRichard Lowe int
dwarf_get_EH_name(unsigned int val,const char ** s_out)289007dc1947SRichard Lowe dwarf_get_EH_name (unsigned int val,const char ** s_out)
289107dc1947SRichard Lowe {
289207dc1947SRichard Lowe     switch (val) {
289307dc1947SRichard Lowe     case DW_EH_PE_absptr:
289407dc1947SRichard Lowe         *s_out = "DW_EH_PE_absptr";
289507dc1947SRichard Lowe         return DW_DLV_OK;
289607dc1947SRichard Lowe     case DW_EH_PE_uleb128:
289707dc1947SRichard Lowe         *s_out = "DW_EH_PE_uleb128";
289807dc1947SRichard Lowe         return DW_DLV_OK;
289907dc1947SRichard Lowe     case DW_EH_PE_udata2:
290007dc1947SRichard Lowe         *s_out = "DW_EH_PE_udata2";
290107dc1947SRichard Lowe         return DW_DLV_OK;
290207dc1947SRichard Lowe     case DW_EH_PE_udata4:
290307dc1947SRichard Lowe         *s_out = "DW_EH_PE_udata4";
290407dc1947SRichard Lowe         return DW_DLV_OK;
290507dc1947SRichard Lowe     case DW_EH_PE_udata8:
290607dc1947SRichard Lowe         *s_out = "DW_EH_PE_udata8";
290707dc1947SRichard Lowe         return DW_DLV_OK;
290807dc1947SRichard Lowe     case DW_EH_PE_sleb128:
290907dc1947SRichard Lowe         *s_out = "DW_EH_PE_sleb128";
291007dc1947SRichard Lowe         return DW_DLV_OK;
291107dc1947SRichard Lowe     case DW_EH_PE_sdata2:
291207dc1947SRichard Lowe         *s_out = "DW_EH_PE_sdata2";
291307dc1947SRichard Lowe         return DW_DLV_OK;
291407dc1947SRichard Lowe     case DW_EH_PE_sdata4:
291507dc1947SRichard Lowe         *s_out = "DW_EH_PE_sdata4";
291607dc1947SRichard Lowe         return DW_DLV_OK;
291707dc1947SRichard Lowe     case DW_EH_PE_sdata8:
291807dc1947SRichard Lowe         *s_out = "DW_EH_PE_sdata8";
291907dc1947SRichard Lowe         return DW_DLV_OK;
292007dc1947SRichard Lowe     case DW_EH_PE_pcrel:
292107dc1947SRichard Lowe         *s_out = "DW_EH_PE_pcrel";
292207dc1947SRichard Lowe         return DW_DLV_OK;
292307dc1947SRichard Lowe     case DW_EH_PE_textrel:
292407dc1947SRichard Lowe         *s_out = "DW_EH_PE_textrel";
292507dc1947SRichard Lowe         return DW_DLV_OK;
292607dc1947SRichard Lowe     case DW_EH_PE_datarel:
292707dc1947SRichard Lowe         *s_out = "DW_EH_PE_datarel";
292807dc1947SRichard Lowe         return DW_DLV_OK;
292907dc1947SRichard Lowe     case DW_EH_PE_funcrel:
293007dc1947SRichard Lowe         *s_out = "DW_EH_PE_funcrel";
293107dc1947SRichard Lowe         return DW_DLV_OK;
293207dc1947SRichard Lowe     case DW_EH_PE_aligned:
293307dc1947SRichard Lowe         *s_out = "DW_EH_PE_aligned";
293407dc1947SRichard Lowe         return DW_DLV_OK;
293507dc1947SRichard Lowe     case DW_EH_PE_omit:
293607dc1947SRichard Lowe         *s_out = "DW_EH_PE_omit";
293707dc1947SRichard Lowe         return DW_DLV_OK;
293807dc1947SRichard Lowe     }
2939*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
294007dc1947SRichard Lowe }
294107dc1947SRichard Lowe /* ARGSUSED */
294207dc1947SRichard Lowe int
dwarf_get_FRAME_name(unsigned int val,const char ** s_out)294307dc1947SRichard Lowe dwarf_get_FRAME_name (unsigned int val,const char ** s_out)
294407dc1947SRichard Lowe {
294507dc1947SRichard Lowe     switch (val) {
294607dc1947SRichard Lowe     case DW_FRAME_CFA_COL:
294707dc1947SRichard Lowe         *s_out = "DW_FRAME_CFA_COL";
294807dc1947SRichard Lowe         return DW_DLV_OK;
2949*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x0. DW_FRAME_LAST_REG_NUM */
2950*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x0. DW_FRAME_RA_COL */
2951*4d9fdb46SRobert Mustacchi     /* Skipping alternate spelling of value 0x0. DW_FRAME_STATIC_LINK */
295207dc1947SRichard Lowe     case DW_FRAME_REG1:
295307dc1947SRichard Lowe         *s_out = "DW_FRAME_REG1";
295407dc1947SRichard Lowe         return DW_DLV_OK;
295507dc1947SRichard Lowe     case DW_FRAME_REG2:
295607dc1947SRichard Lowe         *s_out = "DW_FRAME_REG2";
295707dc1947SRichard Lowe         return DW_DLV_OK;
295807dc1947SRichard Lowe     case DW_FRAME_REG3:
295907dc1947SRichard Lowe         *s_out = "DW_FRAME_REG3";
296007dc1947SRichard Lowe         return DW_DLV_OK;
296107dc1947SRichard Lowe     case DW_FRAME_REG4:
296207dc1947SRichard Lowe         *s_out = "DW_FRAME_REG4";
296307dc1947SRichard Lowe         return DW_DLV_OK;
296407dc1947SRichard Lowe     case DW_FRAME_REG5:
296507dc1947SRichard Lowe         *s_out = "DW_FRAME_REG5";
296607dc1947SRichard Lowe         return DW_DLV_OK;
296707dc1947SRichard Lowe     case DW_FRAME_REG6:
296807dc1947SRichard Lowe         *s_out = "DW_FRAME_REG6";
296907dc1947SRichard Lowe         return DW_DLV_OK;
297007dc1947SRichard Lowe     case DW_FRAME_REG7:
297107dc1947SRichard Lowe         *s_out = "DW_FRAME_REG7";
297207dc1947SRichard Lowe         return DW_DLV_OK;
297307dc1947SRichard Lowe     case DW_FRAME_REG8:
297407dc1947SRichard Lowe         *s_out = "DW_FRAME_REG8";
297507dc1947SRichard Lowe         return DW_DLV_OK;
297607dc1947SRichard Lowe     case DW_FRAME_REG9:
297707dc1947SRichard Lowe         *s_out = "DW_FRAME_REG9";
297807dc1947SRichard Lowe         return DW_DLV_OK;
297907dc1947SRichard Lowe     case DW_FRAME_REG10:
298007dc1947SRichard Lowe         *s_out = "DW_FRAME_REG10";
298107dc1947SRichard Lowe         return DW_DLV_OK;
298207dc1947SRichard Lowe     case DW_FRAME_REG11:
298307dc1947SRichard Lowe         *s_out = "DW_FRAME_REG11";
298407dc1947SRichard Lowe         return DW_DLV_OK;
298507dc1947SRichard Lowe     case DW_FRAME_REG12:
298607dc1947SRichard Lowe         *s_out = "DW_FRAME_REG12";
298707dc1947SRichard Lowe         return DW_DLV_OK;
298807dc1947SRichard Lowe     case DW_FRAME_REG13:
298907dc1947SRichard Lowe         *s_out = "DW_FRAME_REG13";
299007dc1947SRichard Lowe         return DW_DLV_OK;
299107dc1947SRichard Lowe     case DW_FRAME_REG14:
299207dc1947SRichard Lowe         *s_out = "DW_FRAME_REG14";
299307dc1947SRichard Lowe         return DW_DLV_OK;
299407dc1947SRichard Lowe     case DW_FRAME_REG15:
299507dc1947SRichard Lowe         *s_out = "DW_FRAME_REG15";
299607dc1947SRichard Lowe         return DW_DLV_OK;
299707dc1947SRichard Lowe     case DW_FRAME_REG16:
299807dc1947SRichard Lowe         *s_out = "DW_FRAME_REG16";
299907dc1947SRichard Lowe         return DW_DLV_OK;
300007dc1947SRichard Lowe     case DW_FRAME_REG17:
300107dc1947SRichard Lowe         *s_out = "DW_FRAME_REG17";
300207dc1947SRichard Lowe         return DW_DLV_OK;
300307dc1947SRichard Lowe     case DW_FRAME_REG18:
300407dc1947SRichard Lowe         *s_out = "DW_FRAME_REG18";
300507dc1947SRichard Lowe         return DW_DLV_OK;
300607dc1947SRichard Lowe     case DW_FRAME_REG19:
300707dc1947SRichard Lowe         *s_out = "DW_FRAME_REG19";
300807dc1947SRichard Lowe         return DW_DLV_OK;
300907dc1947SRichard Lowe     case DW_FRAME_REG20:
301007dc1947SRichard Lowe         *s_out = "DW_FRAME_REG20";
301107dc1947SRichard Lowe         return DW_DLV_OK;
301207dc1947SRichard Lowe     case DW_FRAME_REG21:
301307dc1947SRichard Lowe         *s_out = "DW_FRAME_REG21";
301407dc1947SRichard Lowe         return DW_DLV_OK;
301507dc1947SRichard Lowe     case DW_FRAME_REG22:
301607dc1947SRichard Lowe         *s_out = "DW_FRAME_REG22";
301707dc1947SRichard Lowe         return DW_DLV_OK;
301807dc1947SRichard Lowe     case DW_FRAME_REG23:
301907dc1947SRichard Lowe         *s_out = "DW_FRAME_REG23";
302007dc1947SRichard Lowe         return DW_DLV_OK;
302107dc1947SRichard Lowe     case DW_FRAME_REG24:
302207dc1947SRichard Lowe         *s_out = "DW_FRAME_REG24";
302307dc1947SRichard Lowe         return DW_DLV_OK;
302407dc1947SRichard Lowe     case DW_FRAME_REG25:
302507dc1947SRichard Lowe         *s_out = "DW_FRAME_REG25";
302607dc1947SRichard Lowe         return DW_DLV_OK;
302707dc1947SRichard Lowe     case DW_FRAME_REG26:
302807dc1947SRichard Lowe         *s_out = "DW_FRAME_REG26";
302907dc1947SRichard Lowe         return DW_DLV_OK;
303007dc1947SRichard Lowe     case DW_FRAME_REG27:
303107dc1947SRichard Lowe         *s_out = "DW_FRAME_REG27";
303207dc1947SRichard Lowe         return DW_DLV_OK;
303307dc1947SRichard Lowe     case DW_FRAME_REG28:
303407dc1947SRichard Lowe         *s_out = "DW_FRAME_REG28";
303507dc1947SRichard Lowe         return DW_DLV_OK;
303607dc1947SRichard Lowe     case DW_FRAME_REG29:
303707dc1947SRichard Lowe         *s_out = "DW_FRAME_REG29";
303807dc1947SRichard Lowe         return DW_DLV_OK;
303907dc1947SRichard Lowe     case DW_FRAME_REG30:
304007dc1947SRichard Lowe         *s_out = "DW_FRAME_REG30";
304107dc1947SRichard Lowe         return DW_DLV_OK;
304207dc1947SRichard Lowe     case DW_FRAME_REG31:
304307dc1947SRichard Lowe         *s_out = "DW_FRAME_REG31";
304407dc1947SRichard Lowe         return DW_DLV_OK;
304507dc1947SRichard Lowe     case DW_FRAME_FREG0:
304607dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG0";
304707dc1947SRichard Lowe         return DW_DLV_OK;
304807dc1947SRichard Lowe     case DW_FRAME_FREG1:
304907dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG1";
305007dc1947SRichard Lowe         return DW_DLV_OK;
305107dc1947SRichard Lowe     case DW_FRAME_FREG2:
305207dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG2";
305307dc1947SRichard Lowe         return DW_DLV_OK;
305407dc1947SRichard Lowe     case DW_FRAME_FREG3:
305507dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG3";
305607dc1947SRichard Lowe         return DW_DLV_OK;
305707dc1947SRichard Lowe     case DW_FRAME_FREG4:
305807dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG4";
305907dc1947SRichard Lowe         return DW_DLV_OK;
306007dc1947SRichard Lowe     case DW_FRAME_FREG5:
306107dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG5";
306207dc1947SRichard Lowe         return DW_DLV_OK;
306307dc1947SRichard Lowe     case DW_FRAME_FREG6:
306407dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG6";
306507dc1947SRichard Lowe         return DW_DLV_OK;
306607dc1947SRichard Lowe     case DW_FRAME_FREG7:
306707dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG7";
306807dc1947SRichard Lowe         return DW_DLV_OK;
306907dc1947SRichard Lowe     case DW_FRAME_FREG8:
307007dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG8";
307107dc1947SRichard Lowe         return DW_DLV_OK;
307207dc1947SRichard Lowe     case DW_FRAME_FREG9:
307307dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG9";
307407dc1947SRichard Lowe         return DW_DLV_OK;
307507dc1947SRichard Lowe     case DW_FRAME_FREG10:
307607dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG10";
307707dc1947SRichard Lowe         return DW_DLV_OK;
307807dc1947SRichard Lowe     case DW_FRAME_FREG11:
307907dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG11";
308007dc1947SRichard Lowe         return DW_DLV_OK;
308107dc1947SRichard Lowe     case DW_FRAME_FREG12:
308207dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG12";
308307dc1947SRichard Lowe         return DW_DLV_OK;
308407dc1947SRichard Lowe     case DW_FRAME_FREG13:
308507dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG13";
308607dc1947SRichard Lowe         return DW_DLV_OK;
308707dc1947SRichard Lowe     case DW_FRAME_FREG14:
308807dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG14";
308907dc1947SRichard Lowe         return DW_DLV_OK;
309007dc1947SRichard Lowe     case DW_FRAME_FREG15:
309107dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG15";
309207dc1947SRichard Lowe         return DW_DLV_OK;
309307dc1947SRichard Lowe     case DW_FRAME_FREG16:
309407dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG16";
309507dc1947SRichard Lowe         return DW_DLV_OK;
309607dc1947SRichard Lowe     case DW_FRAME_FREG17:
309707dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG17";
309807dc1947SRichard Lowe         return DW_DLV_OK;
309907dc1947SRichard Lowe     case DW_FRAME_FREG18:
310007dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG18";
310107dc1947SRichard Lowe         return DW_DLV_OK;
310207dc1947SRichard Lowe     case DW_FRAME_FREG19:
310307dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG19";
310407dc1947SRichard Lowe         return DW_DLV_OK;
310507dc1947SRichard Lowe     case DW_FRAME_FREG20:
310607dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG20";
310707dc1947SRichard Lowe         return DW_DLV_OK;
310807dc1947SRichard Lowe     case DW_FRAME_FREG21:
310907dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG21";
311007dc1947SRichard Lowe         return DW_DLV_OK;
311107dc1947SRichard Lowe     case DW_FRAME_FREG22:
311207dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG22";
311307dc1947SRichard Lowe         return DW_DLV_OK;
311407dc1947SRichard Lowe     case DW_FRAME_FREG23:
311507dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG23";
311607dc1947SRichard Lowe         return DW_DLV_OK;
311707dc1947SRichard Lowe     case DW_FRAME_FREG24:
311807dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG24";
311907dc1947SRichard Lowe         return DW_DLV_OK;
312007dc1947SRichard Lowe     case DW_FRAME_FREG25:
312107dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG25";
312207dc1947SRichard Lowe         return DW_DLV_OK;
312307dc1947SRichard Lowe     case DW_FRAME_FREG26:
312407dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG26";
312507dc1947SRichard Lowe         return DW_DLV_OK;
312607dc1947SRichard Lowe     case DW_FRAME_FREG27:
312707dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG27";
312807dc1947SRichard Lowe         return DW_DLV_OK;
312907dc1947SRichard Lowe     case DW_FRAME_FREG28:
313007dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG28";
313107dc1947SRichard Lowe         return DW_DLV_OK;
313207dc1947SRichard Lowe     case DW_FRAME_FREG29:
313307dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG29";
313407dc1947SRichard Lowe         return DW_DLV_OK;
313507dc1947SRichard Lowe     case DW_FRAME_FREG30:
313607dc1947SRichard Lowe         *s_out = "DW_FRAME_FREG30";
313707dc1947SRichard Lowe         return DW_DLV_OK;
3138*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG31:
3139*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG31";
3140*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3141*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG32:
3142*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG32";
3143*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3144*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG33:
3145*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG33";
3146*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3147*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG34:
3148*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG34";
3149*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3150*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG35:
3151*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG35";
3152*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3153*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG36:
3154*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG36";
3155*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3156*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG37:
3157*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG37";
3158*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3159*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG38:
3160*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG38";
3161*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3162*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG39:
3163*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG39";
3164*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3165*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG40:
3166*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG40";
3167*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3168*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG41:
3169*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG41";
3170*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3171*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG42:
3172*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG42";
3173*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3174*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG43:
3175*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG43";
3176*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3177*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG44:
3178*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG44";
3179*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3180*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG45:
3181*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG45";
3182*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3183*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG46:
3184*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG46";
3185*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3186*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG47:
3187*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG47";
3188*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3189*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG48:
3190*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG48";
3191*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3192*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG49:
3193*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG49";
3194*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3195*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG50:
3196*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG50";
3197*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3198*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG51:
3199*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG51";
3200*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3201*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG52:
3202*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG52";
3203*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3204*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG53:
3205*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG53";
3206*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3207*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG54:
3208*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG54";
3209*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3210*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG55:
3211*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG55";
3212*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3213*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG56:
3214*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG56";
3215*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3216*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG57:
3217*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG57";
3218*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3219*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG58:
3220*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG58";
3221*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3222*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG59:
3223*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG59";
3224*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3225*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG60:
3226*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG60";
3227*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3228*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG61:
3229*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG61";
3230*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3231*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG62:
3232*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG62";
3233*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3234*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG63:
3235*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG63";
3236*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3237*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG64:
3238*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG64";
3239*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3240*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG65:
3241*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG65";
3242*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3243*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG66:
3244*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG66";
3245*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3246*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG67:
3247*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG67";
3248*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3249*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG68:
3250*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG68";
3251*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3252*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG69:
3253*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG69";
3254*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3255*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG70:
3256*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG70";
3257*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3258*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG71:
3259*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG71";
3260*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3261*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG72:
3262*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG72";
3263*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3264*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG73:
3265*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG73";
3266*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3267*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG74:
3268*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG74";
3269*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3270*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG75:
3271*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG75";
3272*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
3273*4d9fdb46SRobert Mustacchi     case DW_FRAME_FREG76:
3274*4d9fdb46SRobert Mustacchi         *s_out = "DW_FRAME_FREG76";
3275*4d9fdb46SRobert Mustacchi         return DW_DLV_OK;
327607dc1947SRichard Lowe     case DW_FRAME_HIGHEST_NORMAL_REGISTER:
327707dc1947SRichard Lowe         *s_out = "DW_FRAME_HIGHEST_NORMAL_REGISTER";
327807dc1947SRichard Lowe         return DW_DLV_OK;
327907dc1947SRichard Lowe     }
3280*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
328107dc1947SRichard Lowe }
328207dc1947SRichard Lowe /* ARGSUSED */
328307dc1947SRichard Lowe int
dwarf_get_CHILDREN_name(unsigned int val,const char ** s_out)328407dc1947SRichard Lowe dwarf_get_CHILDREN_name (unsigned int val,const char ** s_out)
328507dc1947SRichard Lowe {
328607dc1947SRichard Lowe     switch (val) {
328707dc1947SRichard Lowe     case DW_CHILDREN_no:
328807dc1947SRichard Lowe         *s_out = "DW_CHILDREN_no";
328907dc1947SRichard Lowe         return DW_DLV_OK;
329007dc1947SRichard Lowe     case DW_CHILDREN_yes:
329107dc1947SRichard Lowe         *s_out = "DW_CHILDREN_yes";
329207dc1947SRichard Lowe         return DW_DLV_OK;
329307dc1947SRichard Lowe     }
3294*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
329507dc1947SRichard Lowe }
329607dc1947SRichard Lowe /* ARGSUSED */
329707dc1947SRichard Lowe int
dwarf_get_ADDR_name(unsigned int val,const char ** s_out)329807dc1947SRichard Lowe dwarf_get_ADDR_name (unsigned int val,const char ** s_out)
329907dc1947SRichard Lowe {
330007dc1947SRichard Lowe     switch (val) {
330107dc1947SRichard Lowe     case DW_ADDR_none:
330207dc1947SRichard Lowe         *s_out = "DW_ADDR_none";
330307dc1947SRichard Lowe         return DW_DLV_OK;
330407dc1947SRichard Lowe     }
3305*4d9fdb46SRobert Mustacchi     return DW_DLV_NO_ENTRY;
330607dc1947SRichard Lowe }
330707dc1947SRichard Lowe 
330807dc1947SRichard Lowe /* END FILE */
3309