[LLVMbugs] [Bug 11285] New: Exception handling broken on Windows (MinGW)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 1 07:19:11 PDT 2011


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

             Bug #: 11285
           Summary: Exception handling broken on Windows (MinGW)
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vanboxem.ruben at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7565
  --> http://llvm.org/bugs/attachment.cgi?id=7565
g++ (4.6.3 sjlj) output

As it stands, there is no functional exception handling in LLVM/Clang for
Windows. On MinGW, functions like "__cxa_allocate_exception" and "__cxa_throw"
are generated. Linking succeeds, but exception handling does not work.

Attached is "-S" output for clang++ and g++ (sjlj).

MSVC-based Clang is even more broken due to name mangling and the missing
abovementioned functions.

-- 
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