[PATCH] D91489: BPF: make __builtin_btf_type_id() return 64bit int
    Yonghong Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Nov 15 11:33:50 PST 2020
    
    
  
yonghong-song added inline comments.
================
Comment at: llvm/lib/Target/BPF/BTFDebug.cpp:1230
+            Reloc == BPFCoreSharedInfo::BTF_TYPE_ID_REMOTE)
           OutMI.setOpcode(BPF::LD_imm64);
         else
----------------
ast wrote:
> libbpf would need to support both (ld_imm64 and mov32), right?
all selftests passed. I suspect libbpf already supports both ld_imm64 and mov32...
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91489/new/
https://reviews.llvm.org/D91489
    
    
More information about the llvm-commits
mailing list