summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-10 00:59:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-10 00:59:15 +0000
commitb8b70521def36d0da103b8a103872f37b3b49aa2 (patch)
tree1842156dca854a94a3265e957b9ac0315c2fd516 /include
parent2a16e6b22c558f9ba0b25096dfe0697488e51c8e (diff)
downloadllvm-b8b70521def36d0da103b8a103872f37b3b49aa2.tar.gz
llvm-b8b70521def36d0da103b8a103872f37b3b49aa2.tar.bz2
llvm-b8b70521def36d0da103b8a103872f37b3b49aa2.tar.xz
MC: Give target specific parsers access to the MCStreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAsmParser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmParser.h b/include/llvm/MC/MCAsmParser.h
index 8c1b7b8863..c1b5d133cd 100644
--- a/include/llvm/MC/MCAsmParser.h
+++ b/include/llvm/MC/MCAsmParser.h
@@ -16,6 +16,7 @@ namespace llvm {
class MCAsmLexer;
class MCContext;
class MCExpr;
+class MCStreamer;
class MCValue;
class SMLoc;
class Twine;
@@ -35,6 +36,9 @@ public:
virtual MCContext &getContext() = 0;
+ /// getSteamer - Return the output streamer for the assembler.
+ virtual MCStreamer &getStreamer() = 0;
+
/// Warning - Emit a warning at the location \arg L, with the message \arg
/// Msg.
virtual void Warning(SMLoc L, const Twine &Msg) = 0;