mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-06 01:31:56 +00:00
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
84c0345065
commit
c0e2ef62fa
include/llvm/MC/MCParser
lib/MC/MCParser
tools/llvm-mc
@ -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…
x
Reference in New Issue
Block a user