From: Dan Gohman Date: Fri, 21 Sep 2012 18:41:30 +0000 (+0000) Subject: Say "bytes" instead of "address units", since that's what the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ee9f726749c5b1622294718925639d2a4aa92e28;p=oota-llvm.git Say "bytes" instead of "address units", since that's what the rest of LangRef uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164402 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 1fea29950b8..89b9227b722 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3069,8 +3069,8 @@ are padding and what the TBAA tags of the struct are.

The current metadata format is very simple. !tbaa.struct 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.:

@@ -3079,9 +3079,9 @@ are padding and what the TBAA tags of the struct are.

-

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.

+

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.

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