]> granicus.if.org Git - clang/commit
CodeGen: Fix off-by-one error in CFI class identification function for MS ABI.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 8 Jul 2015 21:08:08 +0000 (21:08 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 8 Jul 2015 21:08:08 +0000 (21:08 +0000)
commitba5a15e0712cc89ff173c0f66f19a3e706958b07
treef68fb3aa07212d4c14131d155f180e29442bd650
parent831d3f2369667117875d15fe3233f7d7570bbd09
CodeGen: Fix off-by-one error in CFI class identification function for MS ABI.

We were previously ignoring classes laid out at offset zero.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241729 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/cfi-vcall.cpp