Skip to content

Commit 2b3c81a

Browse files
TODO added for llvmlite attribute issue
*Refer: numba/llvmlite#1331 Signed-off-by: varun-r-mallya <[email protected]>
1 parent 8372111 commit 2b3c81a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pythonbpf/vmlinux_parser/ir_gen/ir_generation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def struct_processor(self, struct):
3434
self.generated.append(struct.name)
3535

3636
def gen_ir(self, struct):
37+
# TODO: we add the btf_ama attribute by monkey patching in the end of compilation, but once llvmlite
38+
# accepts our issue, we will resort to normal accessed attribute based attribute addition
3739
# currently we generate all possible field accesses for CO-RE and put into the assignment table
3840
debug_info = debug_info_generation(struct, self.llvm_module)
3941
field_index = 0

0 commit comments

Comments
 (0)