Skip to content

LLVM generated code crashes if stack frame > 4k on MinGW64 #9291

@llvmbot

Description

@llvmbot
Bugzilla Link 8919
Resolution FIXED
Resolved on Mar 28, 2011 00:26
Version trunk
OS Windows XP
Blocks llvm/llvm-bugzilla-archive#9100
Attachments Patch for fixing the above issue.
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions