Skip to content

Commit ac74b03

Browse files
Add TODO to specify flags and DISubprogram.
1 parent 3bf85e7 commit ac74b03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonbpf/debuginfo/debug_info_generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ def create_subprogram(
256256
"scope": self.module._file_metadata,
257257
"file": self.module._file_metadata,
258258
"type": subroutine_type,
259+
# TODO: the following flags do not exist at the moment in our dwarf constants file. We need to add them.
259260
# "flags": dc.DW_FLAG_Prototyped | dc.DW_FLAG_AllCallsDescribed,
260261
# "spFlags": dc.DW_SPFLAG_Definition | dc.DW_SPFLAG_Optimized,
261262
"unit": self.module._debug_compile_unit,

0 commit comments

Comments
 (0)