[llvm] r174270 - Added new Global Variable marker ``externally_initialized'' to LangRef.
Michael Gottesman
mgottesman at apple.com
Sun Feb 3 01:57:18 PST 2013
Author: mgottesman
Date: Sun Feb 3 03:57:18 2013
New Revision: 174270
URL: http://llvm.org/viewvc/llvm-project?rev=174270&view=rev
Log:
Added new Global Variable marker ``externally_initialized'' to LangRef.
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=174270&r1=174269&r2=174270&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Sun Feb 3 03:57:18 2013
@@ -506,7 +506,8 @@ variables defined within the module are
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
More information about the llvm-commits
mailing list