forked from OSchip/llvm-project
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:
parent
9a184b368b
commit
5b0e01c54e
|
@ -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"
|
|
@ -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"
|
|
@ -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"
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue