mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 15:22:19 -08:00
optimize ICF refinement and COMDAT handling
Cache immutable section and relocation metadata before color refinement, then reuse generated-tagged concurrent tables. Parallelize grouping and fold marking. Include associative COMDAT descendants in contribution hashes and canonicalize relocation targets to selected COMDAT leaders.
This commit is contained in:
1 parent
abfea7c33a
commit
b84d32d9fb
6 files changed
+659
-263
No files matched your search
@@ -34,6 +34,23 @@ void_list_push(Arena *arena, VoidList *list, void *v)
|
||||
return n;
|
||||
}
|
||||
|
||||
internal void
|
||||
u32_list_push_node(U32List *list, U32Node *n)
|
||||
{
|
||||
SLLQueuePush(list->first, list->last, n);
|
||||
list->count += 1;
|
||||
}
|
||||
|
||||
internal U32Node *
|
||||
u32_list_push(Arena *arena, U32List *list, U32 data)
|
||||
{
|
||||
U32Node *n = push_array(arena, U32Node, 1);
|
||||
n->next = 0;
|
||||
n->data = data;
|
||||
u32_list_push_node(list, n);
|
||||
return n;
|
||||
}
|
||||
|
||||
internal void
|
||||
u64_list_push_node(U64List *list, U64Node *n)
|
||||
{
|
||||
@@ -264,4 +281,3 @@ s64_array_from_list(Arena *arena, S64List *list)
|
||||
for EachNode(n, S64Node, list->first) { result.v[result.count++] = n->v; }
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user