search for: setjmpwrapp

Displaying 1 result from an estimated 1 matches for "setjmpwrapp".

Did you mean: setjmpwrapper
2005 Nov 25
0
[LLVMdev] Re: setjmp/longjmp interoperable between llvm and gcc?
...piled setjmp. C++ exceptions or destructors wouldn't be handled properly, but that doesn't matter in this application because it is all in C. Note also that it is necessary to invoke llc with the --enable-correct-eh-support flag to enable setjmp/longjmp. Regards, ... kurt /*-------------setjmpwrapper.h-------------*/ #include <setjmp.h> /* llvm doesn't support sigsetjmp; use plain setjmp instead */ #undef sigsetjmp #define sigjmp_buf jmp_buf #define sigsetjmp(x,y) setjmp(x) #define siglongjmp longjmp typedef struct ZZ_SIGJMP_BUF { void (*zz_siglongjmp)(struct ZZ_SI...