Fix MemoryBuffer::getFile to return null if it has an error opening the
authorChris Lattner <sabre@nondot.org>
Sun, 6 May 2007 07:24:46 +0000 (07:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 6 May 2007 07:24:46 +0000 (07:24 +0000)
commit82e791dc420c399b7382a4754019b80466c898b0
tree166db73d7f696df8f44c1dde16c169de4790de96
parent6f6f5125e2b4d92c941d2a5bd028dee308524547
Fix MemoryBuffer::getFile to return null if it has an error opening the
file instead of aborting.

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