search for: extest

Displaying 4 results from an estimated 4 matches for "extest".

Did you mean: xtest
2009 May 20
0
[LLVMdev] Getting exceptions to work?
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*), > i32 1) try changing i32 1 to i32 0. Also, feel free to send
2009 May 20
2
[LLVMdev] Getting exceptions to work?
Duncan Sands wrote: > I would just use the C personality function, __gcc_personality_v0, if > I were you. It should know where to jump to because the code generators > record the invoke unwind target in the dwarf exception handling info in > the object file. > > So I tried what you suggested, and it just gives me a bus error: define i32 @main(i32, i8**) nounwind {
2009 May 20
3
[LLVMdev] Getting exceptions to work?
...i64, i8*, %UnwindContext*)* >> @__gcc_personality_v0 to i8*), >> i32 1) >> > > try changing i32 1 to i32 0. Also, feel free to send me something > I can compile, and I will try it here. > File attached. I compile and run with: llvm-as -f ExTest.ll && llc -f ExTest.bc && gcc -g -o ExTest ExTest.s && ./ExTest -- Talin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ExTest.ll URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090520/f569013e/attach...
2009 May 18
4
[LLVMdev] Getting exceptions to work?
...ret void } define internal void @exceptionCleanupFn(i32 %reason, %UnwindInfo * %exc) { ret void } declare i32 @_Unwind_RaiseException(%UnwindInfo*) noreturn -- Talin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ExTest.ll URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090517/6b2e2a8c/attachment.ksh>