diff options
author | Douglas Gregor <dgregor@apple.com> | 2014-04-30 15:49:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2014-04-30 15:49:06 +0000 |
commit | 8451cdff2ffa2f5473e69b43984f799b1e2533ac (patch) | |
tree | e841adcc3c1f525aff9e0a2dc37e6f27f1e73633 /llvm/lib/IR/Instructions.cpp | |
parent | b36f6189a5c2930f33c6a847ab8a28f943dfeab7 (diff) | |
download | bcm5719-llvm-8451cdff2ffa2f5473e69b43984f799b1e2533ac.tar.gz bcm5719-llvm-8451cdff2ffa2f5473e69b43984f799b1e2533ac.zip |
Fix a use of uninitialized memory in SmallVector's move-assignment operator.
When we were moving from a larger vector to a smaller one but didn't
need to re-allocate, we would move-assign over uninitialized memory in
the target, then move-construct that same data again.
llvm-svn: 207663
Diffstat (limited to 'llvm/lib/IR/Instructions.cpp')
0 files changed, 0 insertions, 0 deletions