class MCSectionELF

Declaration

class MCSectionELF : public MCSection { /* full declaration omitted */ };

Description

This represents a section on linux, lots of unix variants and some bare metal systems.

Declared at: llvm/include/llvm/MC/MCSectionELF.h:27

Inherits from: MCSection

Member Variables

Inherited from MCSection:

protected Variant
protected Kind

Method Overview

Inherited from MCSection:

Methods

void PrintSwitchToSection(
    const llvm::MCAsmInfo& MAI,
    const llvm::Triple& T,
    llvm::raw_ostream& OS,
    const llvm::MCExpr* Subsection) const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:77

Parameters

const llvm::MCAsmInfo& MAI
const llvm::Triple& T
llvm::raw_ostream& OS
const llvm::MCExpr* Subsection

bool ShouldOmitSectionDirective(
    llvm::StringRef Name,
    const llvm::MCAsmInfo& MAI) const

Description

Decides whether a '.section' directive should be printed before the section name

Declared at: llvm/include/llvm/MC/MCSectionELF.h:68

Parameters

llvm::StringRef Name
const llvm::MCAsmInfo& MAI

bool UseCodeAlign() const

Description

Return true if a .align directive should use "optimized nops" to fill instead of 0s.

Declared at: llvm/include/llvm/MC/MCSectionELF.h:80

static bool classof(const llvm::MCSection* S)

Declared at: llvm/include/llvm/MC/MCSectionELF.h:89

Parameters

const llvm::MCSection* S

const llvm::MCSection* getAssociatedSection()
    const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:86

const llvm::MCSymbol* getAssociatedSymbol() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:87

unsigned int getEntrySize() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:73

unsigned int getFlags() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:72

const llvm::MCSymbolELF* getGroup() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:75

llvm::StringRef getSectionName() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:70

unsigned int getType() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:71

unsigned int getUniqueID() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:84

bool isUnique() const

Declared at: llvm/include/llvm/MC/MCSectionELF.h:83

bool isVirtualSection() const

Description

Check whether this section is "virtual", that is has no actual object file contents.

Declared at: llvm/include/llvm/MC/MCSectionELF.h:81

void setFlags(unsigned int F)

Declared at: llvm/include/llvm/MC/MCSectionELF.h:74

Parameters

unsigned int F