From 99a8108b2a3fd911ded52135fdc8de1e742bdc77 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 14 May 2025 13:53:24 -0700 Subject: [PATCH] eliminate now-unnecessary debug info references in call stack data structure --- src/ctrl/ctrl_core.c | 4 ---- src/ctrl/ctrl_core.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/ctrl/ctrl_core.c b/src/ctrl/ctrl_core.c index c9afb603..1c76c975 100644 --- a/src/ctrl/ctrl_core.c +++ b/src/ctrl/ctrl_core.c @@ -3200,8 +3200,6 @@ ctrl_call_stack_from_unwind(Arena *arena, DI_Scope *di_scope, CTRL_Entity *proce SLLQueuePush(first_frame, last_frame, dst_inline); dst_inline->v.unwind_count = base_frame_idx; dst_inline->v.regs = src->regs; - dst_inline->v.rdi = rdi; - dst_inline->v.inline_site = rdi_element_from_name_idx(rdi, InlineSites, s->inline_site_idx); frame_count += 1; inline_frame_count += 1; } @@ -3211,8 +3209,6 @@ ctrl_call_stack_from_unwind(Arena *arena, DI_Scope *di_scope, CTRL_Entity *proce SLLQueuePush(first_frame, last_frame, dst_base); dst_base->v.unwind_count = base_frame_idx; dst_base->v.regs = src->regs; - dst_base->v.rdi = rdi; - dst_base->v.procedure = rdi_element_from_name_idx(rdi, Procedures, scope->proc_idx); frame_count += 1; // rjf: hook up inline frames to point to concrete frame, and to account for inline depth diff --git a/src/ctrl/ctrl_core.h b/src/ctrl/ctrl_core.h index 1a04b525..c309cd46 100644 --- a/src/ctrl/ctrl_core.h +++ b/src/ctrl/ctrl_core.h @@ -249,9 +249,6 @@ struct CTRL_CallStackFrame U64 unwind_count; U64 inline_depth; void *regs; - RDI_Parsed *rdi; - RDI_Procedure *procedure; - RDI_InlineSite *inline_site; }; typedef struct CTRL_CallStack CTRL_CallStack;