Displaying 1 result from an estimated 1 matches for "longmp".
Did you mean:
longjmp
2005 Nov 25
0
[LLVMdev] Re: setjmp/longjmp interoperable between llvm and gcc?
...the jmpbuf with a function pointer to a longjmp
call that is compiled in the same compilation unit as the setjmp.
ZZ_SIGLONGJMP calls through this function pointer.
This way, an llvm-compiled longjmp is used for every longjmp to an
llvm-compiled setjmp; and a gcc-compiled longjmp is used for every
longmp to a gcc-compiled 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
/*...