[llvm-commits] [llvm] r164402 - /llvm/trunk/docs/LangRef.html

Dan Gohman gohman at apple.com
Fri Sep 21 11:41:30 PDT 2012


Author: djg
Date: Fri Sep 21 13:41:30 2012
New Revision: 164402

URL: http://llvm.org/viewvc/llvm-project?rev=164402&view=rev
Log:
Say "bytes" instead of "address units", since that's what the
rest of LangRef uses.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=164402&r1=164401&r2=164402&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Fri Sep 21 13:41:30 2012
@@ -3069,8 +3069,8 @@
 
 <p>The current metadata format is very simple. <tt>!tbaa.struct</tt> metadata nodes
    are a list of operands which are in conceptual groups of three. For each
-   group of three, the first operand gives the byte offset of a field in address
-   units, the second gives its size in address units, and the third gives its
+   group of three, the first operand gives the byte offset of a field in bytes,
+   the second gives its size in bytes, and the third gives its
    tbaa tag. e.g.:</p>
 
 <div class="doc_code">
@@ -3079,9 +3079,9 @@
 </pre>
 </div>
 
-<p>This describes a struct with two fields. The first is at offset 0 address units
-   with size 4 address units, and has tbaa tag !1. The second is at offset 8 address
-   units and has size 4 address units and has tbaa tag !2.</p>
+<p>This describes a struct with two fields. The first is at offset 0 bytes
+   with size 4 bytes, and has tbaa tag !1. The second is at offset 8 bytes
+   and has size 4 bytes and has tbaa tag !2.</p>
 
 <p>Note that the fields need not be contiguous. In this example, there is a
    4 byte gap between the two fields. This gap represents padding which





More information about the llvm-commits mailing list