[PATCH] D74572: [WIP][BPF] implement intrinsic function __builtin__btf_type_id()

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 13:38:39 PST 2020


yonghong-song updated this revision to Diff 244529.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.
Herald added a subscriber: ormris.

add the type_id assignment to FieldInfo relocation .btf.ext ELF section.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74572

Files:
  clang/include/clang/Basic/BuiltinsBPF.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Sema/SemaChecking.cpp
  llvm/include/llvm/IR/IntrinsicsBPF.td
  llvm/lib/Target/BPF/BPF.h
  llvm/lib/Target/BPF/BPFCORE.h
  llvm/lib/Target/BPF/BPFMIPreserveDIType.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.244529.patch
Type: text/x-patch
Size: 30630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200213/1de8c451/attachment-0001.bin>


More information about the llvm-commits mailing list