summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-04-25 21:56:30 +0000
committerWarren Hunt <whunt@google.com>2014-04-25 21:56:30 +0000
commit34e86037931c687336f9ad0583020d865d6150d1 (patch)
tree190978437297a5b9d4f882ed15d22fd88e47c9c1 /lib/CodeGen/CodeGenFunction.cpp
parenta7b80b7a8fecae3d9d0d2691e83617400abf5919 (diff)
downloadclang-34e86037931c687336f9ad0583020d865d6150d1.tar.gz
clang-34e86037931c687336f9ad0583020d865d6150d1.tar.bz2
clang-34e86037931c687336f9ad0583020d865d6150d1.tar.xz
Fixed Assert In CGRecordLowering
Prior to this patch, CGRecordLower assumed that virtual bases could not be placed before the nvsize of an object. This isn't true in Itanium mode, virtual bases are placed at dsize rather than vnsize and in the case of zero sized non-virtual bases nvsize can be larger than dsize. This patch fixes CGRecordLowering to avoid an assert and to clip bitfields properly in this case. A test case is included. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions