Functions

fn openDwarfDebugInfo(di: *DwarfInfo, allocator: mem.Allocator) !void

Initialize DWARF info. The caller has the responsibility to initialize most the…

Initialize DWARF info. The caller has the responsibility to initialize most the DwarfInfo fields before calling. binary_mem is the raw bytes of the main binary file (not the secondary debug info file).

fn unwindFrameMachO(context: *UnwindContext, unwind_info: []const u8, eh_frame: ?[]const u8, module_base_address: usize) !usize

Unwind a frame using MachO compact unwind info (from __unwind_info). If the com…

Unwind a frame using MachO compact unwind info (from __unwind_info). If the compact encoding can’t encode a way to unwind a frame, it will defer unwinding to DWARF, in which case .eh_frame will be used if available.