search for: str_abort

Displaying 3 results from an estimated 3 matches for "str_abort".

Did you mean: err_abort
2009 May 21
0
[LLVMdev] Getting exceptions to work?
...ruct(%Throwable* %throwable) %unwindInfo = getelementptr %Throwable* %throwable, i32 0, i32 1 call void @print(i8* bitcast ([6 x i8]* @str_throw to i8 *)) %throw = call i32 @_Unwind_RaiseException(%UnwindInfo* %unwindInfo) call void @print(i8* bitcast ([6 x i8]* @str_abort to i8 *)) ret void } This is because it unwound the stack without finding any exception handlers. It doesn't consider your exception handler to be a handler because it is registered as a "cleanup" which apparently doesn't count. (To force cleanups to be run in this situ...
2009 May 20
3
[LLVMdev] Getting exceptions to work?
Duncan Sands wrote: > Hi Talin, > >> So I tried what you suggested, and it just gives me a bus error: >> >> %eh_select34 = call i32 (i8*, i8*, ...)* >> @llvm.eh.selector.i32 ( >> i8* %eh_ptr, >> i8* bitcast (i32 (i32, i32, i64, i8*, %UnwindContext*)* >> @__gcc_personality_v0 to i8*), >>
2009 May 24
1
[LLVMdev] Getting exceptions to work?
...rowable) > %unwindInfo = getelementptr %Throwable* %throwable, i32 0, i32 1 > call void @print(i8* bitcast ([6 x i8]* @str_throw to i8 *)) > %throw = call i32 @_Unwind_RaiseException(%UnwindInfo* %unwindInfo) > call void @print(i8* bitcast ([6 x i8]* @str_abort to i8 *)) > ret void > } > > This is because it unwound the stack without finding any exception > handlers. It doesn't consider your exception handler to be a handler > because it is registered as a "cleanup" which apparently doesn't count. > (To for...