• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===----- AVRELFStreamer.h - AVR Target Streamer --------------*- C++ -*--===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_AVR_ELF_STREAMER_H
10 #define LLVM_AVR_ELF_STREAMER_H
11 
12 #include "AVRTargetStreamer.h"
13 
14 namespace llvm {
15 
16 /// A target streamer for an AVR ELF object file.
17 class AVRELFStreamer : public AVRTargetStreamer {
18 public:
19   AVRELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI);
20 
getStreamer()21   MCELFStreamer &getStreamer() {
22     return static_cast<MCELFStreamer &>(Streamer);
23   }
24 };
25 
26 } // end namespace llvm
27 
28 #endif
29