wasmerio / wasmer

🚀 The leading Wasm Runtime supporting WASIX and WASI
https://wasmer.io
MIT License
19.04k stars 814 forks source link

fix(llvm): Fix `ADD_ABS_LO12_NC` relocation #5230

Closed xdoardo closed 2 weeks ago

xdoardo commented 2 weeks ago

This patch fixes some of the recent errors we've seen when running LLVM on aarch64.

I tested it against:

syrusakbary commented 2 weeks ago

Ideally, we would have tests for this. But I'm ok for now because this triggers when the module is too big, so it'll be non trivial to reproduce