llvm-6502/include/llvm/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.h Adding changes to support GNU style archive library reading 2012-11-13 18:38:42 +00:00
Binary.h Remove unnecessary classof()'s 2012-10-11 23:30:49 +00:00
COFF.h Add interface for querying object files for symbol values. 2012-10-29 10:47:00 +00:00
ELF.h Adding convenience function to ELF Header 2012-11-13 18:26:22 +00:00
Error.h Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
MachO.h Fix a memory leak in MachOObjectFile. 2012-11-29 19:14:11 +00:00
MachOFormat.h Add LLVM support for Swift. 2012-09-29 21:43:49 +00:00
MachOObject.h Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
ObjectFile.h Add interface for querying object files for symbol values. 2012-10-29 10:47:00 +00:00
RelocVisitor.h Remove some dead code. 2012-11-20 18:37:40 +00:00