summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/llvm-c/objectfile.ll
Commit message (Collapse)AuthorAgeFilesLines
* Restore the ability to check if LLVMCreateObjectFile was successfulBjorn Steinbrink2014-09-051-0/+2
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
OpenPOWER on IntegriCloud