search for: str_persn

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

2009 May 20
2
[LLVMdev] Getting exceptions to work?
...ch to i8 *)) ret i32 -1 } However, when I use my own personality function instead of __gcc_personality_v0, it doesn't crash, but it doesn't work right either (for reasons we've already discussed - it doesn't know how to redirect the execution to the landing pad): @str_persn = internal constant [10 x i8] c"persn %d\0a\00" define i32 @personality_func(i32 %version, i32 %action, i64 %eh_class, i8* %eh_ptr, %UnwindContext* %eh_context) nounwind { call void (i8*, ...)* @printf(i8* bitcast ([10 x i8]* @str_persn to i8*), i32 %action) %phas...
2009 May 19
0
[LLVMdev] Getting exceptions to work?
Talin wrote: > Nicolas Geoffray wrote: >> Hi Talin, >> >> You're not using the llvm intrinsics for exception handling, so your >> code won't work. Using _Unwind_RaiseException should be OK, but your >> main function must at least use llvm.eh.exception, >> llvm.eh.selector.i32/64 and probably __cxa_begin_catch and __cxa_end_catch. >> >
2009 May 19
5
[LLVMdev] Getting exceptions to work?
Nicolas Geoffray wrote: > Hi Talin, > > You're not using the llvm intrinsics for exception handling, so your > code won't work. Using _Unwind_RaiseException should be OK, but your > main function must at least use llvm.eh.exception, > llvm.eh.selector.i32/64 and probably __cxa_begin_catch and __cxa_end_catch. > Let me ask a follow-up question then - if the