Skip to content

Unwinding through __morestack on windows does not work #9854

Closed
@alexcrichton

Description

@alexcrichton

In #9834, we're now using __morestack in the new runtime in order to catch stack overflow failures. The tests related to this functionality are xfail'd on windows, however, because the unwinder does not want to unwind through the __morestack stack frame (or at least that's my best guess).

Nominating for 1.0 high priority, this isn't something which should happen very frequently, but it's frequent enough that we need to be more reasonable than just outright failing on windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsO-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions