1 .\" Copyright (c) 2011 Kai Wang
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" $Id: dwarf_get_AT_name.3 3142 2015-01-29 23:11:14Z jkoshy $
29 .Dt DWARF_GET_AT_NAME 3
31 .Nm dwarf_get_ACCESS_name ,
32 .Nm dwarf_get_AT_name ,
33 .Nm dwarf_get_ATE_name ,
34 .Nm dwarf_get_CC_name ,
35 .Nm dwarf_get_CFA_name ,
36 .Nm dwarf_get_CHILDREN_name ,
37 .Nm dwarf_get_DS_name ,
38 .Nm dwarf_get_DSC_name ,
39 .Nm dwarf_get_EH_name ,
40 .Nm dwarf_get_END_name ,
41 .Nm dwarf_get_FORM_name ,
42 .Nm dwarf_get_ID_name ,
43 .Nm dwarf_get_INL_name ,
44 .Nm dwarf_get_LANG_name ,
45 .Nm dwarf_get_LNE_name ,
46 .Nm dwarf_get_LNS_name ,
47 .Nm dwarf_get_MACINFO_name ,
48 .Nm dwarf_get_OP_name ,
49 .Nm dwarf_get_ORD_name ,
50 .Nm dwarf_get_TAG_name ,
51 .Nm dwarf_get_VIRTUALITY_name ,
52 .Nm dwarf_get_VIS_name
53 .Nd retrieve the symbolic names of DWARF constants
59 .Fo dwarf_get_ACCESS_name
69 .Fo dwarf_get_ATE_name
79 .Fo dwarf_get_CFA_name
84 .Fo dwarf_get_CHILDREN_name
94 .Fo dwarf_get_DSC_name
104 .Fo dwarf_get_END_name
109 .Fo dwarf_get_FORM_name
114 .Fo dwarf_get_ID_name
119 .Fo dwarf_get_INL_name
124 .Fo dwarf_get_LANG_name
129 .Fo dwarf_get_LNE_name
134 .Fo dwarf_get_LNS_name
139 .Fo dwarf_get_MACINFO_name
144 .Fo dwarf_get_OP_name
149 .Fo dwarf_get_ORD_name
154 .Fo dwarf_get_TAG_name
159 .Fo dwarf_get_VIRTUALITY_name
164 .Fo dwarf_get_VIS_name
169 These functions return the symbolic name of a numeric DWARF constant.
173 specifies the numeric value whose symbolic name is desired.
177 should point to a location which will hold the returned
178 NUL-terminated string containing the symbolic name of the
181 The list of functions and the DWARF constants that they accept are:
183 .Bl -tag -width ".Fn dwarf_get_VIRTUALITY_name" -compact
184 .It Fn dwarf_get_ACCESS_name
187 .It Fn dwarf_get_AT_name
190 .It Fn dwarf_get_ATE_name
193 .It Fn dwarf_get_CC_name
196 .It Fn dwarf_get_CFA_name
199 .It Fn dwarf_get_CHILDREN_name
202 .It Fn dwarf_get_DS_name
205 .It Fn dwarf_get_DSC_name
208 .It Fn dwarf_get_EH_name
211 .It Fn dwarf_get_END_name
214 .It Fn dwarf_get_FORM_name
217 .It Fn dwarf_get_ID_name
220 .It Fn dwarf_get_INL_name
223 .It Fn dwarf_get_LANG_name
226 .It Fn dwarf_get_LNE_name
229 .It Fn dwarf_get_LNS_name
232 .It Fn dwarf_get_MACINFO_name
235 .It Fn dwarf_get_OP_name
238 .It Fn dwarf_get_ORD_name
241 .It Fn dwarf_get_TAG_name
244 .It Fn dwarf_get_VIRTUALITY_name
247 .It Fn dwarf_get_VIS_name
252 These functions return
253 .Dv DW_DLV_OK on success.
254 If the DWARF constant denoted by argument
256 is not recognized, these function return
257 .Dv DW_DLV_NO_ENTRY .