Switch from new[] + delete[] to malloc + free since llvm does not catch C++ exceptions.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 13 Feb 2009 08:24:55 +0000 (08:24 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 13 Feb 2009 08:24:55 +0000 (08:24 +0000)
commite2b3fdd64909fb290848db0a50f7458b1ff992ef
tree6e37a98ea84fd6a2333976219e63944bc3de74a5
parent726135ad1afe27af5f36a893eb55435b85d389a9
Switch from new[] + delete[] to malloc + free since llvm does not catch C++ exceptions.

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