forked from OSchip/llvm-project
Add ARM Disassembler to the CMake build.
llvm-svn: 114949
This commit is contained in:
parent
e084cff9aa
commit
3da4255d07
|
@ -13,6 +13,7 @@ tablegen(ARMGenFastISel.inc -gen-fast-isel)
|
|||
tablegen(ARMGenCallingConv.inc -gen-callingconv)
|
||||
tablegen(ARMGenSubtarget.inc -gen-subtarget)
|
||||
tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
|
||||
tablegen(ARMGenDecoderTables.inc -gen-arm-decoder)
|
||||
|
||||
add_llvm_target(ARMCodeGen
|
||||
ARMAsmPrinter.cpp
|
||||
|
|
|
@ -39,9 +39,9 @@
|
|||
/// o static uint16_t decodeThumbInstruction(field_t insn) - the decoding
|
||||
/// function for a Thumb instruction.
|
||||
///
|
||||
#include "../ARMGenDecoderTables.inc"
|
||||
#include "ARMGenDecoderTables.inc"
|
||||
|
||||
#include "../ARMGenEDInfo.inc"
|
||||
#include "ARMGenEDInfo.inc"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMARMDisassembler
|
||||
ARMDisassembler.cpp
|
||||
ARMDisassemblerCore.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMARMDisassembler ARMCodeGenTable_gen)
|
Loading…
Reference in New Issue