[LLVMbugs] [Bug 8919] New: LLVM generated code crashes if stack frame > 4k on MinGW64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 5 16:05:48 PST 2011


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

           Summary: LLVM generated code crashes if stack frame > 4k on
                    MinGW64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sreeram at tachyontech.net
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5967)
 --> (http://llvm.org/bugs/attachment.cgi?id=5967)
Patch for fixing the above issue.

LLVM incorrectly generates "_alloca" as the stack probing call. That works only
on MinGW32. On 64-bit, the function to call is "__chkstk". I've attached a
patch to fix it.

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