LLVM 22.0.0git
MCGOFFStreamer.h
Go to the documentation of this file.
1//===- MCGOFFStreamer.h - MCStreamer GOFF Object File Interface--*- 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_MC_MCGOFFSTREAMER_H
10#define LLVM_MC_MCGOFFSTREAMER_H
11
14
15namespace llvm {
17
19
20public:
21 MCGOFFStreamer(MCContext &Context, std::unique_ptr<MCAsmBackend> MAB,
22 std::unique_ptr<MCObjectWriter> OW,
23 std::unique_ptr<MCCodeEmitter> Emitter);
24
25 ~MCGOFFStreamer() override;
26
27 void changeSection(MCSection *Section, uint32_t Subsection = 0) override;
28
30
32 return false;
33 }
35 Align ByteAlignment) override {}
36};
37
38} // end namespace llvm
39
40#endif
dxil DXContainer Global Emitter
Functions, function parameters, and return types can have attributes to indicate how they should be t...
Definition Attributes.h:69
Context object for machine code objects.
Definition MCContext.h:83
void changeSection(MCSection *Section, uint32_t Subsection=0) override
This is called by popSection and switchSection, if the current section changes.
bool emitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override
Add the given Attribute to Symbol.
GOFFObjectWriter & getWriter()
MCGOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
void emitCommonSymbol(MCSymbol *Symbol, uint64_t Size, Align ByteAlignment) override
Emit a common symbol.
MCObjectStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > TAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition MCSection.h:496
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition MCSymbol.h:42
This is an optimization pass for GlobalISel generic memory operations.
This struct is a compact representation of a valid (non-zero power of two) alignment.
Definition Alignment.h:39