Report failure if there are less bytes than requested in a MemoryObject.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 27 Aug 2011 07:45:46 +0000 (07:45 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 27 Aug 2011 07:45:46 +0000 (07:45 +0000)
commitf66f76c1a31539c65007a81fe28a1e06f638b4da
tree6240f6931e066efdf4a19236c432a9f88a59682f
parentd326d3b3ef314fcc61b55a75edad43aeb31a2b0d
Report failure if there are less bytes than requested in a MemoryObject.

Before we just left the remaining bytes uninitialized. This is another step in making llvm valgrind-clean again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/MemoryObject.cpp