forked from OSchip/llvm-project
Fix layering by moving X86DisassemblerDecoderCommon to Support
This is used from llvm tblgen and the X86Disassembler - the only common library (apart from TableGen, which probably doesn't make sense to have as a dependency from a release tool (rather than a use-while-building-llvm tool) of LLVM) llvm-svn: 328393
This commit is contained in:
parent
6054e650ff
commit
ab7f17f4ec
|
@ -16,8 +16,8 @@
|
|||
#ifndef LLVM_LIB_TARGET_X86_DISASSEMBLER_X86DISASSEMBLERDECODER_H
|
||||
#define LLVM_LIB_TARGET_X86_DISASSEMBLER_X86DISASSEMBLERDECODER_H
|
||||
|
||||
#include "X86DisassemblerDecoderCommon.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Support/X86DisassemblerDecoderCommon.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace X86Disassembler {
|
||||
|
|
|
@ -74,8 +74,8 @@ using namespace llvm::X86Disassembler;
|
|||
/// accurate. Sometimes they are not.
|
||||
/// (3) to fix the tables to reflect the actual context (for example, required
|
||||
/// prefixes), and possibly to add a new context by editing
|
||||
/// lib/Target/X86/X86DisassemblerDecoderCommon.h. This is unlikely to be
|
||||
/// the cause.
|
||||
/// include/llvm/Support/X86DisassemblerDecoderCommon.h. This is unlikely
|
||||
/// to be the cause.
|
||||
///
|
||||
/// DisassemblerEmitter.cpp contains the implementation for the emitter,
|
||||
/// which simply pulls out instructions from the CodeGenTarget and pushes them
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#include "../../lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h"
|
||||
#include "llvm/Support/X86DisassemblerDecoderCommon.h"
|
||||
|
||||
struct InstructionSpecifier {
|
||||
llvm::X86Disassembler::OperandSpecifier
|
||||
|
|
Loading…
Reference in New Issue