Editorial cleanups mostly related to coarrays and assumed rank arrays.
[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
6 % A command to define a pair of name commands
7 %
8 %\newcommand{\newnamecommands}[2]{
9 %       \newcommand{\#1}   {\addtoindex{#2}}
10 %       \newcommand{\#1 LL}{\livelink{chap:#1}{#2}}
11 %       }
12
13 % DW_AT
14 %
15 \newcommand{\DWATbitsize}  {\addtoindex                {DW\_AT\_bit\_size}}
16 \newcommand{\DWATbitsizeLL}{\livelink{chap:DWATbitsize}{DW\_AT\_bit\_size}}
17 \newcommand{\DWATbytesize}  {\addtoindex                 {DW\_AT\_byte\_size}}
18 \newcommand{\DWATbytesizeLL}{\livelink{chap:DWATbytesize}{DW\_AT\_byte\_size}}
19 \newcommand{\DWATbytestride}  {\addtoindex                   {DW\_AT\_byte\_stride}}
20 \newcommand{\DWATbytestrideLL}{\livelink{chap:DWATbytestride}{DW\_AT\_byte\_stride}}
21 \newcommand{\DWATdatalocation}  {\addtoindex                     {DW\_AT\_data\_location}}
22 \newcommand{\DWATdatalocationLL}{\livelink{chap:DWATdatalocation}{DW\_AT\_data\_location}}
23 \newcommand{\DWATlocation}  {\addtoindex                 {DW\_AT\_location}}
24 \newcommand{\DWATlocationLL}{\livelink{chap:DWATlocation}{DW\_AT\_location}}
25 \newcommand{\DWATlowerbound}  {\addtoindex                   {DW\_AT\_lower\_bound}}
26 \newcommand{\DWATlowerboundLL}{\livelink{chap:DWATlowerbound}{DW\_AT\_lower\_bound}}
27 \newcommand{\DWATmacroinfo}  {\addtoindex                  {DW\_AT\_macro\_info}}
28 \newcommand{\DWATmacroinfoLL}{\livelink{chap:DWATmacroinfo}{DW\_AT\_macro\_info}}
29 \newcommand{\DWATname}  {\addtoindex             {DW\_AT\_name}}
30 \newcommand{\DWATnameLL}{\livelink{chap:DWATname}{DW\_AT\_name}}
31 \newcommand{\DWATordering}  {\addtoindex                 {DW\_AT\_ordering}}
32 \newcommand{\DWATorderingLL}{\livelink{chap:DWATordering}{DW\_AT\_ordering}}
33 \newcommand{\DWATranges}  {\addtoindex               {DW\_AT\_ranges}}
34 \newcommand{\DWATrangesLL}{\livelink{chap:DWATranges}{DW\_AT\_ranges}}
35 \newcommand{\DWATrank}{\addtoindex               {DW\_AT\_rank}}
36 \newcommand{\DWATrankLL}{\livelink{chap:DWATrank}{DW\_AT\_rank}}
37 \newcommand{\DWATsibling}  {\addtoindexx               {DW\_AT\_sibling}}
38 \newcommand{\DWATsiblingLL}{\livelink{chap:DWATsibling}{DW\_AT\_sibling}}
39 \newcommand{\DWATstmtlist}  {\addtoindex                 {DW\_AT\_stmt\_list}}
40 \newcommand{\DWATstmtlistLL}{\livelink{chap:DWATstmtlist}{DW\_AT\_stmt\_list}}
41 \newcommand{\DWATstringlength}  {\addtoindex                     {DW\_AT\_string\_length}}
42 \newcommand{\DWATstringlengthLL}{\livelink{chap:DWATstringlength}{DW\_AT\_string\_length}}
43 \newcommand{\DWATstringlengthbitsize}  {\addtoindex                            {DW\_AT\_string\_length\_bit\_size}}
44 \newcommand{\DWATstringlengthbitsizeLL}{\livelink{chap:DWATstringlengthbitsize}{DW\_AT\_string\_length\_bit\_size}}
45 \newcommand{\DWATstringlengthbytesize}  {\addtoindex                             {DW\_AT\_string\_length\_byte\_size}}
46 \newcommand{\DWATstringlengthbytesizeLL}{\livelink{chap:DWATstringlengthbytesize}{DW\_AT\_string\_length\_byte\_size}}
47 \newcommand{\DWATtype}  {\addtoindex             {DW\_AT\_type}}
48 \newcommand{\DWATtypeLL}{\livelink{chap:DWATtype}{DW\_AT\_type}}
49 \newcommand{\DWATupperbound}  {\addtoindex                   {DW\_AT\_upper\_bound}}
50 \newcommand{\DWATupperboundLL}{\livelink{chap:DWATupperbound}{DW\_AT\_upper\_bound}}
51 %
52 % DW_FORM
53 %
54 \newcommand{\DWFORMrefsigeight}{\addtoindex{DW\_FORM\_ref\_sig8}}
55 \newcommand{\DWFORMstrp}[1][]{\addtoindex{DW\_FORM\_strp}}
56 %
57 % DW_LANG
58 %
59 \newcommand{\DWLANGGo}{\addtoindex{DW\_LANG\_Go}}
60 \newcommand{\DWLANGHaskell}{\addtoindex{DW\_LANG\_Haskell}}
61 \newcommand{\DWLANGModulaThree}{\addtoindex{DW\_LANG\_Modula3}}
62 \newcommand{\DWLANGOpenCL}{\addtoindex{DW\_LANG\_OpenCL}}
63 %
64 % DW_OP
65 %
66 \newcommand{\DWOPcallref}  {\addtoindex                {DW\_OP\_call\_ref}}
67 \newcommand{\DWOPcallrefLL}{\livelink{chap:DWOPcallref}{DW\_OP\_call\_ref}}
68 \newcommand{\DWOPconst}  {\addtoindex              {DW\_OP\_const}}
69 \newcommand{\DWOPconstLL}{\livelink{chap:DWOPconst}{DW\_OP\_const}}
70 \newcommand{\DWOPderef}  {\addtoindex              {DW\_OP\_deref}}
71 \newcommand{\DWOPderefLL}{\livelink{chap:DWOPderef}{DW\_OP\_deref}}
72 \newcommand{\DWOPformtlsaddress}  {\addtoindex                       {DW\_OP\_form\_tls\_address}}
73 \newcommand{\DWOPformtlsaddressLL}{\livelink{chap:DWOPformtlsaddress}{DW\_OP\_form\_tls\_address}}
74 \newcommand{\DWOPlit}  {\addtoindex            {DW\_OP\_lit}}
75 \newcommand{\DWOPlitLL}{\livelink{chap:DWOPlit}{DW\_OP\_lit}}
76 \newcommand{\DWOPmult}  {\addtoindex             {DW\_OP\_mult}}
77 \newcommand{\DWOPmultLL}{\livelink{chap:DWOPmult}{DW\_OP\_mult}}
78 \newcommand{\DWOPplus}  {\addtoindex             {DW\_OP\_plus}}
79 \newcommand{\DWOPplusLL}{\livelink{chap:DWOPplus}{DW\_OP\_plus}}
80 \newcommand{\DWOPpushobjectaddress}  {\addtoindex                          {DW\_OP\_push\_object\_address}}
81 \newcommand{\DWOPpushobjectaddressLL}{\livelink{chap:DWOPpushobjectaddress}{DW\_OP\_push\_object\_address}}
82 %
83 % DW_ORD
84 %
85 \newcommand{\DWORDcolmajor}  {\addtoindex                  {DW\_ORD\_col\_major}}
86 \newcommand{\DWORDcolmajorLL}{\livelink{chap:DWORDcolmajor}{DW\_ORD\_col\_major}}
87 \newcommand{\DWORDrowmajor}  {\addtoindex                  {DW\_ORD\_row\_major}}
88 \newcommand{\DWORDrowmajorLL}{\livelink{chap:DWORDrowmajor}{DW\_ORD\_row\_major}}
89 %
90 % DW_TAG
91 %
92 \newcommand{\DWTAGarraytype}  {\addtoindex                   {DW\_TAG\_array\_type}}
93 \newcommand{\DWTAGarraytypeLL}{\livelink{chap:DWTAGarraytype}{DW\_TAG\_array\_type}}
94 \newcommand{\DWTAGcoarraytype}  {\addtoindex                     {DW\_TAG\_coarray\_type}}
95 \newcommand{\DWTAGcoarraytypeLL}{\livelink{chap:DWTAGcoarraytype}{DW\_TAG\_coarray\_type}}
96 \newcommand{\DWTAGgenericsubrange}  {\addtoindex                        {DW\_TAG\_generic\_subrange}}
97 \newcommand{\DWTAGgenericsubrangeLL}{\livelink{chap:DWTAGgenericsubtype}{DW\_TAG\_generic\_subrange}}
98 \newcommand{\DWTAGmember}  {\addtoindex                {DW\_TAG\_member}}
99 \newcommand{\DWTAGmemberLL}{\livelink{chap:DWTAGmember}{DW\_TAG\_member}}
100 \newcommand{\DWTAGsubrangetype}  {\addtoindex                      {DW\_TAG\_subrange\_type}}
101 \newcommand{\DWTAGsubrangetypeLL}{\livelink{chap:DWTAGsubrangetype}{DW\_TAG\_subrange\_type}}
102 \newcommand{\DWTAGvariable}  {\addtoindex                  {DW\_TAG\_variable}}
103 \newcommand{\DWTAGvariableLL}{\livelink{chap:DWTAGvariable}{DW\_TAG\_variable}}
104 %
105 % .debug, et al
106 %
107 \newcommand{\dotdebugabbrev}[1][]{\addtoindex{\texttt{.debug\_abbrev}}}
108 \newcommand{\dotdebugaranges}[1][]{\addtoindex{\texttt{.debug\_aranges}}}
109 \newcommand{\dotdebugframe}[1][]{\addtoindex{\texttt{.debug\_frame}}}
110 \newcommand{\dotdebuginfo}[1][]{\addtoindex{\texttt{.debug\_info}}}
111 \newcommand{\dotdebugline}[1][]{\addtoindex{\texttt{.debug\_line}}}
112 \newcommand{\dotdebugloc}[1][]{\addtoindex{\texttt{.debug\_loc}}}
113 \newcommand{\dotdebugmacinfo}[1][]{\addtoindex{\texttt{.debug\_mac\_info}}}
114 \newcommand{\dotdebugpubnames}[1][]{\addtoindex{\texttt{.debug\_pubnames}}}
115 \newcommand{\dotdebugpubtypes}[1][]{\addtoindex{\texttt{.debug\_pubtypes}}}
116 \newcommand{\dotdebugranges}[1][]{\addtoindex{\texttt{.debug\_ranges}}}
117 \newcommand{\dotdebugstr}[1][]{\addtoindex{\texttt{.debug\_str}}}
118 \newcommand{\dotdebugtypes}[1][]{\addtoindex{\texttt{.debug\_types}}}
119 %
120 \newcommand{\dotdata}[1][]{\addtoindex{\texttt{.data}}}
121 \newcommand{\dottext}[1][]{\addtoindex{\texttt{.text}}}
122 %
123 % Current section version numbers
124 %
125 \newcommand{\versiondotdebugabbrev}  {5}
126 \newcommand{\versiondotdebugaranges} {2}
127 \newcommand{\versiondotdebugframe}   {4}
128 \newcommand{\versiondotdebuginfo}    {5}
129 \newcommand{\versiondotdebugline}    {4}
130 \newcommand{\versiondotdebugloc}     {5}
131 \newcommand{\versiondotdebugmacinfo} {5}
132 \newcommand{\versiondotdebugpubnames}{2}
133 \newcommand{\versiondotdebugpubtypes}{2}
134 \newcommand{\versiondotdebugranges}  {5}
135 \newcommand{\versiondotdebugstr}     {5}
136 \newcommand{\versiondotdebugtypes}   {\versiondotdebuginfo}
137