MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / to_fde

Method to_fde

cranelift/codegen/src/isa/unwind/systemv.rs:279–287  ·  view source on GitHub ↗

Converts the unwind information into a `FrameDescriptionEntry`.

(&self, address: Address)

Source from the content-addressed store, hash-verified

277impl 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}

Callers 12

runMethod · 0.80
test_simple_funcFunction · 0.80
test_multi_return_funcFunction · 0.80
test_simple_funcFunction · 0.80
test_multi_return_funcFunction · 0.80
test_simple_funcFunction · 0.80
test_multi_return_funcFunction · 0.80
test_simple_funcFunction · 0.80
test_multi_return_funcFunction · 0.80
add_functionMethod · 0.80
create_frame_tableFunction · 0.80

Calls 2

newFunction · 0.50
cloneMethod · 0.45

Tested by 9

runMethod · 0.64
test_simple_funcFunction · 0.64
test_multi_return_funcFunction · 0.64
test_simple_funcFunction · 0.64
test_multi_return_funcFunction · 0.64
test_simple_funcFunction · 0.64
test_multi_return_funcFunction · 0.64
test_simple_funcFunction · 0.64
test_multi_return_funcFunction · 0.64