Files
wasmtime/cranelift/jit
Afonso Bordado e64fb6ab39 riscv64: Fix underflow in call relocation handling (#5951)
Under some test case layouts the call relocation
panicking with an underflow. Use `wrapping_sub` to
signal that this is expected.

The fuzzer took a while to generate such a test case.
And I can't introduce it as a regression test because
when running via the regular clif-util run tests the
layout is different and the test case passes!

I think this is because in the fuzzer we only add
one trampoline, while in clif-util we build trampolines
for each funcion in the file.

Co-authored-by: Jamey Sharp <jsharp@fastly.com>
2023-03-10 11:43:27 +00:00
..
2023-03-06 15:08:16 +00:00

This crate provides a JIT library that uses Cranelift.

This crate is extremely experimental.

See the example program for a brief overview of how to use this.