diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2024-08-14 12:10:28 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2024-08-14 12:10:40 +0200 |
| commit | f26573fddfcebe44d4d69ea0e01d345fc1b15835 (patch) | |
| tree | 9dbe0f94673f8df0f3d3b0c939db2ffa70dbcad8 /src/zig_clang_driver.cpp | |
| parent | 1bd54a55fa40db9f91d8a0c1cf5244ff51be6081 (diff) | |
| download | zig-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/zig_clang_driver.cpp')
0 files changed, 0 insertions, 0 deletions
