]> granicus.if.org Git - clang/commit
[CodeView] Implement support for bitfields in Clang
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 30 Jun 2016 03:01:59 +0000 (03:01 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 30 Jun 2016 03:01:59 +0000 (03:01 +0000)
commitc790970bb03889218cecf2139249c9c7bc4e492f
tree0a9de209fd978bd9336542b2b8c08ccc3381e866
parent0f26c6cb5b9ba6fa3b4afd532dd07cf49dfa9a6c
[CodeView] Implement support for bitfields in Clang

Emit the underlying storage offset in addition to the starting bit
position of the field.

This fixes PR28162.

Differential Revision: http://reviews.llvm.org/D21783

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274201 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
test/CodeGen/debug-info-packed-struct.c
test/CodeGenCXX/debug-info-ms-bitfields.cpp [new file with mode: 0644]