diff options
author | Yonghong Song <yhs@fb.com> | 2020-11-14 11:06:23 -0800 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2020-11-16 07:08:41 -0800 |
commit | 4369223ea73c4b8a3fa9a8a84533125c7d0eea98 (patch) | |
tree | 6061e2b5f48656d1b6be7ae1f588c19df2c8aefd /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 9e407afd9bd3b5181db24b08f78cb43344bd8292 (diff) | |
download | llvm-4369223ea73c4b8a3fa9a8a84533125c7d0eea98.zip llvm-4369223ea73c4b8a3fa9a8a84533125c7d0eea98.tar.gz llvm-4369223ea73c4b8a3fa9a8a84533125c7d0eea98.tar.bz2 |
BPF: make __builtin_btf_type_id() return 64bit int
Linux kernel recently added support for kernel modules
https://lore.kernel.org/bpf/20201110011932.3201430-5-andrii@kernel.org/
In such cases, a type id in the kernel needs to be presented
as (btf id for modules, btf type id for this module).
Change __builtin_btf_type_id() to return 64bit value
so libbpf can do the above encoding.
Differential Revision: https://reviews.llvm.org/D91489
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions