[llvm] [BPF] Support Jump Table (PR #149715)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 10:57:37 PDT 2025


eddyz87 wrote:

> One more thing to check, all labels e.g. BPF.JT.0.0 is global. What if there are two bpf progs both having BPF.JT.0.0 and they need to be linked together? Does libbpf can handle this properly? We need to double check with libbpf for this.

Good point, I think libbpf linker should be modified to take care of this.

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


More information about the llvm-commits mailing list