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

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 15:09:29 PDT 2020


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

enum value relocation change: use ld_imm64 so we support 64bit enum value from day one. put enumerator name as the AccessString.


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.282325.patch
Type: text/x-patch
Size: 18089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200731/b4381e1f/attachment.bin>


More information about the cfe-commits mailing list