Skip to content

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

Merged
emesare merged 1 commit into
Vector35:devfrom
bdash:objc-ivar-offset-0
Apr 8, 2025
Merged

[ObjC] Handle Objective-C ivars with an offset of 0#6576
emesare merged 1 commit into
Vector35:devfrom
bdash:objc-ivar-offset-0

Conversation

@bdash
Copy link
Copy Markdown
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
Copy Markdown
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