[clang] [BPF] make __BPF_FEATURE_MAY_GOTO available for cpuv1 (PR #108071)

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 10 11:48:17 PDT 2024


eddyz87 wrote:

@yonghong-song, @4ast,

As a cleanup, Yonghong suggested moving `__BPF_FEATURE_MAY_GOTO` macro so that it is available for CPUv1.
(Although, I think it's better to move both `__BPF_FEATURE_MAY_GOTO` and `__BPF_FEATURE_ADDR_SPACE_CAST` down to CPUv4, as this would be more consistent with kernel features support).

Wdyt?

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


More information about the cfe-commits mailing list