mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
prefer primary module, or modules with space matching the primary module's, when doing top-level debug info name matching in eval
This commit is contained in:
+5
-1
@@ -1920,7 +1920,11 @@ e_push_irtree_and_type_from_expr(Arena *arena, E_IRTreeAndType *root_parent, E_I
|
|||||||
{
|
{
|
||||||
module = &e_base_ctx->modules[idx];
|
module = &e_base_ctx->modules[idx];
|
||||||
dbgi_idx = (U32)idx;
|
dbgi_idx = (U32)idx;
|
||||||
break;
|
if(module == e_base_ctx->primary_module ||
|
||||||
|
e_space_match(module->space, e_base_ctx->primary_module->space))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user