llvm-6502/lib/Object
Jim Grosbach 596e474101 Fix a memory leak in MachOObjectFile.
MachOObjectFile owns a MachOObj, but never frees it. Both MachOObjectFile
and MachOObj want to own the MemoryBuffer, though, so we have to be careful
and give them each one of their own.

Thanks to Greg Clayton, Eric Christopher and Michael Spencer for helping
figure out what's going wrong here.

rdar://12561773

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168923 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-29 19:14:11 +00:00
..
Archive.cpp s/assert/llvm_unreachable/ 2012-11-14 17:58:11 +00:00
Binary.cpp
CMakeLists.txt
COFFObjectFile.cpp Add interface for querying object files for symbol values. 2012-10-29 10:47:00 +00:00
ELFObjectFile.cpp
Error.cpp
LLVMBuild.txt
MachOObject.cpp
MachOObjectFile.cpp Fix a memory leak in MachOObjectFile. 2012-11-29 19:14:11 +00:00
Makefile
Object.cpp
ObjectFile.cpp