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

Private/caolan/pahole #11238

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Private/caolan/pahole #11238

wants to merge 5 commits into from

Conversation

caolanm
Copy link
Contributor

@caolanm caolanm commented Feb 26, 2025

  • Resolves: #
  • Target version: master

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@caolanm caolanm force-pushed the private/caolan/pahole branch 2 times, most recently from 986fa6b to c84bb55 Compare February 26, 2025 20:59
…ings

and how to build your own if needs be

Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: I00c3a267e8ba3e9a2cebb0c00052682c73158506
Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: Ie9b101041cdbf36def86099ae83343ea7435c484
Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: Ia1a7800db425c1220c4456e9588d44d4a7decebf
do this one individually as it was originally explicitedly commented
to be 'Last member'

Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: I3ad11729ccb0efb7d59d266f0eec46ec966d73ae
needs pahole, and in practice seems to need clang++ with
-fno-eliminate-unused-debug-types along with the usual -g
otherwise at least std::fstream is seen as size 0

Signed-off-by: Caolán McNamara <[email protected]>
Change-Id: I7687223e551ab9ae1f44be368e799edcc141e928
@caolanm caolanm force-pushed the private/caolan/pahole branch from c84bb55 to 5fa9fd8 Compare February 27, 2025 09:31
Copy link
Contributor

@mmeeks mmeeks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh - it's a nice change. It will break quite a lot of back-porting though - We should think about when best to merge this. To what degree is this auto-generated ? =)

@caolanm
Copy link
Contributor Author

caolanm commented Feb 27, 2025

What can be packed was autogenerated with included incantation, but the ordering was manual, albeit mechanical by largest first and e.g. fancy std::atomics grouped before bools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Review
Development

Successfully merging this pull request may close these issues.

2 participants