[llvm] [BPF] Support Jump Table (PR #149715)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 22 10:49:54 PDT 2025
yonghong-song wrote:
> @yonghong-song A side note. I am constantly getting
>
> ```
> In file included from /home/aspsk/src/llvm-project/llvm/lib/Target/BPF/BPFISelLowering.h:17,
> from /home/aspsk/src/llvm-project/llvm/lib/Target/BPF/BPFSubtarget.h:17,
> from /home/aspsk/src/llvm-project/llvm/lib/Target/BPF/BPFSubtarget.cpp:13:
> /home/aspsk/src/llvm-project/llvm/lib/Target/BPF/BPF.h:25:20: warning: ‘llvm::BPF_TRAP’ defined but not used [-Wunused-variable]
> 25 | static const char *BPF_TRAP = "__bpf_trap";
> | ^~~~~~~~
> ```
>
> Is this a not removed leftover from an old version?
This has been reported in https://github.com/llvm/llvm-project/pull/131731#issuecomment-3095704478
I will take a look soon. BTW, what is you cmake build command?
https://github.com/llvm/llvm-project/pull/149715
More information about the llvm-commits
mailing list