Displaying 1 result from an estimated 1 matches for "__tart_eh_personality".
2009 May 26
0
[LLVMdev] Exception Personality Function
...ion
invoke { } @"throwSomething"() to label %endTry unwind label %catch
catch:
;; Catch and decode the exception
%eh_ptr = call i8* @llvm.eh.exception()
%eh_action = call i32 (i8*, i8*, ...)* @llvm.eh.selector.i32(
i8* %eh_ptr,
i8* bitcast (i32 (i32, i32, i64, i8*, i8*)* @__tart_eh_personality
to i8*),
%tart.reflect.Type* @tart.core.InvalidArgumentException.type,
%tart.reflect.Type* @tart.core.Throwable.type)
;; subtract offset of UnwindExceptInfo member within class Throwable
%0 = bitcast i8* %eh_ptr to [0 x i8]*
%eh_throwable = getelementptr [0 x i8]* %0, i32 0,
i32...