forked from OSchip/llvm-project
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. llvm-svn: 187039 |
||
|---|---|---|
| .. | ||
| Archive.cpp | ||
| Binary.cpp | ||
| CMakeLists.txt | ||
| COFFObjectFile.cpp | ||
| COFFYAML.cpp | ||
| ELFObjectFile.cpp | ||
| ELFYAML.cpp | ||
| Error.cpp | ||
| LLVMBuild.txt | ||
| MachOObjectFile.cpp | ||
| MachOUniversal.cpp | ||
| Makefile | ||
| Object.cpp | ||
| ObjectFile.cpp | ||
| YAML.cpp | ||