Add TargetIsa::map_dwarf_register; fixes #1471#1487
Add TargetIsa::map_dwarf_register; fixes #1471#1487abrown merged 1 commit intobytecodealliance:masterfrom
Conversation
|
@peterhuene, not sure how this will play with #1466 but this does seem like the better long-term solution. Also, I hope my liberal use of |
peterhuene
left a comment
There was a problem hiding this comment.
LGTM 👍, but let's get @yurydelendik's opinion as well.
Just one nit comment; I think this should unblock the arm build of wasmtime-environ.
|
I'll tackle any conflicts this might cause for #1466. |
I'm good with the approach. |
Subscribe to Label ActionThis issue or pull request has been labeled: "cranelift" Users Subscribed to "cranelift"To subscribe or unsubscribe from this label, edit the |
This exposes the functionality of `fde::map_reg` on the `TargetIsa` trait, avoiding compilation errors on architectures where register mapping is not yet supported. The change is conditially compiled under the `unwind` feature.
@abrown it seems to depend on an unreleased version of /tmp/wasmtime $ cargo build --target armv7-unknown-linux-gnueabihf |
|
@stefson, I see witx at 0.8.5 available on crates.io so I'm not exactly sure what is going on (@pchickey, is it clear to you?). Perhaps there is a |
|
I forgot to update the submodules, I'm sorry :c But yes, with your branch it is now back to the old state of an error in wasmtime-obj, where it flakes out with an unsupported platform error, which is expected. |
This exposes the functionality of
fde::map_regon theTargetIsatrait, avoiding compilation errors on architectures where register mapping is not yet supported. The change is conditially compiled under theunwindfeature.