Stream: git-wasmtime

Topic: wasmtime / Issue #1078 Map to DWARF register numbers


view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2021 at 17:12):

bjorn3 commented on Issue #1078:

Both the old and new backend framework now provide a method on TargetIsa to do this.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2021 at 17:30):

cfallin closed Issue #1078:

We need a way to map cranelift registers to DWARF registers.

I think this should be part of RegInfo. LLVM stores this map as an array of register pairs, and performs lookups using lower_bound. I'm not sure if cranelift should do the same, or use an array indexed by RegUnit.

Should we wait until after RegInfo generation is converted from python before doing this?


Last updated: Jan 09 2026 at 13:15 UTC