aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2024-08-14 12:10:28 +0200
committerJakub Konka <kubkon@jakubkonka.com>2024-08-14 12:10:40 +0200
commitf26573fddfcebe44d4d69ea0e01d345fc1b15835 (patch)
tree9dbe0f94673f8df0f3d3b0c939db2ffa70dbcad8 /src/codegen
parent1bd54a55fa40db9f91d8a0c1cf5244ff51be6081 (diff)
downloadzig-f26573fddfcebe44d4d69ea0e01d345fc1b15835.tar.gz
zig-f26573fddfcebe44d4d69ea0e01d345fc1b15835.zip
elf: re-use old atom slot for a trampoline to that atom
This is the initial implementation of Jacob Young's idea of re-using old function slots as trampolines for new function's location. This way the trampoline is guaranteed to be aligned to the function's alignment. The only edge case is if an incremental update further overaligns the function in which case we skip/delete the trampoline and re-evaluate all references.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions