Skip to content

Add Fix*Address methods to Process, call into ABI #6995

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

Merged

Conversation

jasonmolenda
Copy link

Add Fix*Address methods to Process, call into ABI

We need to clear non-addressable bits from addresses across the lldb sources. Currently these need to use an ABI method to clear those bits from addresses, which you do by taking a Process, getting the current ABI, then calling the method.

Simplify this by providing methods in Process which call into the ABI methods themselves.

Differential Revision: https://reviews.llvm.org/D152863

(cherry picked from commit 90d9f88)

We need to clear non-addressable bits from addresses across
the lldb sources.  Currently these need to use an ABI method
to clear those bits from addresses, which you do by taking a
Process, getting the current ABI, then calling the method.

Simplify this by providing methods in Process which call into
the ABI methods themselves.

Differential Revision: https://reviews.llvm.org/D152863

(cherry picked from commit 90d9f88)
@jasonmolenda
Copy link
Author

@swift-ci please test

@JDevlieghere JDevlieghere merged commit 1faa830 into swift/release/5.9 Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants