Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support PAC stripping on old assemblers #118

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

supervacuus
Copy link
Collaborator

Older toolchains might have assemblers that don't know the XPACLRI mnemonic but could target aarch64 anyway, including CPUs supporting PAC (i.e. ARMv8.3). When using those toolchains, crashpad will fail to build. We can generate inline-assembly that uses the respective hint to hide the fact that the assembler isn't aware of the instruction.

Copy link
Member

@JoshuaMoelans JoshuaMoelans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@supervacuus supervacuus merged commit 4cc763c into getsentry Jan 27, 2025
12 checks passed
@supervacuus supervacuus deleted the feat/support_pac_stripping_old_assemblers branch January 27, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants