forked from dtrace4linux/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibdwarfext.h
More file actions
173 lines (167 loc) · 8.82 KB
/
Copy pathlibdwarfext.h
File metadata and controls
173 lines (167 loc) · 8.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/**********************************************************************/
/* Additional definitions so we can compile with our own includes, */
/* and have no dependency on the OS includes. My AS4 system doesnt */
/* have the relevant includes. */
/* This is not a complete list of the relevant sections, but it */
/* will allow the compile of ctfconvert to proceed. */
/* This isnt useful since AS4 libdw.so is very out of date and */
/* missing functions. We'll keep this file for now in case/until I */
/* find a way to reinstate dwarf support on older Linux releases. */
/* */
/* Paul Fox March 2011 */
/**********************************************************************/
# if !HAVE_DWARF_H_ENUM
#define DW_AT_sibling 0x01
#define DW_AT_location 0x02
#define DW_AT_name 0x03
#define DW_AT_ordering 0x09
#define DW_AT_subscr_data 0x0a
#define DW_AT_byte_size 0x0b
#define DW_AT_bit_offset 0x0c
#define DW_AT_bit_size 0x0d
#define DW_AT_element_list 0x0f
#define DW_AT_stmt_list 0x10
#define DW_AT_low_pc 0x11
#define DW_AT_high_pc 0x12
#define DW_AT_language 0x13
#define DW_AT_member 0x14
#define DW_AT_discr 0x15
#define DW_AT_discr_value 0x16
#define DW_AT_visibility 0x17
#define DW_AT_import 0x18
#define DW_AT_string_length 0x19
#define DW_AT_common_reference 0x1a
#define DW_AT_comp_dir 0x1b
#define DW_AT_const_value 0x1c
#define DW_AT_containing_type 0x1d
#define DW_AT_default_value 0x1e
#define DW_AT_inline 0x20
#define DW_AT_is_optional 0x21
#define DW_AT_lower_bound 0x22
#define DW_AT_producer 0x25
#define DW_AT_prototyped 0x27
#define DW_AT_return_addr 0x2a
#define DW_AT_start_scope 0x2c
#define DW_AT_bit_stride 0x2e /* DWARF3 name */
#define DW_AT_stride_size 0x2e /* DWARF2 name */
#define DW_AT_upper_bound 0x2f
#define DW_AT_abstract_origin 0x31
#define DW_AT_accessibility 0x32
#define DW_AT_address_class 0x33
#define DW_AT_artificial 0x34
#define DW_AT_base_types 0x35
#define DW_AT_calling_convention 0x36
#define DW_AT_count 0x37
#define DW_AT_data_member_location 0x38
#define DW_AT_decl_column 0x39
#define DW_AT_decl_file 0x3a
#define DW_AT_decl_line 0x3b
#define DW_AT_declaration 0x3c
#define DW_AT_discr_list 0x3d
#define DW_AT_encoding 0x3e
#define DW_AT_external 0x3f
#define DW_AT_frame_base 0x40
#define DW_AT_friend 0x41
#define DW_AT_identifier_case 0x42
#define DW_AT_macro_info 0x43
#define DW_AT_namelist_item 0x44
#define DW_AT_priority 0x45
#define DW_AT_segment 0x46
#define DW_AT_specification 0x47
#define DW_AT_static_link 0x48
#define DW_AT_type 0x49
#define DW_AT_use_location 0x4a
#define DW_AT_variable_parameter 0x4b
#define DW_AT_virtuality 0x4c
#define DW_AT_vtable_elem_location 0x4d
#define DW_AT_allocated 0x4e /* DWARF3 */
#define DW_AT_associated 0x4f /* DWARF3 */
#define DW_AT_data_location 0x50 /* DWARF3 */
#define DW_AT_byte_stride 0x51 /* DWARF3f */
#define DW_AT_stride 0x51 /* DWARF3 (do not use) */
#define DW_AT_entry_pc 0x52 /* DWARF3 */
#define DW_AT_use_UTF8 0x53 /* DWARF3 */
#define DW_AT_extension 0x54 /* DWARF3 */
#define DW_AT_ranges 0x55 /* DWARF3 */
#define DW_AT_trampoline 0x56 /* DWARF3 */
#define DW_AT_call_column 0x57 /* DWARF3 */
#define DW_AT_call_file 0x58 /* DWARF3 */
#define DW_AT_call_line 0x59 /* DWARF3 */
#define DW_AT_description 0x5a /* DWARF3 */
#define DW_AT_binary_scale 0x5b /* DWARF3f */
#define DW_AT_decimal_scale 0x5c /* DWARF3f */
#define DW_AT_small 0x5d /* DWARF3f */
#define DW_AT_decimal_sign 0x5e /* DWARF3f */
#define DW_AT_digit_count 0x5f /* DWARF3f */
#define DW_AT_picture_string 0x60 /* DWARF3f */
#define DW_AT_mutable 0x61 /* DWARF3f */
#define DW_AT_threads_scaled 0x62 /* DWARF3f */
#define DW_AT_explicit 0x63 /* DWARF3f */
#define DW_AT_object_pointer 0x64 /* DWARF3f */
#define DW_AT_endianity 0x65 /* DWARF3f */
#define DW_AT_elemental 0x66 /* DWARF3f */
#define DW_AT_pure 0x67 /* DWARF3f */
#define DW_AT_recursive 0x68 /* DWARF3f */
#define DW_AT_signature 0x69 /* DWARF4 */
#define DW_AT_main_subprogram 0x6a /* DWARF4 */
#define DW_AT_data_bit_offset 0x6b /* DWARF4 */
#define DW_AT_const_expr 0x6c /* DWARF4 */
#define DW_AT_enum_class 0x6d /* DWARF4 */
#define DW_AT_linkage_name 0x6e /* DWARF4 */
#define DW_TAG_array_type 0x01
#define DW_TAG_class_type 0x02
#define DW_TAG_entry_point 0x03
#define DW_TAG_enumeration_type 0x04
#define DW_TAG_formal_parameter 0x05
#define DW_TAG_imported_declaration 0x08
#define DW_TAG_label 0x0a
#define DW_TAG_lexical_block 0x0b
#define DW_TAG_member 0x0d
#define DW_TAG_pointer_type 0x0f
#define DW_TAG_reference_type 0x10
#define DW_TAG_compile_unit 0x11
#define DW_TAG_string_type 0x12
#define DW_TAG_structure_type 0x13
#define DW_TAG_subroutine_type 0x15
#define DW_TAG_typedef 0x16
#define DW_TAG_union_type 0x17
#define DW_TAG_unspecified_parameters 0x18
#define DW_TAG_variant 0x19
#define DW_TAG_common_block 0x1a
#define DW_TAG_common_inclusion 0x1b
#define DW_TAG_inheritance 0x1c
#define DW_TAG_inlined_subroutine 0x1d
#define DW_TAG_module 0x1e
#define DW_TAG_ptr_to_member_type 0x1f
#define DW_TAG_set_type 0x20
#define DW_TAG_subrange_type 0x21
#define DW_TAG_with_stmt 0x22
#define DW_TAG_access_declaration 0x23
#define DW_TAG_base_type 0x24
#define DW_TAG_catch_block 0x25
#define DW_TAG_const_type 0x26
#define DW_TAG_constant 0x27
#define DW_TAG_enumerator 0x28
#define DW_TAG_file_type 0x29
#define DW_TAG_friend 0x2a
#define DW_TAG_namelist 0x2b
#define DW_TAG_packed_type 0x2d
#define DW_TAG_subprogram 0x2e
#define DW_TAG_variable 0x34
#define DW_TAG_volatile_type 0x35
#define DW_TAG_restrict_type 0x37 /* DWARF3 */
#define DW_VIS_local 0x01
#define DW_OP_plus_uconst 0x23
#define DW_AT_MIPS_linkage_name 0x2007 /* MIPS/SGI, GNU, and others.*/
#define DW_VIS_exported 0x02
#define DW_ATE_address 0x1
#define DW_ATE_boolean 0x2
#define DW_ATE_complex_float 0x3
#define DW_ATE_float 0x4
#define DW_ATE_signed 0x5
#define DW_ATE_signed_char 0x6
#define DW_ATE_unsigned 0x7
#define DW_ATE_unsigned_char 0x8
#define DW_ATE_imaginary_float 0x9 /* DWARF3 */
#define DW_ATE_packed_decimal 0xa /* DWARF3f */
# endif