Skip to content

Either support or explicitly reject the x32 abi for x86_64. #8694

@bjorn3

Description

@bjorn3

Feature

The x32 abi uses 32bit pointers rather than 64bit pointers. Currently Cranelift accepts x86_64-unknown-linux-gnux32 as target but treats it as x86_64-unknown-linux including usage of 64bit pointers. Cranelift should either implement actual x32 support or reject building a TargetIsa for it.

Benefit

Avoid silent miscompilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions