commit | 57cd1b89cd91433ce1991a5bff36fe776a263796 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Mar 28 23:30:44 2012 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Mar 28 23:30:44 2012 +0000 |
tree | 9d65d25e15649b8487c5a4e9fda2910c1a7dce74 | |
parent | b684a42154a555206a33ac47a52ad2a306cfa2b4 [diff] |
When we can't prove that the target of an aggregate copy is a complete object, the memcpy needs to use the data size of the structure instead of its sizeof() value. Fixes PR12204. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153613 91177308-0d34-0410-b5e6-96231b3b80d8