[llvm-commits] [llvm] r152506 - in /llvm/trunk/bindings/python/llvm: disassembler.py tests/test_disassembler.py

Gregory Szorc gregory.szorc at gmail.com
Sat Mar 10 13:44:08 PST 2012


Doh. I should probably revert the commit then. No sense exposing
something that will go away.

Is http://llvm.org/doxygen/include_2llvm-c_2Disassembler_8h.html the
proper interface to expose then? It seems to me that the API is lacking
features compared to the edis one. Or, maybe I'm just missing things
buried behind structs and bit flags?

On 3/10/2012 1:37 PM, Chris Lattner wrote:
> On Mar 10, 2012, at 1:05 PM, Gregory Szorc wrote:
>
>> Author: gps
>> Date: Sat Mar 10 15:05:05 2012
>> New Revision: 152506
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=152506&view=rev
>> Log:
>> [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.
> Hi Gregory,
>
> We're planning for the "edis" library to go away, replacing it with the MC disassembler interfaces.  Please don't expose this to more clients, who will be unhappy when it does go away.
>
> -Chris
>




More information about the llvm-commits mailing list