move some files out of the llvm-mc tool into the MCParser library so

other tools can link it.

llvm-svn: 94131
This commit is contained in:
Chris Lattner 2010-01-22 01:58:08 +00:00
parent 9a184b368b
commit 5b0e01c54e
7 changed files with 5 additions and 8 deletions

View File

@ -15,8 +15,8 @@
#define ASMPARSER_H
#include <vector>
#include "AsmLexer.h"
#include "AsmCond.h"
#include "llvm/MC/MCParser/AsmLexer.h"
#include "llvm/MC/MCParser/AsmCond.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"

View File

@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
#include "AsmLexer.h"
#include "llvm/MC/MCParser/AsmLexer.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/MC/MCAsmInfo.h"

View File

@ -11,8 +11,7 @@
//
//===----------------------------------------------------------------------===//
#include "AsmParser.h"
#include "llvm/MC/MCParser/AsmParser.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/MC/MCContext.h"

View File

@ -2,7 +2,5 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support MC MCParser)
add_llvm_tool(llvm-mc
llvm-mc.cpp
AsmLexer.cpp
AsmParser.cpp
Disassembler.cpp
)

View File

@ -32,7 +32,7 @@
#include "llvm/Target/TargetRegistry.h"
#include "llvm/Target/TargetMachine.h" // FIXME.
#include "llvm/Target/TargetSelect.h"
#include "AsmParser.h"
#include "llvm/MC/MCParser/AsmParser.h"
#include "Disassembler.h"
using namespace llvm;