find global variable ir and field data from metadata

This commit is contained in:
2025-10-24 03:34:17 +05:30
parent 30bcfcbbd0
commit c6b5ecb47e
3 changed files with 7 additions and 6 deletions

View File

@ -348,9 +348,7 @@ def process_func_body(
resolved_type = VmlinuxHandlerRegistry.get_struct_type(
context_type_name
)
context_type = LocalSymbol(
None, ir.PointerType(resolved_type), resolved_type
)
context_type = LocalSymbol(None, None, resolved_type)
local_sym_tab[context_name] = context_type
logger.info(f"Added argument '{context_name}' to local symbol table")