[PATCH] D91489: BPF: make __builtin_btf_type_id() return 64bit int
Alexei Starovoitov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 15 10:21:10 PST 2020
ast accepted this revision.
ast added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Target/BPF/BTFDebug.cpp:1230
+ Reloc == BPFCoreSharedInfo::BTF_TYPE_ID_REMOTE)
OutMI.setOpcode(BPF::LD_imm64);
else
----------------
libbpf would need to support both (ld_imm64 and mov32), right?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91489/new/
https://reviews.llvm.org/D91489
More information about the cfe-commits
mailing list