mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
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:
@ -13,6 +13,7 @@ tablegen(ARMGenFastISel.inc -gen-fast-isel)
|
|||||||
tablegen(ARMGenCallingConv.inc -gen-callingconv)
|
tablegen(ARMGenCallingConv.inc -gen-callingconv)
|
||||||
tablegen(ARMGenSubtarget.inc -gen-subtarget)
|
tablegen(ARMGenSubtarget.inc -gen-subtarget)
|
||||||
tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
|
tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
|
||||||
|
tablegen(ARMGenDecoderTables.inc -gen-arm-decoder)
|
||||||
|
|
||||||
add_llvm_target(ARMCodeGen
|
add_llvm_target(ARMCodeGen
|
||||||
ARMAsmPrinter.cpp
|
ARMAsmPrinter.cpp
|
||||||
|
@ -39,9 +39,9 @@
|
|||||||
/// o static uint16_t decodeThumbInstruction(field_t insn) - the decoding
|
/// o static uint16_t decodeThumbInstruction(field_t insn) - the decoding
|
||||||
/// function for a Thumb instruction.
|
/// function for a Thumb instruction.
|
||||||
///
|
///
|
||||||
#include "../ARMGenDecoderTables.inc"
|
#include "ARMGenDecoderTables.inc"
|
||||||
|
|
||||||
#include "../ARMGenEDInfo.inc"
|
#include "ARMGenEDInfo.inc"
|
||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
|
8
lib/Target/ARM/Disassembler/CMakeLists.txt
Normal file
8
lib/Target/ARM/Disassembler/CMakeLists.txt
Normal 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)
|
Reference in New Issue
Block a user