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

[ObjC] Handle Objective-C ivars with an offset of 0 #6576

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

bdash
Copy link
Contributor

@bdash bdash commented Apr 7, 2025

objc-runtime-new.mm mentions an offset of 0 is used for anonymous bitfields.

There are a few libraries in the shared cache that were hitting this. Previously this would throw an exception when attempting to read from offset 0 and the types would not be applied for the ivar.

@emesare emesare self-assigned this Apr 8, 2025
objc-runtime-new.mm mentions an offset of 0 is used for anonymous
bitfields.

Previously this would throw an exception when attempting to read from
offset 0 and the types would not be applied.
@bdash bdash force-pushed the objc-ivar-offset-0 branch from ee00d2d to 29b4a4c Compare April 8, 2025 17:45
@emesare
Copy link
Member

emesare commented Apr 8, 2025

image image

LGTM

@emesare emesare merged commit ea9b316 into Vector35:dev Apr 8, 2025
1 check passed
@emesare emesare added this to the Gallifrey milestone Apr 8, 2025
@bdash bdash deleted the objc-ivar-offset-0 branch April 9, 2025 01:39
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