[LLVMdev] Disassembly arbitrary machine-code byte arrays

Chris Lattner clattner at apple.com
Mon Dec 19 16:26:21 PST 2011


On Dec 19, 2011, at 4:24 PM, Aidan Steele wrote:

> 
> In any case, both that and llvm-mc should be more than adequate! A
> follow-up question: is the C interface to LLVM a second-class citizen
> or should I reasonably be able to expect to do everything with it that
> I could do as a consumer of the C++ API?

It is a second class citizen in some ways: you can't do everything with the C API that you can do with the C++ API.  On the other hand, the C API is stable (we don't change the API) where the C++ API changes all the time.

-Chris



More information about the llvm-dev mailing list