Displaying 1 result from an estimated 1 matches for "str_msg".
Did you mean:
str_arg
2005 Apr 19
1
[LLVMdev] Unwind example
...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 = alloca int ; <int*> [#uses=1]
%spcheck.0 = cast int* %xyzzy to int
%spcheck.1 = se...