From ac74b03b14ec5ffc134f67b5d653d9d2819b6628 Mon Sep 17 00:00:00 2001 From: varun-r-mallya Date: Mon, 27 Oct 2025 03:01:56 +0530 Subject: [PATCH] Add TODO to specify flags and DISubprogram. --- pythonbpf/debuginfo/debug_info_generator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonbpf/debuginfo/debug_info_generator.py b/pythonbpf/debuginfo/debug_info_generator.py index 01929a2..cca467e 100644 --- a/pythonbpf/debuginfo/debug_info_generator.py +++ b/pythonbpf/debuginfo/debug_info_generator.py @@ -256,6 +256,7 @@ class DebugInfoGenerator: "scope": self.module._file_metadata, "file": self.module._file_metadata, "type": subroutine_type, + # TODO: the following flags do not exist at the moment in our dwarf constants file. We need to add them. # "flags": dc.DW_FLAG_Prototyped | dc.DW_FLAG_AllCallsDescribed, # "spFlags": dc.DW_SPFLAG_Definition | dc.DW_SPFLAG_Optimized, "unit": self.module._debug_compile_unit,