Add ARM Disassembler to the CMake build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2010-09-28 11:48:19 +00:00
parent acf1d482bf
commit 38e1390c29
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)