commit | 5760c5042c36a77f0a162e38bbbffe923b19149c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Jan 14 00:27:09 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Jan 14 00:27:09 2007 +0000 |
tree | 484cae6284f8fd2e9db537367974eb4769ad93e0 | |
parent | 5544e17a084b6fc6c7f043f95d6c1b9030465823 [diff] [blame] |
add a global variable example llvm-svn: 33190
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 2e40842..bbc0611 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html
@@ -616,6 +616,13 @@ 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>