update documentation
authorLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 12 Apr 2007 20:34:36 +0000 (20:34 +0000)
committerLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 12 Apr 2007 20:34:36 +0000 (20:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35953 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 1c50d4610bb6fbbcf7f090dfb62b333164b72995..057fb9cdf80ba4957c7cc248efd81d3c9ac29cf1 100644 (file)
@@ -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