projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c9a45
)
add a global variable example
author
Chris Lattner
<sabre@nondot.org>
Sun, 14 Jan 2007 00:27:09 +0000
(
00:27
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 14 Jan 2007 00:27:09 +0000
(
00:27
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33190
91177308
-0d34-0410-b5e6-
96231b3b80d8
docs/LangRef.html
patch
|
blob
|
history
diff --git
a/docs/LangRef.html
b/docs/LangRef.html
index 2e40842dfb1a752a2d1912d615576a5695b24437..bbc06116f8174b69cd50ae05377d10fabed1ab7e 100644
(file)
--- a/
docs/LangRef.html
+++ b/
docs/LangRef.html
@@
-616,6
+616,13
@@
to whatever it feels convenient. If an explicit alignment is specified, the
global is forced to have at least that much alignment. All alignments must be
a power of 2.</p>
+<p>For example, the following defines a global with an initializer, section,
+ and alignment:</p>
+
+<pre>
+ %G = constant float 1.0, section "foo", align 4
+</pre>
+
</div>