The index in DW_OP_WASM_location is ULEB128 (#1611)
C.f. https://yurydelendik.github.io/webassembly-dwarf/#DWARF-expressions-and-location-descriptions
This commit is contained in:
@@ -331,7 +331,7 @@ where
|
|||||||
// TODO support wasm globals?
|
// TODO support wasm globals?
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
let index = pc.read_sleb128()?;
|
let index = pc.read_uleb128()?;
|
||||||
if pc.read_u8()? != 159 {
|
if pc.read_u8()? != 159 {
|
||||||
// FIXME The following operator is not DW_OP_stack_value, e.g. :
|
// FIXME The following operator is not DW_OP_stack_value, e.g. :
|
||||||
// DW_AT_location (0x00000ea5:
|
// DW_AT_location (0x00000ea5:
|
||||||
|
|||||||
Reference in New Issue
Block a user