From: Reid Spencer
Date: Sun, 18 Jul 2004 13:10:31 +0000 (+0000)
Subject: bug 122:
X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8b2da7a921c0192c7e519e1dcf7d9fcc7eb24899;p=oota-llvm.git
bug 122:
Updated to remove references to ConstantPointerRef and reflect the change
in the inheritance hierarchy: GlobalValue now derives from Constant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14969 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 741d66b3868..9ba37aabb2a 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -89,15 +89,18 @@ with another Value
The GetElementPtrInst
class
- The GlobalValue class
-
The Module class
- The Constant class
+ The Constant class
+
+
The Type class
The Argument class
@@ -1258,7 +1261,7 @@ Because they are visible at global scope, they are also subject to linking with
other globals defined in different translation units. To control the linking
process, GlobalValues know their linkage rules. Specifically,
GlobalValues know whether they have internal or external linkage, as
-defined by the LinkageTypes enumerator.
+defined by the LinkageTypes enumeration.
If a GlobalValue has internal linkage (equivalent to being
static in C), it is not visible to code outside the current translation
@@ -1353,6 +1356,9 @@ href="#Instruction">Instructions, BasicBlocks, or Arguments in the function body.
+Note that Function is a GlobalValue
+and therefore also a Constant. The value of the function
+is its address (after linking) which is guaranteed to be constant.
@@ -1698,18 +1704,13 @@ Returns a Vecotr of component constants that makeup this array.
Returns a Vecotr of component constants that makeup this array.
- ConstantPointerRef : This represents a constant pointer value
-that is initialized to point to a global value, which lies at a
-constant fixed address.
-
- - GlobalValue *getValue(): Returns the global
-value to which this pointer is pointing to.
-
+ GlobalValue : This represents either a global variable or a
+ function. In either case, the value is a constant fixed address
+ (after linking).
-