[PATCH] D21782: [CodeView] Implement support for bitfields in LLVM

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 19:59:15 PDT 2016


majnemer created this revision.
majnemer added reviewers: rnk, aaboud.
majnemer added a subscriber: llvm-commits.

CodeView need to know the offset of the storage allocation for a
bitfield.  Encode this via the "extraData" field in DIDerivedType and
introduced a new flag, DIFlagBitField, to indicate whether or not a
member is a bitfield.

http://reviews.llvm.org/D21782

Files:
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoFlags.def
  include/llvm/IR/DebugInfoMetadata.h
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  lib/IR/DIBuilder.cpp
  test/DebugInfo/COFF/bitfields.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21782.62052.patch
Type: text/x-patch
Size: 9014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160628/e892ce01/attachment.bin>


More information about the llvm-commits mailing list