aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/Dwarf.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-08-02 23:38:34 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-08-07 00:48:32 -0700
commitc2ab4614b69a2303d640837df357c2336b0cedf2 (patch)
treec62d3ac773bd0c3e3c8d5d21e4e1da03193531ac /lib/std/debug/Dwarf.zig
parent1792258dc813cde7083fd7860442e6ec92afd4ba (diff)
downloadzig-c2ab4614b69a2303d640837df357c2336b0cedf2.tar.gz
zig-c2ab4614b69a2303d640837df357c2336b0cedf2.zip
std.Debug.Info: remove std.Progress integration
it's too fast to need it now
Diffstat (limited to 'lib/std/debug/Dwarf.zig')
-rw-r--r--lib/std/debug/Dwarf.zig5
1 files changed, 0 insertions, 5 deletions
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) {