Displaying 1 result from an estimated 1 matches for "str_sp".
Did you mean:
str_cp
2005 Apr 19
1
[LLVMdev] Unwind example
...grow the stack until it reaches a threshold
2. Then unwind and print a message
Instead what happens is:
1. Recursively grow the stack until it reaches a threshold
2. Then it dies with:
Abort trap
Can you point me to an example using uwind that "works" ?
Thanks.
Here's the code:
%str_sp = internal constant [9 x sbyte] c"SP = %i\0A\00" ; <[9 x
sbyte]*> [#uses=1]
%str_msg = internal constant [15 x sbyte] c"Bottom'd Out!\0A\00"
implementation ; Functions:
declare int %printf(sbyte*, ...)
internal void %stack_check() {
entry:
%xyzzy = alloc...