diff options
author | Anders Waldenborg <anders@0x63.nu> | 2013-11-17 15:40:57 +0000 |
---|---|---|
committer | Anders Waldenborg <anders@0x63.nu> | 2013-11-17 15:40:57 +0000 |
commit | e8a957d2a91d02af0b9c3808b31067d236b22196 (patch) | |
tree | fcc2843da3a27bb535c8922b8077b1e2d08a40f2 /include | |
parent | 60e4d7f618ffc8b91c6fa2638e3c25a085c2fb1e (diff) | |
download | external_llvm-e8a957d2a91d02af0b9c3808b31067d236b22196.zip external_llvm-e8a957d2a91d02af0b9c3808b31067d236b22196.tar.gz external_llvm-e8a957d2a91d02af0b9c3808b31067d236b22196.tar.bz2 |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions