diff options
author | Ron Brender <ron.brender@gmail.com> | 2017-01-18 09:07:48 -0500 |
---|---|---|
committer | Ron Brender <ron.brender@gmail.com> | 2017-01-18 09:07:48 -0500 |
commit | c0f5129bcd32337e81f9969a34ab31b0fced44bf (patch) | |
tree | 854a26d6d50fe0f9fcbe49e603af40140ed62ca9 | |
parent | Merge branch 'HEAD' of dwarfgit@dwarfstd.org:dwarf-doc.git (diff) | |
download | dwarf-doc-c0f5129bcd32337e81f9969a34ab31b0fced44bf.tar.gz dwarf-doc-c0f5129bcd32337e81f9969a34ab31b0fced44bf.tar.bz2 dwarf-doc-c0f5129bcd32337e81f9969a34ab31b0fced44bf.tar.xz |
Incorporate 161122.1, the fixed sized variants of DW_FORM_strx.
Signed-off-by: Ron Brender <ron.brender@gmail.com>
-rw-r--r-- | dwarf5/latexdoc/changesummary.tex | 3 | ||||
-rw-r--r-- | dwarf5/latexdoc/datarepresentation.tex | 46 | ||||
-rw-r--r-- | dwarf5/latexdoc/debugsectionrelationships.tex | 23 | ||||
-rw-r--r-- | dwarf5/latexdoc/dwarf5.tex | 2 | ||||
-rw-r--r-- | dwarf5/latexdoc/dwarfnamecmds.tex | 12 | ||||
-rw-r--r-- | dwarf5/latexdoc/generaldescription.tex | 10 | ||||
-rw-r--r-- | dwarf5/latexdoc/introduction.tex | 5 | ||||
-rw-r--r-- | dwarf5/latexdoc/otherdebugginginformation.tex | 8 | ||||
-rw-r--r-- | dwarf5/latexdoc/programscope.tex | 8 | ||||
-rw-r--r-- | dwarf5/latexdoc/splitobjects.tex | 16 |
10 files changed, 96 insertions, 37 deletions
diff --git a/dwarf5/latexdoc/changesummary.tex b/dwarf5/latexdoc/changesummary.tex index 227a27e..95b4d23 100644 --- a/dwarf5/latexdoc/changesummary.tex +++ b/dwarf5/latexdoc/changesummary.tex | |||
@@ -15,7 +15,8 @@ This change summary is included only in draft versions of this document. | |||
15 | \begin{longtable}{ll} | 15 | \begin{longtable}{ll} |
16 | \textbf{Date} & \textbf{Issue Incorporated or Other Change} \\ \hline \\ | 16 | \textbf{Date} & \textbf{Issue Incorporated or Other Change} \\ \hline \\ |
17 | \endhead | 17 | \endhead |
18 | 1/162017 & Changes from meeting of 1/3/2017 \\ | 18 | 1/18/2017 % 161122.1 (fixed size variants of \DWFORMstrxNAM) \\ |
19 | 1/16/2017 & Changes from meeting of 1/3/2017 \\ | ||
19 | 12/18/2016 & Changes from meeting of 12/6/2016 \\ | 20 | 12/18/2016 & Changes from meeting of 12/6/2016 \\ |
20 | 10/10-11/26/2016& Miscellaneous editorial tweaks during public review \\ | 21 | 10/10-11/26/2016& Miscellaneous editorial tweaks during public review \\ |
21 | 10/6/2016 & Prepare Public Review Draft, delete bullet 7 in 7.4, other tweaks. \\ | 22 | 10/6/2016 & Prepare Public Review Draft, delete bullet 7 in 7.4, other tweaks. \\ |
diff --git a/dwarf5/latexdoc/datarepresentation.tex b/dwarf5/latexdoc/datarepresentation.tex index 5313e51..75c8db1 100644 --- a/dwarf5/latexdoc/datarepresentation.tex +++ b/dwarf5/latexdoc/datarepresentation.tex | |||
@@ -277,13 +277,19 @@ used by the \dotdebuginfo{} section. | |||
277 | \item | 277 | \item |
278 | A string table, in the \dotdebugstr{} section. The string | 278 | A string table, in the \dotdebugstr{} section. The string |
279 | table is necessary only if the skeleton compilation unit | 279 | table is necessary only if the skeleton compilation unit |
280 | uses either indirect string form, \DWFORMstrp{} or | 280 | \bb |
281 | \DWFORMstrx. | 281 | uses one of the indirect string forms (\DWFORMstrp{}, |
282 | \DWFORMstrxXNor). | ||
283 | \eb | ||
282 | \item | 284 | \item |
283 | A string offsets table, in the \dotdebugstroffsets{} | 285 | A string offsets table, in the \dotdebugstroffsets{} |
284 | section for strings in the \dotdebugstr{} section. | 286 | section for strings in the \dotdebugstr{} section. |
285 | The string offsets table is necessary only if | 287 | The string offsets table is necessary only if |
286 | the skeleton compilation unit uses the \DWFORMstrx{} form. | 288 | the skeleton compilation unit uses |
289 | \bb | ||
290 | one of the indexed string forms | ||
291 | \eb | ||
292 | (\DWFORMstrxXN). | ||
287 | \end{itemize} | 293 | \end{itemize} |
288 | The attributes contained in the skeleton compilation | 294 | The attributes contained in the skeleton compilation |
289 | unit can be used by a DWARF consumer to find the | 295 | unit can be used by a DWARF consumer to find the |
@@ -425,8 +431,11 @@ files, and combined, section by section: | |||
425 | \end{alltt} | 431 | \end{alltt} |
426 | 432 | ||
427 | The string table section in \dotdebugstrdwo{} contains all the | 433 | The string table section in \dotdebugstrdwo{} contains all the |
428 | strings referenced from DWARF attributes using the form | 434 | strings referenced from DWARF attributes using |
429 | \DWFORMstrx. Any attribute in a compilation unit or a type | 435 | \bb |
436 | any of the forms | ||
437 | \eb | ||
438 | \DWFORMstrxXNor. Any attribute in a compilation unit or a type | ||
430 | unit using this form refers to an entry in that unit's | 439 | unit using this form refers to an entry in that unit's |
431 | contribution to the \dotdebugstroffsetsdwo{} section, which in turn | 440 | contribution to the \dotdebugstroffsetsdwo{} section, which in turn |
432 | provides the offset of a string in the \dotdebugstrdwo{} | 441 | provides the offset of a string in the \dotdebugstrdwo{} |
@@ -1244,7 +1253,6 @@ null entries. | |||
1244 | 1253 | ||
1245 | \subsection{Abbreviations Tables} | 1254 | \subsection{Abbreviations Tables} |
1246 | \label{datarep:abbreviationstables} | 1255 | \label{datarep:abbreviationstables} |
1247 | |||
1248 | The abbreviations tables for all compilation units | 1256 | The abbreviations tables for all compilation units |
1249 | are contained in a separate object file section called | 1257 | are contained in a separate object file section called |
1250 | \dotdebugabbrev{}. | 1258 | \dotdebugabbrev{}. |
@@ -1267,7 +1275,7 @@ number that encodes the entry\textquoteright s tag. The encodings for the | |||
1267 | tag names are given in | 1275 | tag names are given in |
1268 | Table \refersec{tab:tagencodings}. | 1276 | Table \refersec{tab:tagencodings}. |
1269 | 1277 | ||
1270 | \needlines{6} | 1278 | \needlines{10} |
1271 | \begin{centering} | 1279 | \begin{centering} |
1272 | \setlength{\extrarowheight}{0.1cm} | 1280 | \setlength{\extrarowheight}{0.1cm} |
1273 | \begin{longtable}{l|c} | 1281 | \begin{longtable}{l|c} |
@@ -2207,10 +2215,19 @@ it is an 8-byte unsigned offset | |||
2207 | \needlines{6} | 2215 | \needlines{6} |
2208 | \item as an indirect offset into the string table using an | 2216 | \item as an indirect offset into the string table using an |
2209 | index into a table of offsets contained in the | 2217 | index into a table of offsets contained in the |
2210 | \dotdebugstroffsets{} section of the object file (\DWFORMstrxTARG). | 2218 | \dotdebugstroffsets{} section of the object file |
2219 | \bb | ||
2220 | (\DWFORMstrxTARG, \DWFORMstrxoneTARG, \DWFORMstrxtwoTARG, \DWFORMstrxthreeTARG{} and \DWFORMstrxfourTARG). | ||
2221 | \eb | ||
2211 | The representation of a \DWFORMstrxNAME{} value is an unsigned | 2222 | The representation of a \DWFORMstrxNAME{} value is an unsigned |
2212 | \addtoindex{LEB128} value, which is interpreted as a zero-based | 2223 | \addtoindex{LEB128} value, which is interpreted as a zero-based |
2213 | index into an array of offsets in the \dotdebugstroffsets{} section. | 2224 | index into an array of offsets in the \dotdebugstroffsets{} section. |
2225 | \bb | ||
2226 | The representation of a \DWFORMstrxoneNAME, \DWFORMstrxtwoNAME, | ||
2227 | \DWFORMstrxthreeNAME{} or \DWFORMstrxfourNAME{} value is a | ||
2228 | 1-, 2-, 3- or 4-byte unsigned integer value, respectively, | ||
2229 | which is similarly interpretated. | ||
2230 | \eb | ||
2214 | The offset entries in the \dotdebugstroffsets{} section have the | 2231 | The offset entries in the \dotdebugstroffsets{} section have the |
2215 | same representation as \DWFORMstrp{} values. | 2232 | same representation as \DWFORMstrp{} values. |
2216 | \end{itemize} | 2233 | \end{itemize} |
@@ -2320,6 +2337,12 @@ Table \referfol{tab:attributeformencodings}. | |||
2320 | \DWFORMloclistx~\ddag &0x22 &\CLASSloclist \\ | 2337 | \DWFORMloclistx~\ddag &0x22 &\CLASSloclist \\ |
2321 | \DWFORMrnglistx~\ddag &0x23 &\CLASSrnglist \\ | 2338 | \DWFORMrnglistx~\ddag &0x23 &\CLASSrnglist \\ |
2322 | \DWFORMrefsupeight{}~\ddag &0x24 &\CLASSreference \\ | 2339 | \DWFORMrefsupeight{}~\ddag &0x24 &\CLASSreference \\ |
2340 | \bb | ||
2341 | \DWFORMstrxone{}~\ddag &0x25 &\CLASSstring \\ | ||
2342 | \DWFORMstrxtwo{}~\ddag &0x26 &\CLASSstring \\ | ||
2343 | \DWFORMstrxthree{}~\ddag &0x27 &\CLASSstring \\ | ||
2344 | \eb | ||
2345 | \DWFORMstrxfour{}~\ddag &0x28 &\CLASSstring \\ | ||
2323 | \end{longtable} | 2346 | \end{longtable} |
2324 | \end{centering} | 2347 | \end{centering} |
2325 | 2348 | ||
@@ -2933,6 +2956,7 @@ Table \refersec{tab:identifiercaseencodings}. | |||
2933 | \end{longtable} | 2956 | \end{longtable} |
2934 | \end{centering} | 2957 | \end{centering} |
2935 | 2958 | ||
2959 | \needlines{8} | ||
2936 | \section{Calling Convention Encodings} | 2960 | \section{Calling Convention Encodings} |
2937 | \label{datarep:callingconventionencodings} | 2961 | \label{datarep:callingconventionencodings} |
2938 | The encodings of the constants used in the | 2962 | The encodings of the constants used in the |
@@ -2998,6 +3022,7 @@ Table \refersec{tab:inlineencodings}. | |||
2998 | % this clearpage is ugly, but the following table came | 3022 | % this clearpage is ugly, but the following table came |
2999 | % out oddly without it. | 3023 | % out oddly without it. |
3000 | 3024 | ||
3025 | \needlines{10} | ||
3001 | \section{Array Ordering} | 3026 | \section{Array Ordering} |
3002 | \label{datarep:arrayordering} | 3027 | \label{datarep:arrayordering} |
3003 | 3028 | ||
@@ -3063,8 +3088,9 @@ Table \refersec{tab:discriminantdescriptorencodings}. | |||
3063 | The \addtoindexi{version number}{version number!name index table} | 3088 | The \addtoindexi{version number}{version number!name index table} |
3064 | in the name index table header is \versiondotdebugnames{}. | 3089 | in the name index table header is \versiondotdebugnames{}. |
3065 | 3090 | ||
3066 | The name index attributes and their encodings are listed in Table \referfol{datarep:indexattributeencodings}. | 3091 | The name index attributes and their encodings are listed in Table \refersec{datarep:indexattributeencodings}. |
3067 | 3092 | ||
3093 | \needlines{14} | ||
3068 | \begin{centering} | 3094 | \begin{centering} |
3069 | \setlength{\extrarowheight}{0.1cm} | 3095 | \setlength{\extrarowheight}{0.1cm} |
3070 | \begin{longtable}{l|c|l} | 3096 | \begin{longtable}{l|c|l} |
diff --git a/dwarf5/latexdoc/debugsectionrelationships.tex b/dwarf5/latexdoc/debugsectionrelationships.tex index cc54943..4bb607a 100644 --- a/dwarf5/latexdoc/debugsectionrelationships.tex +++ b/dwarf5/latexdoc/debugsectionrelationships.tex | |||
@@ -68,7 +68,7 @@ or shareable file and a related \addtoindex{supplementary object file}. | |||
68 | \node(zlinkd) at (5, 12.1) [link] {\DWFORMstrp{}~~(d)}; | 68 | \node(zlinkd) at (5, 12.1) [link] {\DWFORMstrp{}~~(d)}; |
69 | \node(zlinke) at (5, 10.4) [link] {\begin{tabular}{c} | 69 | \node(zlinke) at (5, 10.4) [link] {\begin{tabular}{c} |
70 | \DWATstroffsetsbase \\ | 70 | \DWATstroffsetsbase \\ |
71 | \DWFORMstrx{}~~~~~~~~~(e) \\ | 71 | \DWFORMstrx\textit{[1,2,3,4]}{}~(e) \\ |
72 | \end{tabular}}; | 72 | \end{tabular}}; |
73 | \node(zlinkf) at (5, 8.4) [link] {\begin{tabular}{c} | 73 | \node(zlinkf) at (5, 8.4) [link] {\begin{tabular}{c} |
74 | \DWOPcallref{}~~~~~(f) \\ | 74 | \DWOPcallref{}~~~~~(f) \\ |
@@ -215,8 +215,11 @@ DIE is the offset in the | |||
215 | \dotdebugstroffsets{} section of the | 215 | \dotdebugstroffsets{} section of the |
216 | \addtoindex{string offsets table} | 216 | \addtoindex{string offsets table} |
217 | for that unit. | 217 | for that unit. |
218 | In addition, attribute values of class string may have form | 218 | In addition, attribute values of class string may have |
219 | \DWFORMstrx, whose value is an index into the | 219 | \bb |
220 | one of the forms | ||
221 | \eb | ||
222 | \DWFORMstrxXNor, whose value is an index into the | ||
220 | string offsets table. | 223 | string offsets table. |
221 | 224 | ||
222 | %f | 225 | %f |
@@ -466,14 +469,20 @@ Attribute values of class string may have form | |||
466 | \dotdebugstrdwo{} section of the corresponding string. | 469 | \dotdebugstrdwo{} section of the corresponding string. |
467 | 470 | ||
468 | \itembfnl{(e) \dotdebuginfo{} to \dotdebugstroffsets} | 471 | \itembfnl{(e) \dotdebuginfo{} to \dotdebugstroffsets} |
469 | Attribute values of class string may have form | 472 | Attribute values of class string may have |
470 | \DWFORMstrx, whose value is an index into the | 473 | \bb |
474 | one of the forms | ||
475 | \eb | ||
476 | \DWFORMstrxXNor, whose value is an index into the | ||
471 | \dotdebugstroffsets{} section for the corresponding string. | 477 | \dotdebugstroffsets{} section for the corresponding string. |
472 | 478 | ||
473 | \needlines{4} | 479 | \needlines{4} |
474 | \itembfnl{(eo)\dotdebuginfodwo{} to \dotdebugstroffsetsdwo} | 480 | \itembfnl{(eo)\dotdebuginfodwo{} to \dotdebugstroffsetsdwo} |
475 | Attribute values of class string may have form | 481 | Attribute values of class string may have |
476 | \DWFORMstrx, whose value is an index into the | 482 | \bb |
483 | one of the forms | ||
484 | \eb | ||
485 | \DWFORMstrxXNor, whose value is an index into the | ||
477 | \dotdebugstroffsetsdwo{} section for the corresponding string. | 486 | \dotdebugstroffsetsdwo{} section for the corresponding string. |
478 | 487 | ||
479 | \itembfnl{(fo) \dotdebuginfodwo{} to \dotdebuginfodwo} | 488 | \itembfnl{(fo) \dotdebuginfodwo{} to \dotdebuginfodwo} |
diff --git a/dwarf5/latexdoc/dwarf5.tex b/dwarf5/latexdoc/dwarf5.tex index 4dafa08..a17b864 100644 --- a/dwarf5/latexdoc/dwarf5.tex +++ b/dwarf5/latexdoc/dwarf5.tex | |||
@@ -3,7 +3,7 @@ | |||
3 | % If draft is in the document class list, pix are just suggested | 3 | % If draft is in the document class list, pix are just suggested |
4 | % by an outline, the pic does not appear as a picture. | 4 | % by an outline, the pic does not appear as a picture. |
5 | % | 5 | % |
6 | \newcommand{\docdate}{January 16, 2017} | 6 | \newcommand{\docdate}{January 18, 2017} |
7 | % | 7 | % |
8 | \usepackage{ifthen} | 8 | \usepackage{ifthen} |
9 | \newcommand{\ifthen}[2]{\ifthenelse{#1}{#2}{}} | 9 | \newcommand{\ifthen}[2]{\ifthenelse{#1}{#2}{}} |
diff --git a/dwarf5/latexdoc/dwarfnamecmds.tex b/dwarf5/latexdoc/dwarfnamecmds.tex index b5b8450..79f0d18 100644 --- a/dwarf5/latexdoc/dwarfnamecmds.tex +++ b/dwarf5/latexdoc/dwarfnamecmds.tex | |||
@@ -316,7 +316,19 @@ | |||
316 | \newdwfnamecommands{DWFORMstrp}{DW\_FORM\_strp} | 316 | \newdwfnamecommands{DWFORMstrp}{DW\_FORM\_strp} |
317 | \newdwfnamecommands{DWFORMstrpsup}{DW\_FORM\_strp\_sup} | 317 | \newdwfnamecommands{DWFORMstrpsup}{DW\_FORM\_strp\_sup} |
318 | \newdwfnamecommands{DWFORMstrx}{DW\_FORM\_strx} | 318 | \newdwfnamecommands{DWFORMstrx}{DW\_FORM\_strx} |
319 | \newdwfnamecommands{DWFORMstrxone}{DW\_FORM\_strx1} | ||
320 | \newdwfnamecommands{DWFORMstrxtwo}{DW\_FORM\_strx2} | ||
321 | \newdwfnamecommands{DWFORMstrxthree}{DW\_FORM\_strx3} | ||
322 | \newdwfnamecommands{DWFORMstrxfour}{DW\_FORM\_strx4} | ||
319 | \newdwfnamecommands{DWFORMudata}{DW\_FORM\_udata} | 323 | \newdwfnamecommands{DWFORMudata}{DW\_FORM\_udata} |
324 | % Helpers for lists of strx forms | ||
325 | \newcommand{\DWFORMstrxN} {\bb\DWFORMstrxone, \DWFORMstrxtwo, \DWFORMstrxthree, \DWFORMstrxfour\eb} % fixed size | ||
326 | \newcommand{\DWFORMstrxNor} {\bb\DWFORMstrxone, \DWFORMstrxtwo, \DWFORMstrxthree{} or \DWFORMstrxfour\eb} % fixed size | ||
327 | \newcommand{\DWFORMstrxNand}{\bb\DWFORMstrxone, \DWFORMstrxtwo, \DWFORMstrxthree{} and \DWFORMstrxfour\eb} % fixed size | ||
328 | |||
329 | \newcommand{\DWFORMstrxXN} {\DWFORMstrx, \DWFORMstrxN} % all | ||
330 | \newcommand{\DWFORMstrxXNor} {\DWFORMstrx, \DWFORMstrxNor} % all | ||
331 | \newcommand{\DWFORMstrxXNand}{\DWFORMstrx, \DWFORMstrxNand} % all | ||
320 | % | 332 | % |
321 | % DW_ID | 333 | % DW_ID |
322 | % | 334 | % |
diff --git a/dwarf5/latexdoc/generaldescription.tex b/dwarf5/latexdoc/generaldescription.tex index 751b9a6..ce1fdb5 100644 --- a/dwarf5/latexdoc/generaldescription.tex +++ b/dwarf5/latexdoc/generaldescription.tex | |||
@@ -51,9 +51,7 @@ described in Chapters 3, 4 and 5. | |||
51 | \DWTAGformalparameter, | 51 | \DWTAGformalparameter, |
52 | \DWTAGfriend, | 52 | \DWTAGfriend, |
53 | \DWTAGgenericsubrange, | 53 | \DWTAGgenericsubrange, |
54 | \bb | 54 | \bb\eb\DWTAGimmutabletype, |
55 | \DWTAGimmutabletype, | ||
56 | \eb | ||
57 | \DWTAGimporteddeclaration, | 55 | \DWTAGimporteddeclaration, |
58 | \DWTAGimportedmodule, | 56 | \DWTAGimportedmodule, |
59 | \DWTAGimportedunit, | 57 | \DWTAGimportedunit, |
@@ -62,10 +60,8 @@ described in Chapters 3, 4 and 5. | |||
62 | \DWTAGinterfacetype, | 60 | \DWTAGinterfacetype, |
63 | \DWTAGlabel, | 61 | \DWTAGlabel, |
64 | \DWTAGlexicalblock, | 62 | \DWTAGlexicalblock, |
65 | \bb | 63 | \bbeb\DWTAGmember, |
66 | \DWTAGmember, | 64 | \bbeb\DWTAGmodule, |
67 | \DWTAGmodule, | ||
68 | \eb | ||
69 | \DWTAGnamelist, | 65 | \DWTAGnamelist, |
70 | \DWTAGnamelistitem, | 66 | \DWTAGnamelistitem, |
71 | \DWTAGnamespace, | 67 | \DWTAGnamespace, |
diff --git a/dwarf5/latexdoc/introduction.tex b/dwarf5/latexdoc/introduction.tex index bd2c2ca..9b0e46d 100644 --- a/dwarf5/latexdoc/introduction.tex +++ b/dwarf5/latexdoc/introduction.tex | |||
@@ -416,7 +416,10 @@ In addition, the \HFNdebugabbrevoffset{} and \HFNaddresssize{} fields are reorde | |||
416 | \bb | 416 | \bb |
417 | \DWFORMrefsupfourNAME, \DWFORMrefsupeightNAME, | 417 | \DWFORMrefsupfourNAME, \DWFORMrefsupeightNAME, |
418 | \eb | 418 | \eb |
419 | \DWFORMstrpsupNAME{} and \DWFORMstrxNAME). | 419 | \DWFORMstrpsupNAME, \DWFORMstrxNAME, |
420 | \bb | ||
421 | \DWFORMstrxoneNAME, \DWFORMstrxtwoNAME, \DWFORMstrxthreeNAME{} and \DWFORMstrxfourNAME. | ||
422 | \eb | ||
420 | 423 | ||
421 | \textit{Because a pre-DWARF Version 5 consumer will not be able to interpret | 424 | \textit{Because a pre-DWARF Version 5 consumer will not be able to interpret |
422 | these even to ignore and skip over them, new forms must be | 425 | these even to ignore and skip over them, new forms must be |
diff --git a/dwarf5/latexdoc/otherdebugginginformation.tex b/dwarf5/latexdoc/otherdebugginginformation.tex index 7190dd4..a3d5d52 100644 --- a/dwarf5/latexdoc/otherdebugginginformation.tex +++ b/dwarf5/latexdoc/otherdebugginginformation.tex | |||
@@ -1569,8 +1569,8 @@ from an executable. | |||
1569 | \eb | 1569 | \eb |
1570 | } | 1570 | } |
1571 | 1571 | ||
1572 | In a \dotdebuglinedwo{} section, the form \DWFORMstrx{} may | 1572 | In a \dotdebuglinedwo{} section, the forms \DWFORMstrxXNand{} may |
1573 | also be used. This refers into the \dotdebugstroffsetsdwo{} | 1573 | also be used. These refer into the \dotdebugstroffsetsdwo{} |
1574 | section (and indirectly also the \dotdebugstrdwo{} section) | 1574 | section (and indirectly also the \dotdebugstrdwo{} section) |
1575 | because no \texttt{.debug\_line\_str\_offsets.dwo} or | 1575 | because no \texttt{.debug\_line\_str\_offsets.dwo} or |
1576 | \texttt{.debug\_line\_str.dwo} sections exist or are defined for | 1576 | \texttt{.debug\_line\_str.dwo} sections exist or are defined for |
@@ -1624,7 +1624,7 @@ such code may be combined with one or more forms from the set: | |||
1624 | \DWFORMdataone, \DWFORMdatatwo, \DWFORMdatafour, \DWFORMdataeight, | 1624 | \DWFORMdataone, \DWFORMdatatwo, \DWFORMdatafour, \DWFORMdataeight, |
1625 | \DWFORMdatasixteen, | 1625 | \DWFORMdatasixteen, |
1626 | \DWFORMflag, \DWFORMlinestrp, \DWFORMsdata, \DWFORMsecoffset, | 1626 | \DWFORMflag, \DWFORMlinestrp, \DWFORMsdata, \DWFORMsecoffset, |
1627 | \DWFORMstring, \DWFORMstrp, \DWFORMstrx{} and \DWFORMudata. | 1627 | \DWFORMstring, \DWFORMstrp, \DWFORMstrxXN{} and \DWFORMudata. |
1628 | 1628 | ||
1629 | \textit{If a consumer encounters a vendor-defined content type that | 1629 | \textit{If a consumer encounters a vendor-defined content type that |
1630 | it does not understand, it should skip the content data as though | 1630 | it does not understand, it should skip the content data as though |
@@ -2078,7 +2078,7 @@ the operand is encoded. The allowed forms are: | |||
2078 | \eb | 2078 | \eb |
2079 | \DWFORMsecoffset, \DWFORMstring, \DWFORMstrp{}, | 2079 | \DWFORMsecoffset, \DWFORMstring, \DWFORMstrp{}, |
2080 | \bb | 2080 | \bb |
2081 | \DWFORMstrpsup, \DWFORMstrx{} and \DWFORMudata. | 2081 | \DWFORMstrpsup, \DWFORMstrxXN{} and \DWFORMudata. |
2082 | \eb | 2082 | \eb |
2083 | \end{enumerate} | 2083 | \end{enumerate} |
2084 | 2084 | ||
diff --git a/dwarf5/latexdoc/programscope.tex b/dwarf5/latexdoc/programscope.tex index 87240fd..8f94a13 100644 --- a/dwarf5/latexdoc/programscope.tex +++ b/dwarf5/latexdoc/programscope.tex | |||
@@ -433,7 +433,7 @@ This attribute points to the first string | |||
433 | offset of the compilation unit's contribution to the | 433 | offset of the compilation unit's contribution to the |
434 | \dotdebugstroffsets{} (or \dotdebugstroffsetsdwo{}) section. | 434 | \dotdebugstroffsets{} (or \dotdebugstroffsetsdwo{}) section. |
435 | Indirect string references | 435 | Indirect string references |
436 | (using \DWFORMstrx) within the compilation unit are | 436 | (using \DWFORMstrxXNor) within the compilation unit are |
437 | interpreted as indices relative to this base. | 437 | interpreted as indices relative to this base. |
438 | 438 | ||
439 | \needlines{6} | 439 | \needlines{6} |
@@ -636,6 +636,7 @@ the sections in which they are represented | |||
636 | Moreover, the \DWATstroffsetsbase{} attribute (see below) is not | 636 | Moreover, the \DWATstroffsetsbase{} attribute (see below) is not |
637 | used in a split type unit. | 637 | used in a split type unit. |
638 | 638 | ||
639 | \needlines{4} | ||
639 | A type unit is represented by a debugging information entry | 640 | A type unit is represented by a debugging information entry |
640 | with the tag \DWTAGtypeunitTARG. | 641 | with the tag \DWTAGtypeunitTARG. |
641 | A \addtoindex{type unit entry} owns debugging | 642 | A \addtoindex{type unit entry} owns debugging |
@@ -690,7 +691,7 @@ attribute, whose value is of class \CLASSstroffsetsptr. | |||
690 | This attribute points | 691 | This attribute points |
691 | to the first string offset of the type unit's contribution to | 692 | to the first string offset of the type unit's contribution to |
692 | the \dotdebugstroffsets{} section. Indirect string references | 693 | the \dotdebugstroffsets{} section. Indirect string references |
693 | (using \DWFORMstrx) within the type unit are interpreted | 694 | (using \DWFORMstrxXNor) within the type unit are interpreted |
694 | as indices relative to this base. | 695 | as indices relative to this base. |
695 | 696 | ||
696 | \end{enumerate} | 697 | \end{enumerate} |
@@ -702,6 +703,7 @@ namespaces, the debugging information entry for T is nested | |||
702 | within debugging information entries describing its containers; | 703 | within debugging information entries describing its containers; |
703 | otherwise, T is a direct child of the type unit entry. | 704 | otherwise, T is a direct child of the type unit entry. |
704 | 705 | ||
706 | \needlines{4} | ||
705 | A type unit entry may also own additional debugging information | 707 | A type unit entry may also own additional debugging information |
706 | entries that represent declarations of additional types that | 708 | entries that represent declarations of additional types that |
707 | are referenced by type T and have not themselves been placed in | 709 | are referenced by type T and have not themselves been placed in |
@@ -765,6 +767,7 @@ If the module has a name, the module entry has a | |||
765 | whose value is a null\dash terminated string containing | 767 | whose value is a null\dash terminated string containing |
766 | the module name. | 768 | the module name. |
767 | 769 | ||
770 | \needlines{4} | ||
768 | The \addtoindex{module entry} may have either a | 771 | The \addtoindex{module entry} may have either a |
769 | \DWATlowpc{} and | 772 | \DWATlowpc{} and |
770 | \DWAThighpc{} | 773 | \DWAThighpc{} |
@@ -1299,6 +1302,7 @@ that has neither a \DWATcallpc{} nor \DWATcallreturnpc{} attribute. | |||
1299 | \textit{The \DWATcallallsourcecallsNAME{} attribute is intended for debugging | 1302 | \textit{The \DWATcallallsourcecallsNAME{} attribute is intended for debugging |
1300 | information format consumers that analyze call graphs.} | 1303 | information format consumers that analyze call graphs.} |
1301 | 1304 | ||
1305 | \needlines{4} | ||
1302 | If the the \DWATcallallsourcecalls{} attribute is present then the | 1306 | If the the \DWATcallallsourcecalls{} attribute is present then the |
1303 | \DWATcallallcalls{} and \DWATcallalltailcalls{} attributes are | 1307 | \DWATcallallcalls{} and \DWATcallalltailcalls{} attributes are |
1304 | also implicitly present. Similarly, if the | 1308 | also implicitly present. Similarly, if the |
diff --git a/dwarf5/latexdoc/splitobjects.tex b/dwarf5/latexdoc/splitobjects.tex index 9f34c09..c54a966 100644 --- a/dwarf5/latexdoc/splitobjects.tex +++ b/dwarf5/latexdoc/splitobjects.tex | |||
@@ -87,7 +87,11 @@ section for directories and file names because the primary | |||
87 | string table will never be stripped. Accordingly, no | 87 | string table will never be stripped. Accordingly, no |
88 | \texttt{.debug\_line\_str.dwo} section is defined. Content descriptions | 88 | \texttt{.debug\_line\_str.dwo} section is defined. Content descriptions |
89 | corresponding to \DWFORMlinestrp{} in an executable file (for example, | 89 | corresponding to \DWFORMlinestrp{} in an executable file (for example, |
90 | in the skeleton compilation unit) instead use \DWFORMstrx. This allows | 90 | in the skeleton compilation unit) instead use |
91 | \bb | ||
92 | one of the forms | ||
93 | \eb | ||
94 | \DWFORMstrxXNor. This allows | ||
91 | directory and file name strings to be merged with general | 95 | directory and file name strings to be merged with general |
92 | strings and across compilations in package files | 96 | strings and across compilations in package files |
93 | (where they are not subject to potential stripping). | 97 | (where they are not subject to potential stripping). |
@@ -146,10 +150,14 @@ skeleton compilation unit in the \dotdebuginfo{} section. | |||
146 | 150 | ||
147 | \item | 151 | \item |
148 | \dotdebugstr{} - Contains any strings referenced by the skeleton | 152 | \dotdebugstr{} - Contains any strings referenced by the skeleton |
149 | \dotdebuginfo{} sections (via \DWFORMstrp{} or \DWFORMstrx{}). | 153 | \dotdebuginfo{} sections (via \DWFORMstrp{}, \DWFORMstrxXNor{}). |
150 | \item | 154 | \item |
151 | \dotdebugstroffsets{} - Contains the string offsets table for | 155 | \dotdebugstroffsets{} - Contains the string offsets table for |
152 | the strings in the \dotdebugstr{} section (if form \DWFORMstrx{} is used). | 156 | the strings in the \dotdebugstr{} section (if |
157 | \bb | ||
158 | one of the forms | ||
159 | \eb | ||
160 | \DWFORMstrxXNor{} is used). | ||
153 | \end{itemize} | 161 | \end{itemize} |
154 | 162 | ||
155 | \needlines{6} | 163 | \needlines{6} |
@@ -590,7 +598,7 @@ object file, with the following exceptions: | |||
590 | compilation unit. | 598 | compilation unit. |
591 | 599 | ||
592 | \item References to strings in the string table use the | 600 | \item References to strings in the string table use the |
593 | form code \DWFORMstrx, referring to slots in the | 601 | form code \DWFORMstrxXNor, referring to slots in the |
594 | \dotdebugstroffsetsdwo{} section. | 602 | \dotdebugstroffsetsdwo{} section. |
595 | 603 | ||
596 | \needlines{4} | 604 | \needlines{4} |