We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283b947 commit 2fabb67Copy full SHA for 2fabb67
tests/failing_tests/named_arg.py
@@ -4,6 +4,14 @@
4
5
from ctypes import c_void_p, c_int64
6
7
+# NOTE: This example exposes the problems with our typing system.
8
+# We assign every variable the type i64* by default.
9
+# lookup() return type is ptr, which can't be loaded.
10
+# So we can't do steps on line 25 and 27.
11
+# To counter this, we should allocate vars by speculating their type.
12
+# And in the assign pass, we should have something like a
13
+# recursive_dereferencer() that dereferences a ptr until it hits a non-ptr type.
14
+# And a recursive_wrapper() that does the opposite.
15
16
@bpf
17
@map
0 commit comments