[LLVMbugs] [Bug 16] [lowerinvoke] The -lowerinvoke pass does not insert calls to setjmp/longjmp

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Feb 8 11:57:49 PST 2004


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.2

------- Additional Comments From sabre at nondot.org  2004-02-08 13:57 -------
This bug is now fixed.  Patch here:

Testcase here:

Because SJLJ exceptions are potentially expensive, they default to being off. 
If the program throws an exception, it will terminate, with this message:
"Exception handler needed, but not enabled.  Recompile program with

In the testsuite, a program should set 'REQUIRES_EH_SUPPORT = 1' in the makefile
if it needs exception handling support (for longjmp or throw).

I finally got around to doing this, because having all of the EH singlesource
tests fail on LLC/JIT masks real problems.  :(  Both the X86 and Sparc code
generators should now support invoke/unwind property.  Now all Regression/C++/EH
tests pass, for example.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list