From a4563364d052d078724655bb01e6298f12ed2733 Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Thu, 12 Apr 2007 20:34:36 +0000 Subject: [PATCH] update documentation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35953 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 1c50d4610bb..057fb9cdf80 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:

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 never 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 -- 2.11.0