c14083507712bf5bc35e083f73423abd0cb4f72c
[dwarf-doc.git] / dwarf5 / latexdoc / dwarfnamecmds.tex
1 % Definitions for each of the DWARF names
2 % These eliminate the need to use escapes for the underscores and
3 % add entries for indexing
4 %
5 % DW_AT
6 %
7 \newcommand{\DWATbitsize}{\addtoindex{DW\_AT\_bit\_size}}
8 \newcommand{\DWATbytesize}{\addtoindex{DW\_AT\_byte\_size}}
9 \newcommand{\DWATlocation}[1][]{\addtoindex{DW\_AT\_location}}
10 \newcommand{\DWATlowerbound}{\addtoindex{DW\_AT\_lower\_bound}}
11 \newcommand{\DWATmacroinfo}[1][]{\addtoindex{DW\_AT\_macro\_info}}
12 \newcommand{\DWATname}{\addtoindex{DW\_AT\_name}}
13 \newcommand{\DWATordering}{\addtoindex{DW\_AT\_ordering}}
14 \newcommand{\DWATranges}[1][]{\addtoindex{DW\_AT\_ranges}}
15 \newcommand{\DWATsibling}{\addtoindexx{DW\_AT\_sibling}}
16 \newcommand{\DWATstmtlist}[1][]{\addtoindex{DW\_AT\_stmt\_list}}
17 \newcommand{\DWATstringlength}{\addtoindex{DW\_AT\_string\_length}}
18 \newcommand{\DWATstringlengthbitsize}{\addtoindex{DW\_AT\_string\_length\_bit\_size}}
19 \newcommand{\DWATstringlengthbytesize}{\addtoindex{DW\_AT\_string\_length\_byte\_size}}
20 \newcommand{\DWATtype}{\addtoindex{DW\_AT\_type}}
21 \newcommand{\DWATupperbound}{\addtoindex{DW\_AT\_upper\_bound}}
22 %
23 % DW_FORM
24 %
25 \newcommand{\DWFORMrefsigeight}{\addtoindex{DW\_FORM\_ref\_sig8}}
26 \newcommand{\DWFORMstrp}[1][]{\addtoindex{DW\_FORM\_strp}}
27 %
28 % DW_LANG
29 %
30 \newcommand{\DWLANGGo}{\addtoindex{DW\_LANG\_Go}}
31 \newcommand{\DWLANGHaskell}{\addtoindex{DW\_LANG\_Haskell}}
32 \newcommand{\DWLANGModulaThree}{\addtoindex{DW\_LANG\_Modula3}}
33 \newcommand{\DWLANGOpenCL}{\addtoindex{DW\_LANG\_OpenCL}}
34 %
35 % DW_OP
36 %
37 \newcommand{\DWOPcallref}[1][]{\addtoindex{DW\_OP\_call\_ref}}
38 \newcommand{\DWOPconst}{\addtoindex{DW\_OP\_const}}
39 \newcommand{\DWOPformtlsaddress}{\addtoindex{DW\_OP\_form\_tls\_address}}
40 %
41 % DW_ORD
42 %
43 \newcommand{\DWORDcolmajor}{\addtoindex{DW\_ORD\_col\_major}}
44 \newcommand{\DWORDrowmajor}{\addtoindex{DW\_ORD\_row\_major}}
45 %
46 % DW_TAG
47 %
48 \newcommand{\DWTAGarraytype}{\addtoindex{DW\_TAG\_array\_type}}
49 \newcommand{\DWTAGcoarraytype}{\addtoindex{DW\_TAG\_coarray\_type}}
50 \newcommand{\DWTAGmember}{\addtoindex{DW\_TAG\_member}}
51 \newcommand{\DWTAGsubrangetype}{\addtoindex{DW\_TAG\_subrange\_type}}
52 \newcommand{\DWTAGvariable}{\addtoindex{DW\_TAG\_variable}}
53 %
54 % .debug, et al
55 %
56 \newcommand{\dotdebugabbrev}[1][]{\addtoindex{\texttt{.debug\_abbrev}}}
57 \newcommand{\dotdebugaranges}[1][]{\addtoindex{\texttt{.debug\_aranges}}}
58 \newcommand{\dotdebugframe}[1][]{\addtoindex{\texttt{.debug\_frame}}}
59 \newcommand{\dotdebuginfo}[1][]{\addtoindex{\texttt{.debug\_info}}}
60 \newcommand{\dotdebugline}[1][]{\addtoindex{\texttt{.debug\_line}}}
61 \newcommand{\dotdebugloc}[1][]{\addtoindex{\texttt{.debug\_loc}}}
62 \newcommand{\dotdebugmacinfo}[1][]{\addtoindex{\texttt{.debug\_mac\_info}}}
63 \newcommand{\dotdebugpubnames}[1][]{\addtoindex{\texttt{.debug\_pubnames}}}
64 \newcommand{\dotdebugpubtypes}[1][]{\addtoindex{\texttt{.debug\_pubtypes}}}
65 \newcommand{\dotdebugranges}[1][]{\addtoindex{\texttt{.debug\_ranges}}}
66 \newcommand{\dotdebugstr}[1][]{\addtoindex{\texttt{.debug\_str}}}
67 \newcommand{\dotdebugtypes}[1][]{\addtoindex{\texttt{.debug\_types}}}
68 %
69 \newcommand{\dotdata}[1][]{\addtoindex{\texttt{.data}}}
70 \newcommand{\dottext}[1][]{\addtoindex{\texttt{.text}}}
71 %
72 % Current section version numbers
73 %
74 \newcommand{\versiondotdebugabbrev}  {5}
75 \newcommand{\versiondotdebugaranges} {2}
76 \newcommand{\versiondotdebugframe}   {4}
77 \newcommand{\versiondotdebuginfo}    {5}
78 \newcommand{\versiondotdebugline}    {4}
79 \newcommand{\versiondotdebugloc}     {5}
80 \newcommand{\versiondotdebugmacinfo} {5}
81 \newcommand{\versiondotdebugpubnames}{2}
82 \newcommand{\versiondotdebugpubtypes}{2}
83 \newcommand{\versiondotdebugranges}  {5}
84 \newcommand{\versiondotdebugstr}     {5}
85 \newcommand{\versiondotdebugtypes}   {\versiondotdebuginfo}
86