zig/lib/std/debug/Dwarf
mlugg c1a30bd0d8
std: replace debug.Dwarf.ElfModule with debug.ElfFile
This abstraction isn't really tied to DWARF at all! Really, we're just
loading some information from an ELF file which is useful for debugging.
That *includes* DWARF, but it also includes other information. For
instance, the other change here:

Now, if DWARF information is missing, `debug.SelfInfo.ElfModule` will
name symbols by finding a matching symtab entry. We actually already do
this on Mach-O, so it makes obvious sense to do the same on ELF! This
change is what motivated the restructuring to begin with.

The symtab work is derived from #22077.

Co-authored-by: geemili <opensource@geemili.xyz>
2025-09-30 13:44:52 +01:00
..
Unwind fix aarch64-macos DWARF unwinding 2025-09-30 13:44:50 +01:00
abi.zig std.debug: handle ThreadContext slightly better 2025-09-30 13:44:52 +01:00
call_frame.zig change one million things 2025-09-30 13:44:49 +01:00
expression.zig rework std.Io.Writer.Allocating to support runtime-known alignment 2025-08-30 00:48:50 -07:00
Unwind.zig fix compiler ftbfs from std.macho and std.dwarf changes 2025-09-30 13:44:51 +01:00