llvm.org
Subject: [cfe-users] BPF stack limit
Hi,
I'm using Clang to compile C to eBPF, not to run in the Linux kernel,
but in ubpf.
I occasionally encounter the error "Looks like the BPF stack limit of
512 bytes is exceeded". The limit seems to be hard-wired
(llvm/lib/Target/B
Hi,
I'm using Clang to compile C to eBPF, not to run in the Linux kernel,
but in ubpf.
I occasionally encounter the error "Looks like the BPF stack limit of
512 bytes is exceeded". The limit seems to be hard-wired
(llvm/lib/Target/BPF/BPFRegisterInfo.cpp):
if (Offset <= -512) {
(I'm us