You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that .rodata section is over 30KiB, as it seems to include the full errol3 table, as well as some other stuff I wasn't able to recognize.
Removing either fstat (by changing to a constant) or fmtIntSizeBin (by changing to a raw value) reduces the .rodata section to a few hundred bytes. Desired outcome: the .rodata section of the example above should also be a few hundred bytes. I am not sure why a combination of those causes it to include that much stuff, but, well, it does.
The result is the same with both stage1 and stage2.
The text was updated successfully, but these errors were encountered:
motiejus
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Jul 9, 2022
Zig Version
0.10.0-dev.2880+6f0807f50
Steps to Reproduce
Compile this:
test.zig
Build and analyze:
Notice that
.rodata
section is over 30KiB, as it seems to include the fullerrol3
table, as well as some other stuff I wasn't able to recognize.Removing either
fstat
(by changing to a constant) orfmtIntSizeBin
(by changing to a raw value) reduces the.rodata
section to a few hundred bytes. Desired outcome: the.rodata
section of the example above should also be a few hundred bytes. I am not sure why a combination of those causes it to include that much stuff, but, well, it does.The result is the same with both stage1 and stage2.
The text was updated successfully, but these errors were encountered: