[PATCH] D74572: [BPF] preserve debuginfo types for builtin __builtin__btf_type_id()

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 09:41:44 PDT 2020


yonghong-song updated this revision to Diff 262140.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

change buitin flag to the following spec:

  flag == 0: a local relocation against bpf_prog BTF change
  flag == 1: a remote relocation against kernel


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74572/new/

https://reviews.llvm.org/D74572

Files:
  llvm/lib/Target/BPF/BPF.h
  llvm/lib/Target/BPF/BPFCORE.h
  llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
  llvm/lib/Target/BPF/BPFPreserveDIType.cpp
  llvm/lib/Target/BPF/BPFTargetMachine.cpp
  llvm/lib/Target/BPF/BTFDebug.cpp
  llvm/lib/Target/BPF/BTFDebug.h
  llvm/lib/Target/BPF/CMakeLists.txt
  llvm/test/CodeGen/BPF/BTF/builtin-btf-type-id.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74572.262140.patch
Type: text/x-patch
Size: 28098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200505/851d2b60/attachment-0001.bin>


More information about the cfe-commits mailing list