| 27de1e0b | 06-Mar-2025 |
bjorn3 <[email protected]> |
Remove hotswapping support from cranelift-jit (#10345)
* Remove hotswapping support from cranelift-jit
It was originally introduced for cg_clif. cg_clif recently removed it's use of hotswapping as
Remove hotswapping support from cranelift-jit (#10345)
* Remove hotswapping support from cranelift-jit
It was originally introduced for cg_clif. cg_clif recently removed it's use of hotswapping as the way it is implemented in cranelift-jit has various issues like leaking memory, panicking when the memory allocator decided to put two functions more than 2GB away from each other and only supporting x86_64. Better hotswapping support will likely require a fundamentally different implementation.
* Fix UB when using zero-sized allocations together with pcrel relocs
show more ...
|