summaryrefslogtreecommitdiff
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-04-12 20:34:36 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-04-12 20:34:36 +0000
commita4563364d052d078724655bb01e6298f12ed2733 (patch)
tree0a3ee822df3159bc70dd9402b037f9e895fe3173 /docs/LangRef.html
parent7280c50e2fba35132de4cd5e95e65504c585e0e8 (diff)
downloadllvm-a4563364d052d078724655bb01e6298f12ed2733.tar.gz
llvm-a4563364d052d078724655bb01e6298f12ed2733.tar.bz2
llvm-a4563364d052d078724655bb01e6298f12ed2733.tar.xz
update documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 1c50d4610b..057fb9cdf8 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -603,8 +603,10 @@ All Global Variables and Functions have one of the following visibility styles:
<p>Global variables define regions of memory allocated at compilation time
instead of run-time. Global variables may optionally be initialized, may have
an explicit section to be placed in, and may
-have an optional explicit alignment specified. A
-variable may be defined as a global "constant," which indicates that the
+have an optional explicit alignment specified. A variable may be defined as
+"thread_local", which means that it will not be shared by threads (each thread
+will have a separated copy of the variable).
+A variable may be defined as a global "constant," which indicates that the
contents of the variable will <b>never</b> be modified (enabling better
optimization, allowing the global data to be placed in the read-only section of
an executable, etc). Note that variables that need runtime initialization