summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-05 05:41:44 +0000
committerChris Lattner <sabre@nondot.org>2009-08-05 05:41:44 +0000
commitcd81f5df27c9a47561be1b9a4059ca3a5dcace4c (patch)
treef1143daa3ac0b91b44481b134733a40d20cf63fe /docs
parent40a0b2c305344898fd4e46e988d16846cd5cd6b2 (diff)
downloadllvm-cd81f5df27c9a47561be1b9a4059ca3a5dcace4c.tar.gz
llvm-cd81f5df27c9a47561be1b9a4059ca3a5dcace4c.tar.bz2
llvm-cd81f5df27c9a47561be1b9a4059ca3a5dcace4c.tar.xz
common globals may also not be marked constant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 52ec97888d..9ef7cce419 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -564,9 +564,10 @@ define i32 @main() { <i>; i32()* </
global scope.
Symbols with "<tt>common</tt>" linkage are merged in the same way as
<tt>weak symbols</tt>, and they may not be deleted if unreferenced.
- Further, <tt>common</tt> symbols may not have an explicit section, and
- must have a zero initializer. Functions and aliases may not have common
- linkage.</dd>
+ <tt>common</tt> symbols may not have an explicit section,
+ must have a zero initializer, and may not be marked '<a
+ href="#globalvars"><tt>constant</tt></a>'. Functions and aliases may not
+ have common linkage.</dd>
<dt><tt><b><a name="linkage_appending">appending</a></b></tt>: </dt>