Skip to content

Async resumption stubs in crossgen require special casing from the jit to set the thumb bit #125788

@jtschuster

Description

@jtschuster

See #125421 and #126294 for more information.

The runtime and ilc handle setting the thumb bit during compilation/emission of methods. Crossgen does not handle it and instead leaves it to runtime fixup resolution to add the thumb bit. However, crossgen does not emit fixups for resumption stub entrypoints, so calls into the resumption stubs were missing the thumb bit. In #125421, the jit started doing a special case check to add the thumb bit for crossgen2, but we should unify on a single behavior, either emitting the thumb bit into the fixups and relocs in crossgen, or making the resumption stub entrypoint a fixup.

cc @MichalStrehovsky @jakobbotsch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions