llvm-6502/test
Bjorn Steinbrink ea388503c4 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217279 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-05 21:22:09 +00:00
..
Analysis Add a CFL Alias Analysis implementation 2014-09-02 21:43:13 +00:00
Assembler
Bindings Restore the ability to check if LLVMCreateObjectFile was successful 2014-09-05 21:22:09 +00:00
Bitcode Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream. 2014-08-30 17:07:55 +00:00
BugPoint
CodeGen Revert "Disable the fix for pr20793 because of a gnu ld bug." 2014-09-05 18:03:38 +00:00
DebugInfo [DWARF parser] Fix nasty memory corruption in .dwo files handling. 2014-09-05 19:29:45 +00:00
ExecutionEngine [MCJIT] Make sure eh-frame fixups use the target's pointer type, not the host's. 2014-09-04 04:53:03 +00:00
Feature
FileCheck
Instrumentation [asan] fix debug info produced for asan-coverage=2 2014-09-03 23:24:18 +00:00
Integer
JitListener
Linker [ dwarfdump ] Add symbolic dump of known DWARF attribute values. 2014-09-04 19:39:20 +00:00
LTO
MC [mips] Marked the Trap-on-Condition instructions as Mips II 2014-09-05 15:50:13 +00:00
Object Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
Other Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream. 2014-08-30 17:07:55 +00:00
TableGen Tablegen fixes for new syntax when initializing bits from variables. 2014-08-29 19:41:04 +00:00
tools The gold tests also require ppc to be compiled in. 2014-09-05 19:01:12 +00:00
Transforms InstCombine: Remove a special case pattern 2014-09-05 06:09:24 +00:00
Unit
Verifier Verifier: Don't reject varargs callee cleanup functions 2014-08-29 21:25:28 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh