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

ty: Use canonical type to access pointee. #2245

Merged
merged 1 commit into from
Jul 25, 2022
Merged

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Jul 25, 2022

Using the canonical type fixes this but changes the output of some tests
(in particular, pointer to typedefs now point to the underlying type).
So do this only in known-bad cases.

Fixes #2244

@emilio emilio force-pushed the pointer-unknown-attr-const branch from a19cd80 to cc94ee1 Compare July 25, 2022 09:26
Using the canonical type fixes this but changes the output of some tests
(in particular, pointer to typedefs now point to the underlying type).
So do this only in known-bad cases.

Fixes #2244
@emilio emilio force-pushed the pointer-unknown-attr-const branch from cc94ee1 to d3d6a44 Compare July 25, 2022 09:36
@emilio emilio merged commit ef2ee38 into master Jul 25, 2022
@emilio emilio deleted the pointer-unknown-attr-const branch July 25, 2022 10:06
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.

Attribute btf_type_tag makes constness of pointers disappear
1 participant