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

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 9 10:49:41 PST 2019


yonghong-song updated this revision to Diff 228588.
yonghong-song added a comment.

use implicit attr to annotate records or fields not explicitly marked by users.


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/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.228588.patch
Type: text/x-patch
Size: 21849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191109/504f7a7e/attachment-0001.bin>


More information about the cfe-commits mailing list