1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/lib/Object
Bjorn Steinbrink a2eead0028 Restore the ability to check if LLVMCreateObjectFile was successful
Summary:
Until r216870 LLVMCreateObjectFile returned nullptr in case of an error,
so callers could check if the call was successful. Now, it always
returns an OwningBinary wrapped as an LLVMObjectFileRef, so callers
can't check if the call was successul.

This results in a segfault running e.g.

 llvm-c-test --object-list-sections < /dev/null

So the old behaviour should be restored.

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5143

llvm-svn: 217279
2014-09-05 21:22:09 +00:00
..
Archive.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Binary.cpp unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
CMakeLists.txt Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
COFFObjectFile.cpp Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 05:25:25 +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 unique_ptrify IRObjectFile::createIRObjectFile 2014-09-03 17:59:23 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp Adds the next bit of support for llvm-objdump’s -private-headers for executable Mach-O files. 2014-09-04 16:54:47 +00:00
MachOUniversal.cpp unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
Makefile
Object.cpp Restore the ability to check if LLVMCreateObjectFile was successful 2014-09-05 21:22:09 +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 unique_ptrify IRObjectFile::createIRObjectFile 2014-09-03 17:59:23 +00:00