Adding a C API to the disassembler for use by such tools as Darwin's otool(1).
authorKevin Enderby <enderby@apple.com>
Sat, 26 Mar 2011 00:06:33 +0000 (00:06 +0000)
committerKevin Enderby <enderby@apple.com>
Sat, 26 Mar 2011 00:06:33 +0000 (00:06 +0000)
commit12b04be85d01e59e87fa1023629ebf507e032749
tree54cca26c3f04c84aa2c9dedce6faeeaa0d2f8da7
parentcf0fe4650fff28ecf3fc948d11f0133520d5a4ac
Adding a C API to the disassembler for use by such tools as Darwin's otool(1).
This is a work in progress as the interface for producing symbolic operands is
not done.  But a hacked prototype using information from the object file's
relocation entiries and replacing immediate operands with MCExpr's has been
shown to work with no changes to the instrucion printer.  These APIs will be
moved into a dynamic library at some point.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128308 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Disassembler.h [new file with mode: 0644]
lib/MC/MCDisassembler/Disassembler.cpp [new file with mode: 0644]
lib/MC/MCDisassembler/Disassembler.h [new file with mode: 0644]