[PATCH] D83242: [clang][BPF] support expr with typedef/record type for TYPE_EXISTENCE reloc

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 22:07:46 PDT 2020


yonghong-song updated this revision to Diff 280027.
yonghong-song retitled this revision from "[clang][BPF] support expr with typedef/record type for FIELD_EXISTENCE reloc" to "[clang][BPF] support expr with typedef/record type for TYPE_EXISTENCE reloc".
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

use a different reloc type TYPE_EXISTENCE (defined in llvm/lib/Target/BPF/BPFCORE.h) instead of old FIELD_EXISTENCE. This will simplify libbpf processing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83242

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Basic/TargetInfo.h
  clang/lib/Basic/TargetInfo.cpp
  clang/lib/Basic/Targets/BPF.h
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/builtins-bpf-preserve-field-info-3.c
  clang/test/Sema/builtins-bpf.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83242.280027.patch
Type: text/x-patch
Size: 11200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200723/25be811a/attachment.bin>


More information about the llvm-commits mailing list