1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/bindings/python/llvm
Anders Waldenborg 5adf625df0 python: Fix check for disasm creation failure
Check should be for pointer being NULL, not what it points to.

Also adds a test for this case.

Reviewed By: indygreg

Differential Revision: http://llvm-reviews.chandlerc.com/D1878

llvm-svn: 194965
2013-11-17 15:40:57 +00:00
..
tests python: Fix check for disasm creation failure 2013-11-17 15:40:57 +00:00
__init__.py
bit_reader.py [python-bindings] Added code for loading a module from bitcode, getset its datalayout, getset its target, dump it, print it to a file. 2013-09-11 00:23:14 +00:00
common.py We're in 3.4 land now. 2013-05-07 20:31:28 +00:00
core.py [python-bindings] Added support for getting/setting operands of values and getting the number of operands of a value. 2013-09-11 01:38:12 +00:00
disassembler.py python: Fix check for disasm creation failure 2013-11-17 15:40:57 +00:00
enumerations.py [llvm.py] Define enumerations from Core.h; add OpCode class 2012-03-10 05:50:56 +00:00
object.py [llvm.py] Implement interface to object files 2012-03-10 04:41:24 +00:00