37650393dba0b351bf0c3be54401352037145ff3
[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{\DWATrank}[1][]{\addtoindex{DW\_AT\_rank}}
16 \newcommand{\DWATsibling}{\addtoindexx{DW\_AT\_sibling}}
17 \newcommand{\DWATstmtlist}[1][]{\addtoindex{DW\_AT\_stmt\_list}}
18 \newcommand{\DWATstringlength}{\addtoindex{DW\_AT\_string\_length}}
19 \newcommand{\DWATstringlengthbitsize}{\addtoindex{DW\_AT\_string\_length\_bit\_size}}
20 \newcommand{\DWATstringlengthbytesize}{\addtoindex{DW\_AT\_string\_length\_byte\_size}}
21 \newcommand{\DWATtype}{\addtoindex{DW\_AT\_type}}
22 \newcommand{\DWATupperbound}{\addtoindex{DW\_AT\_upper\_bound}}
23 %
24 % DW_FORM
25 %
26 \newcommand{\DWFORMrefsigeight}{\addtoindex{DW\_FORM\_ref\_sig8}}
27 \newcommand{\DWFORMstrp}[1][]{\addtoindex{DW\_FORM\_strp}}
28 %
29 % DW_LANG
30 %
31 \newcommand{\DWLANGGo}{\addtoindex{DW\_LANG\_Go}}
32 \newcommand{\DWLANGHaskell}{\addtoindex{DW\_LANG\_Haskell}}
33 \newcommand{\DWLANGModulaThree}{\addtoindex{DW\_LANG\_Modula3}}
34 \newcommand{\DWLANGOpenCL}{\addtoindex{DW\_LANG\_OpenCL}}
35 %
36 % DW_OP
37 %
38 \newcommand{\DWOPcallref}[1][]{\addtoindex{DW\_OP\_call\_ref}}
39 \newcommand{\DWOPconst}{\addtoindex{DW\_OP\_const}}
40 \newcommand{\DWOPformtlsaddress}{\addtoindex{DW\_OP\_form\_tls\_address}}
41 %
42 % DW_ORD
43 %
44 \newcommand{\DWORDcolmajor}{\addtoindex{DW\_ORD\_col\_major}}
45 \newcommand{\DWORDrowmajor}{\addtoindex{DW\_ORD\_row\_major}}
46 %
47 % DW_TAG
48 %
49 \newcommand{\DWTAGarraytype}{\addtoindex{DW\_TAG\_array\_type}}
50 \newcommand{\DWTAGcoarraytype}{\addtoindex{DW\_TAG\_coarray\_type}}
51 \newcommand{\DWTAGgenericsubrange}{\addtoindex{DW\_TAG\_generic\_subrange}}
52 \newcommand{\DWTAGmember}{\addtoindex{DW\_TAG\_member}}
53 \newcommand{\DWTAGsubrangetype}{\addtoindex{DW\_TAG\_subrange\_type}}
54 \newcommand{\DWTAGvariable}{\addtoindex{DW\_TAG\_variable}}
55 %
56 % .debug, et al
57 %
58 \newcommand{\dotdebugabbrev}[1][]{\addtoindex{\texttt{.debug\_abbrev}}}
59 \newcommand{\dotdebugaranges}[1][]{\addtoindex{\texttt{.debug\_aranges}}}
60 \newcommand{\dotdebugframe}[1][]{\addtoindex{\texttt{.debug\_frame}}}
61 \newcommand{\dotdebuginfo}[1][]{\addtoindex{\texttt{.debug\_info}}}
62 \newcommand{\dotdebugline}[1][]{\addtoindex{\texttt{.debug\_line}}}
63 \newcommand{\dotdebugloc}[1][]{\addtoindex{\texttt{.debug\_loc}}}
64 \newcommand{\dotdebugmacinfo}[1][]{\addtoindex{\texttt{.debug\_mac\_info}}}
65 \newcommand{\dotdebugpubnames}[1][]{\addtoindex{\texttt{.debug\_pubnames}}}
66 \newcommand{\dotdebugpubtypes}[1][]{\addtoindex{\texttt{.debug\_pubtypes}}}
67 \newcommand{\dotdebugranges}[1][]{\addtoindex{\texttt{.debug\_ranges}}}
68 \newcommand{\dotdebugstr}[1][]{\addtoindex{\texttt{.debug\_str}}}
69 \newcommand{\dotdebugtypes}[1][]{\addtoindex{\texttt{.debug\_types}}}
70 %
71 \newcommand{\dotdata}[1][]{\addtoindex{\texttt{.data}}}
72 \newcommand{\dottext}[1][]{\addtoindex{\texttt{.text}}}
73 %
74 % Current section version numbers
75 %
76 \newcommand{\versiondotdebugabbrev}  {5}
77 \newcommand{\versiondotdebugaranges} {2}
78 \newcommand{\versiondotdebugframe}   {4}
79 \newcommand{\versiondotdebuginfo}    {5}
80 \newcommand{\versiondotdebugline}    {4}
81 \newcommand{\versiondotdebugloc}     {5}
82 \newcommand{\versiondotdebugmacinfo} {5}
83 \newcommand{\versiondotdebugpubnames}{2}
84 \newcommand{\versiondotdebugpubtypes}{2}
85 \newcommand{\versiondotdebugranges}  {5}
86 \newcommand{\versiondotdebugstr}     {5}
87 \newcommand{\versiondotdebugtypes}   {\versiondotdebuginfo}
88