MipsELFStreamer.h revision 84fb9633caf6dc5b63ca98fd4d92e6086ab146d0
1//=== MipsELFStreamer.h - MipsELFStreamer ------------------------------===//
2//
3//                    The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENCE.TXT for details.
7//
8//===-------------------------------------------------------------------===//
9#ifndef MIPSELFSTREAMER_H_
10#define MIPSELFSTREAMER_H_
11
12#include "llvm/MC/MCELFStreamer.h"
13
14namespace llvm {
15class MipsSubtarget;
16
17class MipsELFStreamer : public MCELFStreamer {
18public:
19  MipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,
20                  raw_ostream &OS, MCCodeEmitter *Emitter,
21                  bool RelaxAll, bool NoExecStack)
22    : MCELFStreamer(Context, TAB, OS, Emitter), EFlags(0) {
23  }
24
25  ~MipsELFStreamer() {}
26  void emitELFHeaderFlagsCG(const MipsSubtarget &Subtarget);
27//  void emitELFHeaderFlagCG(unsigned Val);
28};
29
30  MCELFStreamer* createMipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,
31                                       raw_ostream &OS, MCCodeEmitter *Emitter,
32                                       bool RelaxAll, bool NoExecStack);
33}
34
35#endif /* MIPSELFSTREAMER_H_ */
36