Displaying 1 result from an estimated 1 matches for "unwindexceptinfo".
2009 May 26
0
[LLVMdev] Exception Personality Function
...h_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 sub (i32 0, i32 ptrtoint (%2* getelementptr (
%tart.core.Throwable* null, i32 0, i32 2) to i32))
;; Branch based on action from personality func.
switch i32...