[llvm] [BPF] Handle traps with kfunc call __bpf_trap (PR #131731)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 16:35:49 PDT 2025


================
@@ -22,6 +22,8 @@ class BPFTargetMachine;
 class InstructionSelector;
 class PassRegistry;
 
+static const char *BPF_TRAP = "__bpf_trap";
----------------
yonghong-song wrote:

@RKSimon I could do the change. But can you let me know how to reproduce the warning? Maybe I missed some compilation flags?

https://github.com/llvm/llvm-project/pull/131731


More information about the llvm-commits mailing list