diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-03-05 14:29:57 +0100 |
---|---|---|
committer | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-03-05 15:10:11 +0100 |
commit | a7137b238a07d9399d3ae96c0b461571bd5aa8b2 (patch) | |
tree | 2326018f6eb3c134917ed9040acd1a67683b2331 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
parent | e67d91faec2183789b220c15444929fb2efa6ecd (diff) | |
download | llvm-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