From b8b70521def36d0da103b8a103872f37b3b49aa2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 10 Sep 2009 00:59:15 +0000 Subject: 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 --- include/llvm/MC/MCAsmParser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/llvm') 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; -- cgit v1.2.3