aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-11-14 11:06:23 -0800
committerYonghong Song <yhs@fb.com>2020-11-16 07:08:41 -0800
commit4369223ea73c4b8a3fa9a8a84533125c7d0eea98 (patch)
tree6061e2b5f48656d1b6be7ae1f588c19df2c8aefd /llvm/lib/CodeGen/MachineFunction.cpp
parent9e407afd9bd3b5181db24b08f78cb43344bd8292 (diff)
downloadllvm-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