getNewMemBuffer memsets the buffer to zeros,
authorYaron Keren <yaron.keren@gmail.com>
Wed, 6 Aug 2014 20:59:09 +0000 (20:59 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Wed, 6 Aug 2014 20:59:09 +0000 (20:59 +0000)
commitf394f83f828628bc95db343ad7842693393f40f0
tree68419d4b9806094233f3ba29de3d29fae220abc0
parent501e71c86bc9a442bc0f7cf6635bea14d9019daf
getNewMemBuffer memsets the buffer to zeros,
the caller don't have to initialize it.

llvm-svn: 214994
llvm/include/llvm/Support/MemoryBuffer.h
llvm/lib/Support/MemoryBuffer.cpp