mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
separate map creation logic
This commit is contained in:
@ -2,6 +2,7 @@ import ast
|
||||
from llvmlite import ir
|
||||
from .license_pass import license_processing
|
||||
from .functions_pass import func_proc
|
||||
from .maps_pass import maps_proc
|
||||
# from .constants_pass import constants_processing
|
||||
from .globals_pass import globals_processing
|
||||
|
||||
@ -26,6 +27,7 @@ def processor(source_code, filename, module):
|
||||
for func_node in bpf_chunks:
|
||||
print(f"Found BPF function: {func_node.name}")
|
||||
|
||||
maps_proc(tree, module, bpf_chunks)
|
||||
func_proc(tree, module, bpf_chunks)
|
||||
# For now, we will parse the BPF specific parts of AST
|
||||
|
||||
|
||||
Reference in New Issue
Block a user