OSDN Git Service

Inverse the error check logic for the MappedFile::map() call. It returns
authorReid Spencer <rspencer@reidspencer.com>
Tue, 22 Aug 2006 17:58:50 +0000 (17:58 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 22 Aug 2006 17:58:50 +0000 (17:58 +0000)
commita5ec45d3c1e08166328ca1fa1e72d21a2b97cf04
treefe6541c567d375b7cb4491d58b3adb39108235bd
parentd8509c95b874bcfe117bbb852ed4335f46d9db77
Inverse the error check logic for the MappedFile::map() call. It returns
a null pointer when there is an error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29827 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Archive/ArchiveWriter.cpp
lib/Bytecode/Archive/ArchiveWriter.cpp