sort locals by debug info order; still likely not sufficient for all the options, but at least marginally better & introduces the sorting path

This commit is contained in:
Ryan Fleury
2024-06-20 07:35:59 -07:00
parent 6eef8c3e16
commit b76c605eba
8 changed files with 70 additions and 16 deletions
+1 -1
View File
@@ -1056,7 +1056,7 @@ tg_data_members_from_graph_rdi_key(Arena *arena, TG_Graph *graph, RDI_Parsed *rd
//- rjf: sort array by offset if needed
if(members_need_offset_sort)
{
qsort(members.v, members.count, sizeof(TG_Member), (int (*)(const void *, const void *))tg_qsort_compare_members_offset);
quick_sort(members.v, members.count, sizeof(TG_Member), tg_qsort_compare_members_offset);
}
//- rjf: find all padding instances