[PATCH] D73902: [BPF] handle typedef of struct/union for CO-RE relocations

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 16:59:26 PST 2020


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

address Andrii's comments. Always use the typedef type name if it is available.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73902

Files:
  llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-struct-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-union-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73902.242233.patch
Type: text/x-patch
Size: 12387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/07e07072/attachment.bin>


More information about the llvm-commits mailing list