Skip to content

Return a CDataModel for CalllingConvention::AppleAarch64 #100

@Spartan2909

Description

@Spartan2909

According to Apple's documentation, their C data model seems to conform to LP64.

This Wikipedia article also says that macOS uses LP64.

Unless I've missed something, it should be possible to simply return CDataModel::LP64 from Triple::data_model when the calling convention is AppleAarch64.

I'm happy to open a PR for this if this is the right solution.

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