1 //===----- AVRELFStreamer.h - AVR Target Streamer --------------*- C++ -*--===// 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 #ifndef LLVM_AVR_ELF_STREAMER_H 11 #define LLVM_AVR_ELF_STREAMER_H 12 13 #include "AVRTargetStreamer.h" 14 15 namespace llvm { 16 17 /// A target streamer for an AVR ELF object file. 18 class AVRELFStreamer : public AVRTargetStreamer { 19 public: 20 AVRELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI); 21 getStreamer()22 MCELFStreamer &getStreamer() { 23 return static_cast<MCELFStreamer &>(Streamer); 24 } 25 }; 26 27 } // end namespace llvm 28 29 #endif 30