[llvm] [BPF] Handle traps with kfunc call __bpf_trap (PR #131731)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu May 22 16:23:32 PDT 2025
efriedma-quic wrote:
I'm still not completely happy with this; see #136603 for my most recent commentary on producing warnings based on compiler optimizations. (That's not BPF, but under the proposal here, a similar construct compiled to BPF would produce a BPF verifier error.) But Linux kernel developers have a different perspective on how a compiler should work... I'm not sure how to bridge the gap.
https://github.com/llvm/llvm-project/pull/131731
More information about the llvm-commits
mailing list