Files
python-bpf/tests/c-form
Pragyansh Chaturvedi cd1f2beb98 Tests: Add the ir-first-feature skill and the globals C reference
Captures the development loop this project has always used for new compiler
features: write a minimal C eBPF program exercising only the feature, compile
it to LLVM IR and read that as the specification, diff against what PythonBPF
currently emits, stop for a human decision on the Python syntax, implement
against the reference, and test at the right tier. Recorded as a project skill
so agents follow it too; the syntax step is an explicit hard stop.

tests/c-form/global_vars.bpf.c is the loop's step 1 for global variables: the
four C global classes and nothing else. Its IR established that every global is
an independent symbol accessed by plain load/store, that llc manufactures the
BTF VAR/DATASEC entries from DIGlobalVariable metadata, and that clang folds
const but not const volatile -- the facts the globals design rests on.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1PX8EuP9C3o3veWGA84RF
2026-09-01 15:20:53 +05:30
..
2025-11-25 22:51:24 +05:30
…
…
…
…
2025-11-30 05:53:32 +05:30
2025-11-21 23:01:08 +05:30
2025-11-21 21:47:10 +05:30
2025-10-26 02:12:33 +05:30
2025-10-21 06:03:16 +05:30
2025-11-30 05:53:32 +05:30