extend eval language w/ identifier disambiguators - used to pick amongst many identically-named things. for instance, local_static#0 will match the first local_static, local_static#1 will match the second, etc.

This commit is contained in:
Ryan Fleury
2026-03-04 11:49:04 -08:00
parent 1c6baf18f2
commit f59da0be9c
6 changed files with 68 additions and 15 deletions
+3 -2
View File
@@ -1590,10 +1590,11 @@ di_match_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *g
U32 num = 0;
U32 *run = rdi_matches_from_map_node(rdi, map_node, &num);
if(num != 0)
{
{
U64 run_idx = (num-1) - Min(index, num-1);
lane_matches[lane_idx()].key = dbgi_key;
lane_matches[lane_idx()].section_kind = name_map_section_kinds[name_map_kind_idx];
lane_matches[lane_idx()].idx = run[num-1];
lane_matches[lane_idx()].idx = run[run_idx];
}
}
}