bytecodealliance / cranelift-jit-demo

JIT compiler and runtime for a toy language, using Cranelift
Apache License 2.0
648 stars 61 forks source link

Add example that uses `load` and `store` #69

Open m-haisham opened 2 years ago

m-haisham commented 2 years ago

I've been trying to create a fixed length of memory and load from it. I keep getting

terminated by signal SIGSEGV (Address boundary error)

If you could add an example showing such a usecase it would be very helpful.