Make AsmStreamer maintain a notion of the current section, pushing it up from the
[oota-llvm.git] / lib / MC / MCStreamer.cpp
1 //===- lib/MC/MCStreamer.cpp - Streaming Machine Code Output --------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "llvm/MC/MCStreamer.h"
11
12 using namespace llvm;
13
14 MCStreamer::MCStreamer(MCContext &_Context) : Context(_Context), CurSection(0) {
15 }
16
17 MCStreamer::~MCStreamer() {
18 }