summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-02-03 09:57:18 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-02-03 09:57:18 +0000
commit8901bb66fb1c5d3a3e87fff5828bfd65a7fe6e03 (patch)
treefd6036a6ca89585fe99b4555ef9344099c59d356
parentef2bc77330ad9e5a90dbaeccd71f6267f160155a (diff)
downloadbcm5719-llvm-8901bb66fb1c5d3a3e87fff5828bfd65a7fe6e03.tar.gz
bcm5719-llvm-8901bb66fb1c5d3a3e87fff5828bfd65a7fe6e03.zip
Added new Global Variable marker ``externally_initialized'' to LangRef.
llvm-svn: 174270
-rw-r--r--llvm/docs/LangRef.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index c9f37bd4afd..023a050cd37 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -506,7 +506,8 @@ variables defined within the module are not modified from their
initial values before the start of the global initializer. This is
true even for variables potentially accessible from outside the
module, including those with external linkage or appearing in
-``@llvm.used``.
+``@llvm.used``. This assumption may be suppressed by marking the
+variable with ``externally_initialized``.
An explicit alignment may be specified for a global, which must be a
power of 2. If not present, or if the alignment is set to zero, the
OpenPOWER on IntegriCloud