Skip to content

outaout: align struct Symbol decrease size 56 to 48 bytes - #270

Open
GermanAizek wants to merge 1 commit into
netwide-assembler:masterfrom
GermanAizek:align-struct-0
Open

outaout: align struct Symbol decrease size 56 to 48 bytes#270
GermanAizek wants to merge 1 commit into
netwide-assembler:masterfrom
GermanAizek:align-struct-0

Conversation

@GermanAizek

@GermanAizek GermanAizek commented Jul 31, 2026

Copy link
Copy Markdown

If you know how to use pahole, then you can view the object files in release, debug, non-optimized debug, and so on. By default, C/C++ compilers do not change the size of structures until the programmer himself specifies the packing or alignment attribute (keyword).

Affected structs (cache size before and after):

  • Symbol 56 -> 48 bytes

References:

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.

1 participant