aboutsummaryrefslogtreecommitdiff
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
commitfa987f08fb237e61e4f542572535546d92838b4f (patch)
tree1ed0eabdd0191ff57f04d5ba550f00ca5de7f0fd
parent4283499dcd76355d1c8ee4b28883635e967b7c81 (diff)
Added new Global Variable marker ``externally_initialized'' to LangRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174270 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/LangRef.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index c9f37bd4af..023a050cd3 100644
--- a/docs/LangRef.rst
+++ b/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