Displaying 1 result from an estimated 1 matches for "upgradeexceptionhandl".
2011 Sep 22
1
[LLVMdev] UpgradeExceptionHandling
For those of you who want to get their exception handling code (NON SJLJ), working
with the new 3.0 exception infrastructure, the core developers have created a handy
function in AutoUpgrade (#include "llvm/AutoUpgrade.h") called:
UpgradeExceptionHandling(...). This function will convert all the functions in a
module using the pre 3.0 exception intrinsics into use of the new 3.0 landingpad
instruction. This function must be run before the llvm::verifyFunction(...) as the
verifier will now complain if the an invoke instruction's unwind block d...