search for: finally_pad

Displaying 14 results from an estimated 14 matches for "finally_pad".

2010 Jan 22
4
[LLVMdev] Exception handling question
Hi Garrison, > %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* > @_Unwind_RaiseException to i8* (...)*)(i64* %6) > to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] > > I am not sure this is going to work, at least from the way I've played > with the system. > In my examples the _Unwind_RaiseException(...) is called from a frame > (function) called via > the invoke instruction, not from a frame that contains t...
2010 Jan 21
4
[LLVMdev] Exception handling question
...%33** %e ; <%33*> [#uses=1] %6 = getelementptr inbounds %33* %5, i32 0, i32 2, i32 0 ; <i64*> [#uses=1] %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6) to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] ; <label>:8 ; preds = %.try_body br label %.finally_handler .finally_pad: ; preds = %.try_body %9 = call i8* @llvm.eh.exception() ; <i8*> [#uses=2] store i8* %9, i8**...
2010 Jan 22
0
[LLVMdev] Exception handling question
Hi James, Looking at: %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6) to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] I am not sure this is going to work, at least from the way I've played with the system. In my examples the _Unwind_RaiseException(...) is called from a frame (function) called via the invoke instruction, not from a frame that contains the invoke instruction. Garrison...
2010 Jan 22
3
[LLVMdev] Exception handling question
2010/1/22 James Williams <junk at giantblob.com> > > > 2010/1/22 Duncan Sands <baldrick at free.fr> > >> Hi James, >> >> >> I get the expected output (after changing i32 @llvm.eh.selector() to i64 >>> llvm.eh.selector.i64()) >>> >> >> in top-of-tree, llvm.eh.selector.i64 has been removed (though bitcode will >>
2010 Jan 22
0
[LLVMdev] Exception handling question
2010/1/22 Duncan Sands <baldrick at free.fr> > Hi Garrison, > > > %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* >> @_Unwind_RaiseException to i8* (...)*)(i64* %6) >> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] >> >> I am not sure this is going to work, at least from the way I've played >> with the system. In my examples the _Unwind_RaiseException(...) is called >> from a frame (function) called via >> the invoke instruction, not from a frame that...
2010 Jan 21
0
[LLVMdev] Exception handling question
...; <%33*> [#uses=1] > %6 = getelementptr inbounds %33* %5, i32 0, i32 2, i32 0 ; <i64*> [#uses=1] > %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6) > to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] > > ; <label>:8 ; preds = %.try_body > br label %.finally_handler > > .finally_pad: ; preds = %.try_body > %9 = call i8* @llvm.eh.exception() ; <i8*> [...
2010 Jan 22
0
[LLVMdev] Exception handling question
...don't yet have non-JIT experience with LLVM. Garrison On Jan 22, 2010, at 6:51, Duncan Sands wrote: > Hi Garrison, > >> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6) >> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] >> I am not sure this is going to work, at least from the way I've played with the system. In my examples the _Unwind_RaiseException(...) is called from a frame (function) called via >> the invoke instruction, not from a frame that contains the invoke instru...
2010 Jan 22
6
[LLVMdev] Exception handling question
...22, 2010, at 8:06, James Williams wrote: > > > 2010/1/22 Duncan Sands <baldrick at free.fr> > Hi Garrison, > > > %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6) > to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] > > I am not sure this is going to work, at least from the way I've played with the system. In my examples the _Unwind_RaiseException(...) is called from a frame (function) called via > the invoke instruction, not from a frame that contains the invoke instruct...
2010 Jan 22
0
[LLVMdev] Exception handling question
...t; > > > 2010/1/22 Duncan Sands <baldrick at free.fr> > >> Hi Garrison, >> >> >> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* >>> @_Unwind_RaiseException to i8* (...)*)(i64* %6) >>> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] >>> >>> I am not sure this is going to work, at least from the way I've played >>> with the system. In my examples the _Unwind_RaiseException(...) is called >>> from a frame (function) called via >>> the invoke instruction, n...
2010 Jan 22
2
[LLVMdev] Exception handling question
...cx, 32(%rsp) .LBB153_2: # %.try_body movq 32(%rsp), %rdi .Llabel291: addq $16, %rdi xorb %al, %al call _Unwind_RaiseException .Llabel292: jmp .LBB153_4 .LBB153_3: # %.finally_pad .Llabel293: movq %rax, 16(%rsp) testq %rdx, %rdx setne %al movzbl %al, %eax movq %rax, (%rsp) .LBB153_4: # %.finally_handler movl $.L__string_27, %edi xorb %al, %al call printf xorl %eax,...
2010 Jan 22
0
[LLVMdev] Exception handling question
...t; > > > 2010/1/22 Duncan Sands <baldrick at free.fr> > >> Hi Garrison, >> >> >> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* >>> @_Unwind_RaiseException to i8* (...)*)(i64* %6) >>> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] >>> >>> I am not sure this is going to work, at least from the way I've played >>> with the system. In my examples the _Unwind_RaiseException(...) is called >>> from a frame (function) called via >>> the invoke instruction, n...
2010 Jan 22
1
[LLVMdev] Exception handling question
2010/1/22 Garrison Venn <gvenn.cfe.dev at gmail.com> > Hi James, > > Looking at: > > %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* > @_Unwind_RaiseException to i8* (...)*)(i64* %6) > to label %8 unwind label %.finally_pad ; <i8*> [#uses=0] > > I am not sure this is going to work, at least from the way I've played with > the system. > In my examples the _Unwind_RaiseException(...) is called from a frame > (function) called via > the invoke instruction, not from a frame that contains the i...
2010 Jan 22
0
[LLVMdev] Exception handling question
...# %.try_body > movq 32(%rsp), %rdi > .Llabel291: > > addq $16, %rdi > xorb %al, %al > call _Unwind_RaiseException > .Llabel292: > > jmp .LBB153_4 > .LBB153_3: # %.finally_pad > .Llabel293: > > movq %rax, 16(%rsp) > testq %rdx, %rdx > setne %al > movzbl %al, %eax > movq %rax, (%rsp) > .LBB153_4: # > %.finally_handler > movl $.L__string_27, %edi >...
2010 Jan 22
0
[LLVMdev] Exception handling question
Hi James, > I've been trying to get a minimal test function to work, which simply > invokes _Unwind_RaiseException with a single clean-up landing pad. > However. when I run it my personality function is not getting called - > _Unwind_RaiseException simply returns apparently doing nothing. Looking > at the x86-64 assembly output from llc, I can see this is happening >