diff options
| author | eddyz87 <eddyz87@gmail.com> | 2024-09-24 01:46:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 11:46:33 +0300 |
| commit | eabc8857e77c94a09624c12cc690753f68b87825 (patch) | |
| tree | 9b544e6b3fa784466abf2b8f75e68864d06ef7c4 /llvm/lib/Object/ModuleSymbolTable.cpp | |
| parent | b75174d05aa033a382d4c088e96e068a774f46da (diff) | |
| download | llvm-eabc8857e77c94a09624c12cc690753f68b87825.zip llvm-eabc8857e77c94a09624c12cc690753f68b87825.tar.gz llvm-eabc8857e77c94a09624c12cc690753f68b87825.tar.bz2 | |
[BPF] make __BPF_FEATURE_MAY_GOTO available for cpuv1 (#108071)
For some reason `__BPF_FEATURE_MAY_GOTO` is available for CPUs v{2,3,4}
but is not available for CPU v1. This limitation is arbitrary:
- the instruction is never produced by LLVM backend;
- on Linux Kernel side this instruction is available in kernels that
also support CPUv4.
Hence, it is more consistent to either always allow
`__BPF_FEATURE_MAY_GOTO` or only allow it for CPUv4.
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions
