projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2bc77
)
Added new Global Variable marker ``externally_initialized'' to LangRef.
author
Michael Gottesman
<mgottesman@apple.com>
Sun, 3 Feb 2013 09:57:18 +0000
(09:57 +0000)
committer
Michael Gottesman
<mgottesman@apple.com>
Sun, 3 Feb 2013 09:57:18 +0000
(09:57 +0000)
llvm-svn: 174270
llvm/docs/LangRef.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/LangRef.rst
b/llvm/docs/LangRef.rst
index
c9f37bd
..
023a050
100644
(file)
--- 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