A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
fix(MachBufferFinalized): add unwind_info accessor (#14882)
Martin Liška78501808ab63
diff --git a/cranelift/codegen/src/machinst/buffer.rs b/cranelift/codegen/src/machinst/buffer.rsindex f76c9761fc..bb9f957a26 100644--- a/cranelift/codegen/src/machinst/buffer.rs+++ b/cranelift/codegen/src/machinst/buffer.rs@@ -1998,6 +1998,11 @@ impl MachBufferFinalized {&self.traps[..]}+ /// Get the unwind instructions and their code offsets for this code.+ pub fn unwind_info(&self) -> &[(CodeOffset, UnwindInst)] {+ &self.unwind_info[..]+ }+/// Get the user stack map metadata for this code.pub fn user_stack_maps(&self) -> &[(CodeOffset, u32, ir::UserStackMap)] {&self.user_stack_maps