GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

実装[]

 dwarf2.h
 130 /* Tag names and codes.  */
131 enum dwarf_tag
132   {
133     DW_TAG_padding = 0x00,
134     DW_TAG_array_type = 0x01,
135     DW_TAG_class_type = 0x02,
136     DW_TAG_entry_point = 0x03,
137     DW_TAG_enumeration_type = 0x04,
138     DW_TAG_formal_parameter = 0x05,
139     DW_TAG_imported_declaration = 0x08,
140     DW_TAG_label = 0x0a,
141     DW_TAG_lexical_block = 0x0b,
142     DW_TAG_member = 0x0d,
143     DW_TAG_pointer_type = 0x0f,
144     DW_TAG_reference_type = 0x10,
145     DW_TAG_compile_unit = 0x11,
146     DW_TAG_string_type = 0x12,
147     DW_TAG_structure_type = 0x13,
148     DW_TAG_subroutine_type = 0x15,
149     DW_TAG_typedef = 0x16,
150     DW_TAG_union_type = 0x17,
151     DW_TAG_unspecified_parameters = 0x18,
152     DW_TAG_variant = 0x19,
153     DW_TAG_common_block = 0x1a,
154     DW_TAG_common_inclusion = 0x1b,
155     DW_TAG_inheritance = 0x1c,
156     DW_TAG_inlined_subroutine = 0x1d,
157     DW_TAG_module = 0x1e,
158     DW_TAG_ptr_to_member_type = 0x1f,
159     DW_TAG_set_type = 0x20,
160     DW_TAG_subrange_type = 0x21,
161     DW_TAG_with_stmt = 0x22,
162     DW_TAG_access_declaration = 0x23,
163     DW_TAG_base_type = 0x24,
164     DW_TAG_catch_block = 0x25,
165     DW_TAG_const_type = 0x26,
166     DW_TAG_constant = 0x27,
167     DW_TAG_enumerator = 0x28,
168     DW_TAG_file_type = 0x29,
169     DW_TAG_friend = 0x2a,
170     DW_TAG_namelist = 0x2b,
171     DW_TAG_namelist_item = 0x2c,
172     DW_TAG_packed_type = 0x2d,
173     DW_TAG_subprogram = 0x2e,
174     DW_TAG_template_type_param = 0x2f,
175     DW_TAG_template_value_param = 0x30,
176     DW_TAG_thrown_type = 0x31,
177     DW_TAG_try_block = 0x32,
178     DW_TAG_variant_part = 0x33,
179     DW_TAG_variable = 0x34,
180     DW_TAG_volatile_type = 0x35,
 181     /* DWARF 3.  */
182     DW_TAG_dwarf_procedure = 0x36,
183     DW_TAG_restrict_type = 0x37,
184     DW_TAG_interface_type = 0x38,
185     DW_TAG_namespace = 0x39,
186     DW_TAG_imported_module = 0x3a,
187     DW_TAG_unspecified_type = 0x3b,
188     DW_TAG_partial_unit = 0x3c,
189     DW_TAG_imported_unit = 0x3d,
 190     /* SGI/MIPS Extensions.  */
191     DW_TAG_MIPS_loop = 0x4081,
 192     /* HP extensions.  See: ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz .  */
193     DW_TAG_HP_array_descriptor = 0x4090,
 194     /* GNU extensions.  */
195     DW_TAG_format_label = 0x4101,       /* For FORTRAN 77 and Fortran 90.  */
196     DW_TAG_function_template = 0x4102,  /* For C++.  */
197     DW_TAG_class_template = 0x4103,     /* For C++.  */
198     DW_TAG_GNU_BINCL = 0x4104,
199     DW_TAG_GNU_EINCL = 0x4105,
 200     /* Extensions for UPC.  See: http://upc.gwu.edu/~upc.  */
201     DW_TAG_upc_shared_type = 0x8765,
202     DW_TAG_upc_strict_type = 0x8766,
203     DW_TAG_upc_relaxed_type = 0x8767,
 204     /* PGI (STMicroelectronics) extensions.  No documentation available.  */
205     DW_TAG_PGI_kanji_type      = 0xA000,
206     DW_TAG_PGI_interface_block = 0xA020
207   };

~
***-
~

 dwarf.h
  32 /* Tag names and codes.  */
33 
34 enum dwarf_tag {
35     TAG_padding                 = 0x0000,
36     TAG_array_type              = 0x0001,
37     TAG_class_type              = 0x0002,
38     TAG_entry_point             = 0x0003,
39     TAG_enumeration_type        = 0x0004,
40     TAG_formal_parameter        = 0x0005,
41     TAG_global_subroutine       = 0x0006,
42     TAG_global_variable         = 0x0007,
  43                                 /* 0x0008 -- reserved */
  44                                 /* 0x0009 -- reserved */
45     TAG_label                   = 0x000a,
46     TAG_lexical_block           = 0x000b,
47     TAG_local_variable          = 0x000c,
48     TAG_member                  = 0x000d,
  49                                 /* 0x000e -- reserved */
50     TAG_pointer_type            = 0x000f,
51     TAG_reference_type          = 0x0010,
52     TAG_compile_unit            = 0x0011,
53     TAG_string_type             = 0x0012,
54     TAG_structure_type          = 0x0013,
55     TAG_subroutine              = 0x0014,
56     TAG_subroutine_type         = 0x0015,
57     TAG_typedef                 = 0x0016,
58     TAG_union_type              = 0x0017,
59     TAG_unspecified_parameters  = 0x0018,
60     TAG_variant                 = 0x0019,
61     TAG_common_block            = 0x001a,
62     TAG_common_inclusion        = 0x001b,
63     TAG_inheritance             = 0x001c,
64     TAG_inlined_subroutine      = 0x001d,
65     TAG_module                  = 0x001e,
66     TAG_ptr_to_member_type      = 0x001f,
67     TAG_set_type                = 0x0020,
68     TAG_subrange_type           = 0x0021,
69     TAG_with_stmt               = 0x0022,
70 
  71     /* GNU extensions */
72 
73     TAG_format_label            = 0x8000,  /* for FORTRAN 77 and Fortran 90 */
74     TAG_namelist                = 0x8001,  /* For Fortran 90 */
75     TAG_function_template       = 0x8002,  /* for C++ */
76     TAG_class_template          = 0x8003   /* for C++ */
77 };


リンク元

Advertisement