mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Where the alloca'd space actually lives in ram is undefined, and attempting to
pin it down is undefined behaviour. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151710 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
2c67727046
commit
84a1d2371c
1 file changed
+6
-1
+6
-1
@@ -4859,7 +4859,12 @@ IfUnequal:
|
||||
variables that must have an address available. When the function returns
|
||||
(either with the <tt><a href="#i_ret">ret</a></tt>
|
||||
or <tt><a href="#i_resume">resume</a></tt> instructions), the memory is
|
||||
reclaimed. Allocating zero bytes is legal, but the result is undefined.</p>
|
||||
reclaimed. Allocating zero bytes is legal, but the result is undefined.
|
||||
The order in which memory is allocated (ie., which way the stack grows) is
|
||||
not specified, and relational comparisons involving '<tt>alloca</tt>'s are
|
||||
undefined.</p>
|
||||
|
||||
<p>
|
||||
|
||||
<h5>Example:</h5>
|
||||
<pre>
|
||||
|
||||
Reference in new issue
Block a user