From a3529c2dea579e0a15dcde1b8ee71d9ec9c75330 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sun, 26 Feb 2023 22:11:41 -0500 Subject: tools: implement more lldb pretty printers --- lib/std/hash_map.zig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/std/hash_map.zig') diff --git a/lib/std/hash_map.zig b/lib/std/hash_map.zig index 164b81d651..af0ecc5993 100644 --- a/lib/std/hash_map.zig +++ b/lib/std/hash_map.zig @@ -1595,16 +1595,17 @@ pub fn HashMapUnmanaged( self.available = 0; } - /// This function is used in tools/zig-gdb.py to fetch the header type to facilitate - /// fancy debug printing for this type. - fn gdbHelper(self: *Self, hdr: *Header) void { + /// This function is used in the debugger pretty formatters in tools/ to fetch the + /// header type to facilitate fancy debug printing for this type. + fn dbHelper(self: *Self, hdr: *Header, entry: *Entry) void { _ = self; _ = hdr; + _ = entry; } comptime { if (builtin.mode == .Debug) { - _ = gdbHelper; + _ = dbHelper; } } }; -- cgit v1.2.3