[clang] [llvm] [BPF] Support Stack Arguments (PR #189060)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 22:02:53 PDT 2026
yonghong-song wrote:
> if JIT did 'sp -=' just before the call then it's broken. The code cannot store into sp - X before sp -=, since IRQ will corrupt it. Hence my earlier point that JIT has to insert 'sp -=' before the actual stores.
Ya. I should clarify. 'before the call' is not precise. The extra stack is allocated before the main loop (going through all insns). So we should be okay.
https://github.com/llvm/llvm-project/pull/189060
More information about the cfe-commits
mailing list