summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc451ec635f0feb2ba2487a6878cd7d7bcbd5375b (patch)
treef2d3cc231725dda5d706c0c92e5a071555a97e20 /llvm/docs/LangRef.html
parent0ab204bb364c3588c3e2f2a8282655e9c09e8fc6 (diff)
downloadbcm5719-llvm-c451ec635f0feb2ba2487a6878cd7d7bcbd5375b.tar.gz
bcm5719-llvm-c451ec635f0feb2ba2487a6878cd7d7bcbd5375b.zip
update documentation
llvm-svn: 35953
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 1c50d4610bb..057fb9cdf80 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/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
OpenPOWER on IntegriCloud