zig/lib/std/debug
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
..
Dwarf std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
SelfInfo std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
Coverage.zig std: fix debug.Info and debug.Coverage 2025-09-30 13:44:52 +01:00
Dwarf.zig std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
ElfFile.zig std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
Info.zig std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
no_panic.zig std: remove old panic handlers after zig1.wasm update 2025-06-01 12:10:57 +01:00
Pdb.zig std.debug.Pdb: migrate more towards new Reader API 2025-08-28 22:41:06 -07:00
SelfInfo.zig std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
simple_panic.zig std.io: move getStdIn, getStdOut, getStdErr functions to fs.File 2025-07-07 22:43:51 -07:00