Zi Xuan Wu ec642ceebc [CSKY] Add CSKYDisassembler.cpp to construct objdump
CSKYDisassembler tries to disassemble register MC operand from register num for different register class, and
also handles immediate num and carry flag operand which is not encoded in instruction binary.

Also enhance the printer of instruction to accept sub-option to control the print format. Sometimes, it prefers to
print number in hex, especially when immediate number represents symbol address.
2022-02-08 16:02:59 +08:00

12 lines
159 B
CMake

add_llvm_component_library(LLVMCSKYDisassembler
CSKYDisassembler.cpp
LINK_COMPONENTS
CSKYInfo
MCDisassembler
Support
ADD_TO_COMPONENT
CSKY
)