Displaying 3 results from an estimated 3 matches for "eh_exception".
Did you mean:
_exception
2009 May 15
1
[LLVMdev] Intrinsic
...trinsic::getDeclaration(llvm_module,Intrinsic::memset,&Tys,1);
Now, it's running with this calling :
return cast<Function> llvm_module->getOrInsertFunction(std::string("llvm.eh.exception"),
Intrinsic::getType(Intrinsic::eh_exception, &Tys,1)) );
Is that correct?
Manoel Teixeira
2011 Sep 22
1
[LLVMdev] UpgradeExceptionHandling
...se.
However, ... as UpgradeExceptionHandling(...) will go away in 3.1, one should upgrade
their pre 3.0 exception handling code to the 3.0 system as soon as possible. The
new system is more concise, and therefore cleaner, as it merges in the old
llvm::Intrinsic::eh_selector, and llvm::Intrinsic::eh_exception intrinsics into one landpad
instruction. Also I'm not sure if use of UpgradeExceptionHandling(...) is an approved
approach so depending on it may be at one's own expense.
As I found the implementation of the UpgradeExceptionHandling(...) to be pretty cool,
I thought I would take the time...
2009 Apr 28
3
[LLVMdev] how to resolve llvm exception IR?
...@llvm.eh.selector.i32(i8* %eh_ptr15, i8* bitcast (i32 (...)*
@__gxx_personality_v0 to i8*)) ; <i32> [#uses=0]
82 tail call void @_ZSt9terminatev() noreturn nounwind
83 unreachable
84
85 Unwind: ; preds = %lpad10, %lpad
86 %eh_exception.0 = phi i8* [ %eh_ptr, %lpad ], [
%eh_ptr11, %lpad10 ] ; <i8*> [#uses=1]
87 tail call void @_Unwind_Resume(i8* %eh_exception.0)
88 unreachable
89 }
my question is at line 59 can throw an exception?
here is another cpp file:
$ cat -n eh1.try.cpp...