aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/parser.cpp
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-09-09 00:25:55 +0200
committerJakub Konka <kubkon@jakubkonka.com>2021-09-09 00:25:55 +0200
commit9fb44e8e1fa4f07e44e2d354e09db9d953861e71 (patch)
treeff2e06aee633e5f81a2306c1cb9701f4598f6b58 /src/stage1/parser.cpp
parente00b9d6192a09305c4160ccbeeb761a1f1af855a (diff)
downloadzig-9fb44e8e1fa4f07e44e2d354e09db9d953861e71.tar.gz
zig-9fb44e8e1fa4f07e44e2d354e09db9d953861e71.zip
macho: precompute total required size when parsing objects
This way, we can preallocate the necessary sizes for segments and sections upfront rather than doing it per parsed atom.
Diffstat (limited to 'src/stage1/parser.cpp')
0 files changed, 0 insertions, 0 deletions