Stream: git-wasmtime

Topic: wasmtime / PR #2865 Expose JITModule::get_got_address


view this post on Zulip Wasmtime GitHub notifications bot (Apr 29 2021 at 07:25):

eggyal opened PR #2865 from expose_get_got_address to main:

This hasn't been discussed in a wasmtime issue, but (together with #2786) it's needed it for bjorn3/rustc_codegen_cranelift#1166.

It exposes JITModule::get_got_address so that, when jitting lazily, cranelift users can inspect the GOT to determine whether a given function's entry is still their shim trampoline or not (and therefore whether the function has already been jitted). This prevents the function from being jitted differently from simultaneous requests arising from different threads.

No test cases added, because exposing a function obviously doesn't change any behaviour.

Sorry, I don't know who would be an appropriate reviewer for this.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 29 2021 at 08:29):

eggyal updated PR #2865 from expose_get_got_address to main.


Last updated: Oct 23 2024 at 20:03 UTC