llvm-6502/lib
Rafael Espindola 7976842791 Delete the buffer in createObjectFile if it fails.
The Binary constructor takes ownership of the memory buffer. This is a fairly
unfortunate interface, but for now make createObjectFile consistent with it
by also deleting the buffer if it fails.

Fixes a leak in llvm-ar found by the valgrind bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187039 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-24 14:00:26 +00:00
..
Analysis
AsmParser
Bitcode
CodeGen DAGCombiner: Pass the correct type to TargetLowering::isF(Abs|Neg)Free 2013-07-23 23:55:03 +00:00
DebugInfo
ExecutionEngine [mips] Use pristine object file while processing relocations. 2013-07-24 01:58:40 +00:00
IR Replace with a "null" RAUW with an assert since we'd actually like 2013-07-24 01:51:12 +00:00
IRReader
Linker
MC Revert "Remove use of asymmetric std::lower_bound comparator." 2013-07-23 17:44:11 +00:00
Object Delete the buffer in createObjectFile if it fails. 2013-07-24 14:00:26 +00:00
Option
Support Split getOpenFile into getOpenFile and getOpenFileSlice. 2013-07-23 20:25:01 +00:00
TableGen
Target [test commit] Minor comment change. 2013-07-24 13:02:35 +00:00
Transforms Fix a problem I introduced in r187029 where we would over-eagerly 2013-07-24 12:12:17 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile