[PATCH] D83242: [clang][BPF] support type exist/size and enum exist/value relocations

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 08:16:27 PDT 2020


yonghong-song updated this revision to Diff 281933.
yonghong-song retitled this revision from "[clang][BPF] support type existence/size and enum value relocations" to "[clang][BPF] support type exist/size and enum exist/value relocations".
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

use a different __builtin function for new relocations to they are easily discoverable in user space and this also make implementation more structured.


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/BuiltinsBPF.def
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/builtins-bpf-preserve-field-info-3.c
  clang/test/CodeGen/builtins-bpf-preserve-field-info-4.c
  clang/test/Sema/builtins-bpf.c
  llvm/include/llvm/IR/IntrinsicsBPF.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83242.281933.patch
Type: text/x-patch
Size: 16672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200730/aaca62c0/attachment.bin>


More information about the llvm-commits mailing list