Skip to content

MachineSanitizerBinaryMetadata modifies original IR as a MachineFunction pass #130553

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

Open
arsenm opened this issue Mar 10, 2025 · 0 comments
Open
Assignees

Comments

@arsenm
Copy link
Contributor

arsenm commented Mar 10, 2025

This violates the rules of codegen, where we assume the underlying IR never changes.

For the purposes of what this pass is doing, it should not be a machine pass. It is only checking the size and alignment of stack passed arguments. The ABI is exactly computable from an IR signature, and does not require going through codegen to get this information.

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

No branches or pull requests

4 participants