Skip to content
Commit f1249929 authored by John McCall's avatar John McCall
Browse files

When performing a trivial copy of a C++ type, we must be careful not

to overwrite objects that might have been allocated into the type's
tail padding.  This patch is missing some potential optimizations where
the destination is provably a complete object, but it's necessary for
correctness.

Patch by Jonathan Sauer.

llvm-svn: 162254
parent a9f521fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment