fn readElfDebugInfo(allocator: mem.Allocator, elf_filename: ?[]const u8, build_id: ?[]const u8, expected_crc: ?u32, parent_sections: *DW.DwarfInfo.SectionArray, parent_mapped_mem: ?[]const align(mem.page_size) u8) !ModuleDebugInfo

Reads debug info from an ELF file, or the current binary if none in specified. If the required sections aren’t present but a reference to external debug info is, then this this function will recurse to attempt to load the debug sections from an external file.

Parameters

allocator: mem.Allocator,
elf_filename: ?[]const u8,
build_id: ?[]const u8,
expected_crc: ?u32,
parent_sections: *DW.DwarfInfo.SectionArray,
parent_mapped_mem: ?[]const align(mem.page_size) u8,