mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-16 10:52:22 -07:00
Change how parameter and variables are given debug values
This commit is contained in:
@@ -491,7 +491,8 @@ void lb_begin_procedure_body(lbProcedure *p) {
|
||||
lbValue ptr = lb_address_from_load_or_generate_local(p, param);
|
||||
GB_ASSERT(LLVMIsAAllocaInst(ptr.value));
|
||||
lb_add_entity(p->module, e, ptr);
|
||||
lb_add_debug_param_variable(p, ptr.value, e->type, e->token, param_index+1);
|
||||
// lb_add_debug_param_variable(p, ptr.value, e->type, e->token, param_index+1);
|
||||
lb_add_debug_param_variable(p, value, e->type, e->token, param_index+1);
|
||||
}
|
||||
} else if (arg_type->kind == lbArg_Indirect) {
|
||||
if (e->token.string.len != 0 && !is_blank_ident(e->token.string)) {
|
||||
|
||||
Reference in New Issue
Block a user