aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-03-31 07:50:17 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-03-31 07:50:17 +0000
commit30b67f9d96d6d095790c2f829293d3a861d7ec1f (patch)
treeefdd24b70375d2832ec2c3aed56225d0071a7b6a /docs
parenta8c5bd2e558231b16fbd156401bea1dad7d6bdda (diff)
downloadexternal_llvm-30b67f9d96d6d095790c2f829293d3a861d7ec1f.zip
external_llvm-30b67f9d96d6d095790c2f829293d3a861d7ec1f.tar.gz
external_llvm-30b67f9d96d6d095790c2f829293d3a861d7ec1f.tar.bz2
Small fixes to this documentation. Remove mention of uint/int type, fix typo
in 'number'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/SourceLevelDebugging.html15
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/SourceLevelDebugging.html b/docs/SourceLevelDebugging.html
index f92a165..ed2211f 100644
--- a/docs/SourceLevelDebugging.html
+++ b/docs/SourceLevelDebugging.html
@@ -289,26 +289,25 @@ height="369">
0x1000.)</p>
<p>The fields of debug descriptors used internally by LLVM
- are restricted to only the simple data types <tt>int</tt>, <tt>uint</tt>,
- <tt>bool</tt>, <tt>float</tt>, <tt>double</tt>, <tt>mdstring</tt> and
- <tt>mdnode</tt>. </p>
+ are restricted to only the simple data types <tt>i32</tt>, <tt>i1</tt>,
+ <tt>float</tt>, <tt>double</tt>, <tt>mdstring</tt> and <tt>mdnode</tt>. </p>
<div class="doc_code">
<pre>
!1 = metadata !{
- uint, ;; A tag
+ i32, ;; A tag
...
}
</pre>
</div>
<p><a name="LLVMDebugVersion">The first field of a descriptor is always an
- <tt>uint</tt> containing a tag value identifying the content of the
+ <tt>i32</tt> containing a tag value identifying the content of the
descriptor. The remaining fields are specific to the descriptor. The values
of tags are loosely bound to the tag values of DWARF information entries.
However, that does not restrict the use of the information supplied to DWARF
targets. To facilitate versioning of debug information, the tag is augmented
- with the current debug version (LLVMDebugVersion = 8 << 16 or 0x80000 or
+ with the current debug version (LLVMDebugVersion = 8 &lt;&lt; 16 or 0x80000 or
524288.)</a></p>
<p>The details of the various descriptors follow.</p>
@@ -829,8 +828,8 @@ DW_TAG_return_variable = 258
rules.</p>
<p>In order to handle this, the LLVM debug format uses the metadata attached to
- llvm instructions to encode line nuber and scoping information. Consider the
- following C fragment, for example:</p>
+ llvm instructions to encode line number and scoping information. Consider
+ the following C fragment, for example:</p>
<div class="doc_code">
<pre>