aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-11-18 17:39:01 +0000
committerDan Gohman <gohman@apple.com>2010-11-18 17:39:01 +0000
commita6d60ddbbb0c33690f7e89cad2b5e60cee84b89e (patch)
treef1b815dae2f386e431dfc9dd9c1f7e7eb21934a3 /include/llvm/Analysis
parent078d967e0a7e6dd78ac9eb28a1d50fd9319b88d1 (diff)
downloadexternal_llvm-a6d60ddbbb0c33690f7e89cad2b5e60cee84b89e.zip
external_llvm-a6d60ddbbb0c33690f7e89cad2b5e60cee84b89e.tar.gz
external_llvm-a6d60ddbbb0c33690f7e89cad2b5e60cee84b89e.tar.bz2
Document the units for the Size field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h
index 53f0eea..5fe9d91 100644
--- a/include/llvm/Analysis/AliasAnalysis.h
+++ b/include/llvm/Analysis/AliasAnalysis.h
@@ -96,10 +96,10 @@ public:
struct Location {
/// Ptr - The address of the start of the location.
const Value *Ptr;
- /// Size - The maximum size of the location, or UnknownSize if the size is
- /// not known. Note that an unknown size does not mean the pointer aliases
- /// the entire virtual address space, because there are restrictions on
- /// stepping out of one object and into another.
+ /// Size - The maximum size of the location, in address-units, or
+ /// UnknownSize if the size is not known. Note that an unknown size does
+ /// not mean the pointer aliases the entire virtual address space, because
+ /// there are restrictions on stepping out of one object and into another.
/// See http://llvm.org/docs/LangRef.html#pointeraliasing
uint64_t Size;
/// TBAATag - The metadata node which describes the TBAA type of