diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 01:58:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 01:58:08 +0000 |
commit | 24b7ab9774068ffc3f2e45ca6aeb998d1664b521 (patch) | |
tree | 5c25f3cd40c5b15a8a780c089990692bd7c7741f | |
parent | 83248d388029bf68018dd4f27fa3099064a1f8f3 (diff) | |
download | external_llvm-24b7ab9774068ffc3f2e45ca6aeb998d1664b521.zip external_llvm-24b7ab9774068ffc3f2e45ca6aeb998d1664b521.tar.gz external_llvm-24b7ab9774068ffc3f2e45ca6aeb998d1664b521.tar.bz2 |
move some files out of the llvm-mc tool into the MCParser library so
other tools can link it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94131 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/MC/MCParser/AsmCond.h (renamed from tools/llvm-mc/AsmCond.h) | 0 | ||||
-rw-r--r-- | include/llvm/MC/MCParser/AsmLexer.h (renamed from tools/llvm-mc/AsmLexer.h) | 0 | ||||
-rw-r--r-- | include/llvm/MC/MCParser/AsmParser.h (renamed from tools/llvm-mc/AsmParser.h) | 4 | ||||
-rw-r--r-- | lib/MC/MCParser/AsmLexer.cpp (renamed from tools/llvm-mc/AsmLexer.cpp) | 2 | ||||
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp (renamed from tools/llvm-mc/AsmParser.cpp) | 3 | ||||
-rw-r--r-- | tools/llvm-mc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 2 |
7 files changed, 5 insertions, 8 deletions
diff --git a/tools/llvm-mc/AsmCond.h b/include/llvm/MC/MCParser/AsmCond.h index 92a115e..92a115e 100644 --- a/tools/llvm-mc/AsmCond.h +++ b/include/llvm/MC/MCParser/AsmCond.h diff --git a/tools/llvm-mc/AsmLexer.h b/include/llvm/MC/MCParser/AsmLexer.h index cf6eefb..cf6eefb 100644 --- a/tools/llvm-mc/AsmLexer.h +++ b/include/llvm/MC/MCParser/AsmLexer.h diff --git a/tools/llvm-mc/AsmParser.h b/include/llvm/MC/MCParser/AsmParser.h index ef53d79..65cdc16 100644 --- a/tools/llvm-mc/AsmParser.h +++ b/include/llvm/MC/MCParser/AsmParser.h @@ -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" diff --git a/tools/llvm-mc/AsmLexer.cpp b/lib/MC/MCParser/AsmLexer.cpp index de61e7f..0b2e68c 100644 --- a/tools/llvm-mc/AsmLexer.cpp +++ b/lib/MC/MCParser/AsmLexer.cpp @@ -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" diff --git a/tools/llvm-mc/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 503addb..e311400 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -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" diff --git a/tools/llvm-mc/CMakeLists.txt b/tools/llvm-mc/CMakeLists.txt index fbfc2d4..49c2932 100644 --- a/tools/llvm-mc/CMakeLists.txt +++ b/tools/llvm-mc/CMakeLists.txt @@ -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 ) diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 9979df9..f49738b 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.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; |