revert struct reference pointer sizes to i8 to ensure that compiler does not optimize

This commit is contained in:
2025-10-27 03:28:16 +05:30
parent ac74b03b14
commit 07580dabf2
3 changed files with 13 additions and 14 deletions

View File

@ -39,7 +39,7 @@ def finalize_module(original_str):
def bpf_passthrough_gen(module):
i32_ty = ir.IntType(32)
ptr_ty = ir.PointerType(ir.IntType(64))
ptr_ty = ir.PointerType(ir.IntType(8))
fnty = ir.FunctionType(ptr_ty, [i32_ty, ptr_ty])
# Declare the intrinsic