Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:13

0001 //===- MCGOFFStreamer.h - MCStreamer GOFF Object File Interface--*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_MC_MCGOFFSTREAMER_H
0010 #define LLVM_MC_MCGOFFSTREAMER_H
0011 
0012 #include "llvm/MC/MCObjectStreamer.h"
0013 #include "llvm/MC/MCObjectWriter.h"
0014 
0015 namespace llvm {
0016 
0017 class MCGOFFStreamer : public MCObjectStreamer {
0018 public:
0019   MCGOFFStreamer(MCContext &Context, std::unique_ptr<MCAsmBackend> MAB,
0020                  std::unique_ptr<MCObjectWriter> OW,
0021                  std::unique_ptr<MCCodeEmitter> Emitter)
0022       : MCObjectStreamer(Context, std::move(MAB), std::move(OW),
0023                          std::move(Emitter)) {}
0024 
0025   ~MCGOFFStreamer() override;
0026 
0027   bool emitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override {
0028     return false;
0029   }
0030   void emitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
0031                         Align ByteAlignment) override {}
0032   void emitInstToData(const MCInst &Inst, const MCSubtargetInfo &) override {}
0033   void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
0034                     uint64_t Size = 0, Align ByteAlignment = Align(1),
0035                     SMLoc Loc = SMLoc()) override {}
0036 };
0037 
0038 } // end namespace llvm
0039 
0040 #endif