Skip to content

Use base arch when processing base code #62

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
merged 1 commit into from
May 20, 2024

Conversation

AetiasHax
Copy link
Contributor

When diffing target against base, the diff_code function uses the target arch object to process code for both target and base, and the base arch object goes unused.

From what I can tell, all currently supported architectures have the same parameters in the two arch objects, so it doesn't matter which one gets used to process code. However, I'm working on supporting ARMv5TE, and my arch objects can have different parameters.

@encounter
Copy link
Owner

Good catch, thanks!

@encounter encounter merged commit 854dc9e into encounter:main May 20, 2024
10 checks passed
@AetiasHax AetiasHax deleted the diff-code branch May 26, 2024 10:38
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