[all-commits] [llvm/llvm-project] 887f1e: [llvm-jitlink] Fix a bug in llvm-jitlink's Slab al...
lhames via All-commits
all-commits at lists.llvm.org
Sun Feb 13 19:28:51 PST 2022
Author: Lang Hames <lhames at gmail.com>
Date: 2022-02-13 (Sun, 13 Feb 2022)
[llvm-jitlink] Fix a bug in llvm-jitlink's Slab allocator.
The slab delta (used to link as if allocated at a specified address) should
remain constant.The update to the delta was accidentally introduced in
962a2479b57f5, but hasn't caused any failures as it only breaks in an obvious
way for multi-file exec uses (our regression tests are all -noexec, and tend to
No testcase here: this is an obscure utility for testing support, and an
uncommon use-case. If the slab allocator is ever moved into LLVM we could add
a unit test to catch this.
More information about the All-commits