[llvm.py] Implement interface to enhanced disassembler
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 10 Mar 2012 21:05:05 +0000 (21:05 +0000)
committerGregory Szorc <gregory.szorc@gmail.com>
Sat, 10 Mar 2012 21:05:05 +0000 (21:05 +0000)
commit0b3aae906fa302bcad0863b92f16aec020db26ad
tree57100d6755aac9b6ada58b98bd78fd3e5fb3ef15
parentd3ac784fbb1e3cc31f9d8bd702fcda5a63d3ca8e
[llvm.py] Implement interface to enhanced disassembler

This requires a C++ change to EDDisassembler's ctor to function properly
(the llvm::InitializeAll* functions aren't being called currently and
there is no way to call them from Python).

Code is partially tested and works well enough for initial commit. There
are probably many small bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152506 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/llvm/disassembler.py [new file with mode: 0644]
bindings/python/llvm/tests/test_disassembler.py [new file with mode: 0644]