From 8ceb1d1ac334a803e016ee6e7ffee170b34b186d Mon Sep 17 00:00:00 2001 From: varun-r-mallya Date: Wed, 1 Oct 2025 21:39:16 +0530 Subject: [PATCH] add int32 type --- pythonbpf/debuginfo/debug_info_generator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pythonbpf/debuginfo/debug_info_generator.py b/pythonbpf/debuginfo/debug_info_generator.py index a4aeaec..da0e86a 100644 --- a/pythonbpf/debuginfo/debug_info_generator.py +++ b/pythonbpf/debuginfo/debug_info_generator.py @@ -21,6 +21,10 @@ class DebugInfoGenerator: ) return self._type_cache[key] + def get_int32_type(self) -> Any: + """Get debug info for signed 32-bit integer""" + return self.get_basic_type("int", 32, dc.DW_ATE_signed) + def get_uint32_type(self) -> Any: """Get debug info for unsigned 32-bit integer""" return self.get_basic_type("unsigned int", 32, dc.DW_ATE_unsigned)