LLVM: include/llvm/MC/MCXCOFFStreamer.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_MC_MCXCOFFSTREAMER_H

10#define LLVM_MC_MCXCOFFSTREAMER_H

11

13

14namespace llvm {

16

18public:

20 std::unique_ptr OW,

21 std::unique_ptr Emitter);

22

24

28 Align ByteAlignment) override;

38 unsigned Lang, unsigned Reason,

39 unsigned FunctionSize, bool hasDebug) override;

41};

42

43}

44

45#endif

dxil DXContainer Global Emitter

Functions, function parameters, and return types can have attributes to indicate how they should be t...

Context object for machine code objects.

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.

MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...

void emitCommonSymbol(MCSymbol *Symbol, uint64_t Size, Align ByteAlignment) override

Emit a common symbol.

XCOFFObjectWriter & getWriter()

void emitXCOFFLocalCommonSymbol(MCSymbol *LabelSym, uint64_t Size, MCSymbol *CsectSym, Align Alignment) override

Emits an lcomm directive with XCOFF csect information.

void emitXCOFFRefDirective(const MCSymbol *Symbol) override

Emit a XCOFF .ref directive which creates R_REF type entry in the relocation table for one or more sy...

MCXCOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)

void changeSection(MCSection *Section, uint32_t Subsection=0) override

This is called by popSection and switchSection, if the current section changes.

void emitXCOFFExceptDirective(const MCSymbol *Symbol, const MCSymbol *Trap, unsigned Lang, unsigned Reason, unsigned FunctionSize, bool hasDebug) override

Emit an XCOFF .except directive which adds information about a trap instruction to the object file ex...

void emitXCOFFRenameDirective(const MCSymbol *Name, StringRef Rename) override

Emit a XCOFF .rename directive which creates a synonym for an illegal or undesirable name.

void emitXCOFFCInfoSym(StringRef Name, StringRef Metadata) override

Emit a C_INFO symbol with XCOFF embedded metadata to the .info section.

void emitXCOFFSymbolLinkageWithVisibility(MCSymbol *Symbol, MCSymbolAttr Linkage, MCSymbolAttr Visibility) override

Emit a symbol's linkage and visibility with a linkage directive for XCOFF.

bool emitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override

Add the given Attribute to Symbol.

StringRef - Represent a constant reference to a string, i.e.

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.