diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-09-02 16:41:09 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-09-30 13:44:50 +0100 |
| commit | b762cd30fd3695e6c54b81d71f9adaf7bac1e5be (patch) | |
| tree | b5f607a83ca1c5c9cf5d1e2a7f53a6fa182f0f50 /lib/std/debug/SelfInfo.zig | |
| parent | e4dbfc109bb32334f8d0dde9277ddd80c9b6f126 (diff) | |
| download | zig-b762cd30fd3695e6c54b81d71f9adaf7bac1e5be.tar.gz zig-b762cd30fd3695e6c54b81d71f9adaf7bac1e5be.zip | |
remove TODOs which are done or which i'm not actually gonna do lol
Diffstat (limited to 'lib/std/debug/SelfInfo.zig')
| -rw-r--r-- | lib/std/debug/SelfInfo.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/std/debug/SelfInfo.zig b/lib/std/debug/SelfInfo.zig index fbb925feef..30089c1896 100644 --- a/lib/std/debug/SelfInfo.zig +++ b/lib/std/debug/SelfInfo.zig @@ -163,7 +163,6 @@ const Module = switch (native_os) { const syms = syms_ptr[0..symtab.nsyms]; const strings = mapped_mem[symtab.stroff..][0 .. symtab.strsize - 1 :0]; - // MLUGG TODO: does it really make sense to initCapacity here? how many of syms are omitted? var symbols: std.ArrayList(MachoSymbol) = try .initCapacity(gpa, syms.len); defer symbols.deinit(gpa); @@ -438,7 +437,6 @@ const Module = switch (native_os) { const symtab: []align(1) const macho.nlist_64 = @ptrCast(mapped_mem[symtab_cmd.symoff..][0..n_sym_bytes]); // TODO handle tentative (common) symbols - // MLUGG TODO: does initCapacity actually make sense? var addr_table: std.StringArrayHashMapUnmanaged(u64) = .empty; defer addr_table.deinit(gpa); try addr_table.ensureUnusedCapacity(gpa, @intCast(symtab.len)); @@ -516,7 +514,7 @@ const Module = switch (native_os) { gnu_eh_frame: ?[]const u8, const LookupCache = void; const DebugInfo = struct { - loaded_elf: ?Dwarf.ElfModule, // MLUGG TODO: bad field name + loaded_elf: ?Dwarf.ElfModule, unwind: ?Dwarf.Unwind, const init: DebugInfo = .{ .loaded_elf = null, |
