mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
add a global variable example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32c9a4527d
commit
68027ea618
@ -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>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user