Skip to content

[ObjC] Use relative pointer types for members of objc_method_entry_t #6700

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

bdash
Copy link
Contributor

@bdash bdash commented Apr 22, 2025

Relative pointer types have been a first class citizen for some time and are rendered correctly without any additional work.

The code was previously relying on the Objective-C workflow to render the rptr_t typedef.

Fixes #6699.

@emesare emesare self-assigned this Apr 22, 2025
@emesare emesare added this to the H milestone Apr 22, 2025
@emesare emesare added File Format: Mach-O Component: Objective-C Workflow Issues related to Objective-C support File Format: SharedCache Issue with the dyld_shared_cache plugin labels Apr 22, 2025
@bdash
Copy link
Contributor Author

bdash commented Apr 22, 2025

I initially started on this change because I had expected it'd make cross references work for functions / variables that these fields point to. Sadly it does not (#6701).

@0cyn 0cyn assigned 0cyn and unassigned emesare Apr 28, 2025
@bdash bdash force-pushed the objc-relative-pointers branch from 33f082a to e838c00 Compare May 7, 2025 13:58
@bdash bdash force-pushed the objc-relative-pointers branch from e838c00 to e100369 Compare May 14, 2025 18:44
@bdash bdash force-pushed the objc-relative-pointers branch from e100369 to 212f228 Compare May 22, 2025 20:14
They were previously relying on the Objective-C workflow to render the
`rptr_t` typedef. Relative pointer types are now a first class citizen
and are rendered correctly without any additional work.
@bdash bdash force-pushed the objc-relative-pointers branch from 212f228 to de51156 Compare May 22, 2025 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Objective-C Workflow Issues related to Objective-C support File Format: Mach-O File Format: SharedCache Issue with the dyld_shared_cache plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use proper relative pointer in objective-c types
3 participants