aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-20 18:55:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-20 18:55:04 +0000
commit4b0f4eff1fd931c782ea277b15c389dc34079c0c (patch)
tree12a7fc0c9734320b9a29dfe69613b04a4b435dc5 /lib/MC
parentda30a366b6420e99d8879657e2eb4367b9c75dae (diff)
downloadexternal_llvm-4b0f4eff1fd931c782ea277b15c389dc34079c0c.zip
external_llvm-4b0f4eff1fd931c782ea277b15c389dc34079c0c.tar.gz
external_llvm-4b0f4eff1fd931c782ea277b15c389dc34079c0c.tar.bz2
Add MCAsmParser interface.
- This provides the AsmParser interface to the target specific assembly parsers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/CMakeLists.txt1
-rw-r--r--lib/MC/MCAsmParser.cpp18
2 files changed, 19 insertions, 0 deletions
diff --git a/lib/MC/CMakeLists.txt b/lib/MC/CMakeLists.txt
index 4e16388..f0af7df 100644
--- a/lib/MC/CMakeLists.txt
+++ b/lib/MC/CMakeLists.txt
@@ -1,4 +1,5 @@
add_llvm_library(LLVMMC
+ MCAsmParser.cpp
MCAsmStreamer.cpp
MCContext.cpp
MCStreamer.cpp
diff --git a/lib/MC/MCAsmParser.cpp b/lib/MC/MCAsmParser.cpp
new file mode 100644
index 0000000..2287e89
--- /dev/null
+++ b/lib/MC/MCAsmParser.cpp
@@ -0,0 +1,18 @@
+//===-- MCAsmParser.cpp - Abstract Asm Parser Interface -------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/MC/MCAsmParser.h"
+
+using namespace llvm;
+
+MCAsmParser::MCAsmParser() {
+}
+
+MCAsmParser::~MCAsmParser() {
+}