Displaying 2 results from an estimated 2 matches for "llvmsetpersonalityfn".
2015 Nov 09
3
Request to merge r242372 into the 3.7 branch: Fix for C API incompatibility between 3.6 and 3.7.
...ure whether we should use this or ifndef NDEBUG
#define LLVMBuildLandingPad(B, Ty, PersFn, Name) \
dbgs() << "Warning: PersnFn parameter ignored. You must explicitly set the " \
"personality function on the parent function with " \
" LLVMSetPersonalityFn(). This behavior changed in LLVM 3.7"; \
LLVMBuildLandingPad(B, Ty, Name)
#else
#define LLVMBuildLandingPad(B, Ty, PersFn, Name)
LLVMBuildLandingPad(B, Ty, Name);
I'm open to other suggestions. What do people think about this?
-Tom
>
>
> >
> > -Chris
&g...
2015 Nov 09
2
Request to merge r242372 into the 3.7 branch: Fix for C API incompatibility between 3.6 and 3.7.
...UG
>> #define LLVMBuildLandingPad(B, Ty, PersFn, Name) \
>> dbgs() << "Warning: PersnFn parameter ignored. You must explicitly
>> set the " \
>> "personality function on the parent function with " \
>> " LLVMSetPersonalityFn(). This behavior changed in LLVM
>> 3.7"; \
>> LLVMBuildLandingPad(B, Ty, Name)
>> #else
>> #define LLVMBuildLandingPad(B, Ty, PersFn, Name)
>> LLVMBuildLandingPad(B, Ty, Name);
>>
>> I'm open to other suggestions. What do people think...