search for: invokefunction

Displaying 2 results from an estimated 2 matches for "invokefunction".

2011 Nov 06
3
[LLVMdev] LLVM: to catch 'unwind' instruction from calling C++ code
Hi! I have a little problem using LLVM and will be happy to get a solution. I need to handle in C++ code an uncaught unwind instruction while calling JIT (now I get segfault). I mean something like nonexistent ExecutionEngine::invokeFunction instead of callFunction. Setting llvm::JITExceptionHandling to true and enclosing the JIT-call within try/catch block does not help here, because there is no C++ style exception thrown, but a simple unwind instruction. Thanks in advance. -------------- next part -------------- An HTML attachment wa...
2011 Nov 07
0
[LLVMdev] LLVM: to catch 'unwind' instruction from calling C++ code
...gt;> >> > I have a little problem using LLVM and will be happy to get a solution. >> I need >> > to handle in C++ code an uncaught unwind instruction while calling JIT >> (now I >> > get segfault). I mean something like nonexistent >> ExecutionEngine::invokeFunction >> > instead of callFunction. Setting llvm::JITExceptionHandling to true >> > and enclosing the JIT-call within try/catch block does not help here, >> because >> > there is no C++ style exception thrown, but a simple unwind >> instruction. Thanks >> >...