Introduce MapSymbol to propagate map type info in map_sym_tab

This commit is contained in:
Pragyansh Chaturvedi
2025-11-12 13:16:23 +05:30
parent 209df33c8f
commit cbddc0aa96
4 changed files with 24 additions and 10 deletions

View File

@ -1,5 +1,16 @@
from collections.abc import Callable
from dataclasses import dataclass
from llvmlite import ir
from typing import Any
from .map_types import BPFMapType
@dataclass
class MapSymbol:
"""Class representing a symbol on the map"""
type: BPFMapType
sym: ir.GlobalVariable
class MapProcessorRegistry: