From c2ab4614b69a2303d640837df357c2336b0cedf2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 2 Aug 2024 23:38:34 -0700 Subject: std.Debug.Info: remove std.Progress integration it's too fast to need it now --- lib/std/debug/Dwarf.zig | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/std/debug/Dwarf.zig') diff --git a/lib/std/debug/Dwarf.zig b/lib/std/debug/Dwarf.zig index 06ffad9441..9689ac98b3 100644 --- a/lib/std/debug/Dwarf.zig +++ b/lib/std/debug/Dwarf.zig @@ -2354,19 +2354,14 @@ pub fn resolveSourceLocations( sorted_pc_addrs: []const u64, /// Asserts its length equals length of `sorted_pc_addrs`. output: []std.debug.SourceLocation, - parent_prog_node: std.Progress.Node, ) ResolveSourceLocationsError!void { assert(sorted_pc_addrs.len == output.len); assert(d.compile_units_sorted); - const prog_node = parent_prog_node.start("Resolve Source Locations", sorted_pc_addrs.len); - defer prog_node.end(); - var cu_i: usize = 0; var cu: *CompileUnit = &d.compile_unit_list.items[0]; var range = cu.pc_range.?; next_pc: for (sorted_pc_addrs, output) |pc, *out| { - defer prog_node.completeOne(); while (pc >= range.end) { cu_i += 1; if (cu_i >= d.compile_unit_list.items.len) { -- cgit v1.2.3