1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/Object
Rafael Espindola 225cf75bef Pass a MemoryBufferRef when we can avoid taking ownership.
The attached patch simplifies a few interfaces that don't need to take
ownership of a buffer.

For example, both parseAssembly and parseBitcodeFile will parse the
entire buffer before returning. There is no need to take ownership.

Using a MemoryBufferRef makes it obvious in the type signature that
there is no ownership transfer.

llvm-svn: 216488
2014-08-26 21:49:01 +00:00
..
Archive.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Binary.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
CMakeLists.txt Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
COFFObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
COFFYAML.cpp obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
ELF.cpp AArch64: add support for dynamic-loader relocations 2014-08-11 10:10:27 +00:00
ELFObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ELFYAML.cpp Add forgotten break statement. 2014-07-13 16:18:56 +00:00
Error.cpp Added forgotten noexcept. 2014-08-18 07:48:18 +00:00
IRObjectFile.cpp Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
MachOUniversal.cpp Fix a pair of use after free. Should bring the bots back. 2014-08-19 18:59:14 +00:00
Makefile
Object.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
RecordStreamer.cpp Make RecordStreamer.h private. 2014-07-04 22:44:18 +00:00
RecordStreamer.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
SymbolicFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00