summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3c2a893ac71f258ae3def83b217f15af16548d14 (patch)
tree3c90ae83b390c727f88fe887f99a225006f90366 /llvm/lib/MC
parent619eece3477cc133348fe2bb5973ed8544fa5bb4 (diff)
downloadbcm5719-llvm-3c2a893ac71f258ae3def83b217f15af16548d14.tar.gz
bcm5719-llvm-3c2a893ac71f258ae3def83b217f15af16548d14.zip
Add MCAsmParser interface.
- This provides the AsmParser interface to the target specific assembly parsers. llvm-svn: 76453
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/CMakeLists.txt1
-rw-r--r--llvm/lib/MC/MCAsmParser.cpp18
2 files changed, 19 insertions, 0 deletions
diff --git a/llvm/lib/MC/CMakeLists.txt b/llvm/lib/MC/CMakeLists.txt
index 4e16388fec6..f0af7df959d 100644
--- a/llvm/lib/MC/CMakeLists.txt
+++ b/llvm/lib/MC/CMakeLists.txt
@@ -1,4 +1,5 @@
add_llvm_library(LLVMMC
+ MCAsmParser.cpp
MCAsmStreamer.cpp
MCContext.cpp
MCStreamer.cpp
diff --git a/llvm/lib/MC/MCAsmParser.cpp b/llvm/lib/MC/MCAsmParser.cpp
new file mode 100644
index 00000000000..2287e8965d7
--- /dev/null
+++ b/llvm/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() {
+}
OpenPOWER on IntegriCloud