Skip to content

__aeabi_ functions should use the AAPCS calling convention, at least with LLVM 4.0+ #116

Closed

Description

I'm not exactly sure about the specifics of this issue but based on
rust-lang/compiler-rt#26 (comment)
I think the __aeabi aliases should use the AAPCS calling convention. extern "aapcs" fn seems to work. If the functions that are being aliased don't also use extern "aapcs" there may be some shuffling around of registers which may hamper inlining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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