aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2021-03-05 14:29:57 +0100
committerIlya Leoshkevich <iii@linux.ibm.com>2021-03-05 15:10:11 +0100
commita7137b238a07d9399d3ae96c0b461571bd5aa8b2 (patch)
tree2326018f6eb3c134917ed9040acd1a67683b2331 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parente67d91faec2183789b220c15444929fb2efa6ecd (diff)
downloadllvm-a7137b238a07d9399d3ae96c0b461571bd5aa8b2.zip
llvm-a7137b238a07d9399d3ae96c0b461571bd5aa8b2.tar.gz
llvm-a7137b238a07d9399d3ae96c0b461571bd5aa8b2.tar.bz2
[BPF] Add support for floats and doubles
Some BPF programs compiled on s390 fail to load, because s390 arch-specific linux headers contain float and double types. At the moment there is no BTF_KIND for floats and doubles, so the release version of LLVM ends up emitting type id 0 for them, which the in-kernel verifier does not accept. Introduce support for such types to libbpf by representing them using the new BTF_KIND_FLOAT. Reviewed By: yonghong-song Differential Revision: https://reviews.llvm.org/D83289
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions