Get the address map for this component's `.text` section. See [`Module::address_map`] for more details.
(&self)
| 586 | /// |
| 587 | /// See [`Module::address_map`] for more details. |
| 588 | pub fn address_map(&self) -> Option<impl Iterator<Item = (usize, Option<u32>)> + '_> { |
| 589 | Some( |
| 590 | wasmtime_environ::iterate_address_map(self.engine_code().address_map_data())? |
| 591 | .map(|(offset, file_pos)| (offset as usize, file_pos.file_offset())), |
| 592 | ) |
| 593 | } |
| 594 | |
| 595 | /// Same as [`Module::serialize`], except for a component. |
| 596 | /// |
nothing calls this directly
no test coverage detected