llvm-6502/lib/Object
Rafael Espindola 1f659329b6 Make ObjectFile and BitcodeReader always own the MemoryBuffer.
This allows us to just use a std::unique_ptr to store the pointer to the buffer.
The flip side is that they have to support releasing the buffer back to the
caller.

Overall this looks like a more efficient and less brittle api.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211542 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-23 21:53:12 +00:00
..
Archive.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
Binary.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
CMakeLists.txt ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
COFFObjectFile.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
COFFYAML.cpp obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
ELF.cpp [Mips] Add more relocation types and MIPS specific e_flags constants. 2014-05-20 09:27:49 +00:00
ELFObjectFile.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
ELFYAML.cpp [yaml2obj][obj2yaml] Support ELF symbol's visibility flags (default/hidden/protected). 2014-06-06 07:41:57 +00:00
Error.cpp Remove unused and odd code. 2014-06-13 15:36:17 +00:00
IRObjectFile.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
LLVMBuild.txt LLVMBuild.txt: Add missing dependencies. 2014-04-10 11:16:47 +00:00
MachOObjectFile.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
MachOUniversal.cpp Convert a few methods to use ErrorOr. 2014-06-23 20:41:02 +00:00
Makefile
Object.cpp Remove 'using std::errro_code' from lib. 2014-06-13 02:24:39 +00:00
ObjectFile.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
StringTableBuilder.cpp ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
SymbolicFile.cpp Make ObjectFile and BitcodeReader always own the MemoryBuffer. 2014-06-23 21:53:12 +00:00
YAML.cpp Object: Don't double-escape empty hexdata 2014-03-20 06:28:52 +00:00