[PATCH] D69759: [BPF] Add preserve_access_index attribute for record definition

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 16:14:55 PST 2019


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

handle forward declaration correctly, i.e., not losing its attribute/action.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69759

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGen/bpf-attr-preserve-access-index-1.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-2.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-3.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-4.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-5.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-6.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-7.c
  clang/test/CodeGen/bpf-attr-preserve-access-index-8.c
  clang/test/Sema/bpf-attr-preserve-access-index.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69759.228538.patch
Type: text/x-patch
Size: 23724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191109/83d0904f/attachment-0001.bin>


More information about the cfe-commits mailing list