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

[JITLink][AArch32] Draft fixture class for fixup tests and out-of-range errors in particular #73397

Merged

Conversation

weliveindetail
Copy link
Contributor

Copy link

github-actions bot commented Nov 25, 2023

✅ With the latest revision this PR passed the C/C++ code formatter.

@weliveindetail weliveindetail force-pushed the jitlink-aarch32-fixup-test-fixture branch from 9129999 to f4d92c8 Compare November 28, 2023 22:11
Copy link
Contributor

@eymay eymay left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!


// Check that branching to an ARM target with Jump24 fails
Symbol &ArmTarget = createSymbolWithDistance(Site, 0x1000);
assert((J1J2Target.getTargetFlags() & TargetFlags_aarch32::ThumbSymbol) == 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you meant ArmTarget here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Fixed

@weliveindetail weliveindetail force-pushed the jitlink-aarch32-fixup-test-fixture branch from f4d92c8 to 24d02cd Compare November 29, 2023 15:47
@weliveindetail weliveindetail marked this pull request as ready for review November 29, 2023 15:48
@weliveindetail weliveindetail merged commit f32509b into llvm:main Nov 29, 2023
4 checks passed
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.

None yet

2 participants