Converts the unwind information into a `FrameDescriptionEntry`.
(&self, address: Address)
| 277 | impl UnwindInfo { |
| 278 | /// Converts the unwind information into a `FrameDescriptionEntry`. |
| 279 | pub fn to_fde(&self, address: Address) -> gimli::write::FrameDescriptionEntry { |
| 280 | let mut fde = FrameDescriptionEntry::new(address, self.len); |
| 281 | |
| 282 | for (offset, inst) in &self.instructions { |
| 283 | fde.add_instruction(*offset, inst.clone().into()); |
| 284 | } |
| 285 | |
| 286 | fde |
| 287 | } |
| 288 | } |