Add ARM Disassembler to the CMake build.

llvm-svn: 114949
This commit is contained in:
Oscar Fuentes 2010-09-28 11:48:19 +00:00
parent e084cff9aa
commit 3da4255d07
3 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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;

View File

@ -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)