[LLVMbugs] [Bug 1642] New: SjLj (setjmp/longjmp) -based exception handling in LLVM-GCC seems to be unsupported

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Sep 6 09:26:28 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1642

           Summary: SjLj (setjmp/longjmp)-based exception handling in LLVM-
                    GCC seems to be unsupported
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: missing-feature, portability
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nightwatch41 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


builtin_setjmp() and builtin_longjmp() are unsupported in the latest LLVM-GCC
(per the FIXME at llvm-convert.cpp:4369); however, defining
DONT_USE_BUILTIN_SETJMP as a workaround does not cause the appropriate buffers
to be created at all. cf. except.c, which has several blocks of code to create
the appropriate buffers, bracketed with "if (USING_SJLJ_EXCEPTIONS)".

SjLj-type exceptions would be very helpful for LLVM-GCC, because they're
inherently more portable than the standard target-specific exceptions are.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list