Skip to content

Conversation

@danielocfb
Copy link
Collaborator

Improve the handling of trailing bitfields in struct types, for which we missed the emitting of padding bytes.

Closes: #1285

Improve the handling of trailing bitfields in struct types, for which we
missed the emitting of padding bytes.

Closes: libbpf#1285

Signed-off-by: Daniel Müller <deso@posteo.net>
@danielocfb danielocfb requested a review from anakryiko December 15, 2025 14:41
@danielocfb
Copy link
Collaborator Author

Not really sure whether that's a proper way to go about it. @anakryiko , do you have any opinions?

@danielocfb danielocfb force-pushed the topic/trailing-bitfields branch from 72752b5 to a96d003 Compare December 18, 2025 12:29
@danielocfb danielocfb enabled auto-merge (rebase) December 18, 2025 12:30
@danielocfb danielocfb merged commit 3ae5ce4 into libbpf:master Dec 18, 2025
18 checks passed
@danielocfb danielocfb deleted the topic/trailing-bitfields branch December 18, 2025 14:00
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.

Generated structures miss padding

2 participants