[PATCH] D61809: [BPF] Preserve debuginfo array/union/struct type/access index

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 21:07:33 PDT 2019


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

handle unnamed bitfield properly. these struct/union members are not encoded in debuginfo, so skip them during preserve_*_access_index IR intrinsics generation.


Repository:
  rC Clang

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

https://reviews.llvm.org/D61809

Files:
  docs/LanguageExtensions.rst
  include/clang/Basic/Builtins.def
  lib/CodeGen/CGBuilder.h
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Sema/SemaChecking.cpp
  test/CodeGen/bpf-preserve-access-index-2.c
  test/CodeGen/bpf-preserve-access-index.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61809.207704.patch
Type: text/x-patch
Size: 11568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190703/ce1a5b17/attachment-0001.bin>


More information about the cfe-commits mailing list