Skip to content

Support stack probing for arm64 (aarch64) #77071

Closed
@tmandry

Description

@tmandry
Member

Background: #43241

This issue is to track implementation of stack probing on arm64. Most of the work necessary is in in LLVM, but this is a convenient place to track progress and final support in the Rust compiler.

Implementation: @cuviper has suggested using LLVM's inline-asm support for stack probing: #43241 (comment). It does not yet support arm64.

External trackers:

Activity

added
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
on Sep 22, 2020
added
O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
on Sep 22, 2020
pietroalbini

pietroalbini commented on Sep 22, 2020

@pietroalbini
Member

@rustbot ping arm

rustbot

rustbot commented on Sep 22, 2020

@rustbot
Collaborator

Hey ARM Group! This bug has been identified as a good "ARM candidate".
In case it's useful, here are some instructions for tackling these sorts of
bugs. Maybe take a look?
Thanks! <3

cc @JamieCunliffe @joaopaulocarreiro @raw-bin @Stammark @vigoux

tmandry

tmandry commented on Feb 13, 2021

@tmandry
MemberAuthor

Hi @raw-bin, what's the status of this? As I recall this work was planned to land as part of LLVM 12, but I haven't seen updates on the Linaro tracker yet.

raw-bin

raw-bin commented on Feb 13, 2021

@raw-bin
raw-bin

raw-bin commented on Feb 23, 2021

@raw-bin

Hi @tmandry, folks.

Apologies for the delay.

There has been good progress.

Please note the following patches that have been posted by Linaro for review:

https://reviews.llvm.org/D96004
https://reviews.llvm.org/D96005
https://reviews.llvm.org/D96006
https://reviews.llvm.org/D96007

At present Linaro is blocking on review.

If possible, please do chime in.

I will provide further updates as needed.

Cheers

tmandry

tmandry commented on Feb 23, 2021

@tmandry
MemberAuthor

Great, thanks for the update! Let me ask around to see if I can help get those patches reviewed.

added
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
on Mar 15, 2021

33 remaining items

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-stack-probeArea: Stack probing and guard pagesC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCO-AArch64Armv8-A or later processors in AArch64 modePG-exploit-mitigationsProject group: Exploit mitigationsS-blockedStatus: Blocked on something else such as an RFC or other implementation work.S-tracking-unimplementedStatus: The feature has not been implemented.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cuviper@tstellar@joshtriplett@pnkfelix@raw-bin

        Issue actions

          Support stack probing for arm64 (aarch64) · Issue #77071 · rust-lang/rust