Skip to content

Commit 2796460

Browse files
authored
Merge pull request #2305 from pcristin/fix/issue-2265-unresolved-call-coverage
fix(pipeline): expose unresolved call coverage
2 parents ea892c5 + 8a2f718 commit 2796460

18 files changed

Lines changed: 2838 additions & 431 deletions

‎src/foundation/mem_core.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ typedef struct {
6666
static mem_class_stats_t g_classes[CBM_MEM_CLASS_COUNT];
6767

6868
static const char *const g_class_names[CBM_MEM_CLASS_COUNT] = {
69-
"other", "gbuf_node", "gbuf_edge", "gbuf_string", "gbuf_index", "extract", "arena",
70-
"ts_tree", "semantic", "dump", "store", "hash_table", "dyn_array", "graph_cache",
69+
"other", "gbuf_node", "gbuf_edge", "gbuf_string", "gbuf_index",
70+
"extract", "arena", "ts_tree", "semantic", "dump",
71+
"store", "hash_table", "dyn_array", "resolve", "graph_cache",
7172
};
7273

7374
const char *cbm_mem_class_name(cbm_mem_class_t cls) {

‎src/foundation/mem_core.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ typedef enum {
6666
CBM_MEM_CLASS_STORE, /* SQLite (bound mem methods) + store batches and row buffers */
6767
CBM_MEM_CLASS_HASH_TABLE, /* CBMHashTable buckets/entries not claimed by an owner class */
6868
CBM_MEM_CLASS_DYN_ARRAY, /* CBM_DYN_ARRAY item storage (every cbm_da_* user) */
69+
CBM_MEM_CLASS_RESOLVE, /* call resolution evidence and coverage capture */
6970
/* The daemon's in-memory adjacency layers (store/graph_mem.h): resident
7071
* across requests, so they are subtracted from index-worker budgets and
7172
* must read apart from SQLite's request-scoped memory (STORE). */

‎src/mcp/mcp.c‎

Lines changed: 305 additions & 38 deletions
Large diffs are not rendered by default.

‎src/pipeline/pass_calls.c‎

Lines changed: 256 additions & 154 deletions
Large diffs are not rendered by default.

‎src/pipeline/pass_parallel.c‎

Lines changed: 101 additions & 47 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)