mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-31 12:30:06 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89850 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
973 B
C++
30 lines
973 B
C++
//===- X86Disassembler.cpp - Disassembler for x86 and x86_64 ----*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/MC/MCDisassembler.h"
|
|
#include "llvm/Target/TargetRegistry.h"
|
|
#include "X86.h"
|
|
using namespace llvm;
|
|
|
|
static const MCDisassembler *createX86_32Disassembler(const Target &T) {
|
|
return 0;
|
|
}
|
|
|
|
static const MCDisassembler *createX86_64Disassembler(const Target &T) {
|
|
return 0;
|
|
}
|
|
|
|
extern "C" void LLVMInitializeX86Disassembler() {
|
|
// Register the disassembler.
|
|
TargetRegistry::RegisterMCDisassembler(TheX86_32Target,
|
|
createX86_32Disassembler);
|
|
TargetRegistry::RegisterMCDisassembler(TheX86_64Target,
|
|
createX86_64Disassembler);
|
|
}
|