Iterate over the stack maps contained in the given stack map section. This function takes a `section` as its first argument which must have been created with `StackMapSection` builder. This is intended to be the raw `ELF_WASMTIME_STACK_MAP` section from the compilation artifact. The yielded offsets are relative to the start of the text section for this map's code object.
(section: &'a [u8])
| 86 | /// The yielded offsets are relative to the start of the text section for |
| 87 | /// this map's code object. |
| 88 | pub fn iter(section: &'a [u8]) -> Option<impl Iterator<Item = (u32, StackMap<'a>)> + 'a> { |
| 89 | Some(StackMapSection::parse(section)?.into_iter()) |
| 90 | } |
| 91 | |
| 92 | /// Returns the byte size of this stack map's frame. |
| 93 | pub fn frame_size(&self) -> u32 { |