LLVM
8.0.1
|
This represents a section on Windows. More...
#include "llvm/MC/MCSectionCOFF.h"
Static Public Member Functions | |
static bool | isImplicitlyDiscardable (StringRef Name) |
static bool | classof (const MCSection *S) |
Static Public Member Functions inherited from llvm::MCSection | |
static FragmentListType MCSection::* | getSublistAccess (MCFragment *) |
Support for MCFragment::getNextNode(). More... | |
Friends | |
class | MCContext |
Additional Inherited Members | |
Public Types inherited from llvm::MCSection | |
enum | SectionVariant { SV_COFF = 0, SV_ELF, SV_MachO, SV_Wasm } |
enum | BundleLockStateType { NotBundleLocked, BundleLocked, BundleLockedAlignToEnd } |
Express the state of bundle locked groups while emitting code. More... | |
using | FragmentListType = iplist< MCFragment > |
using | const_iterator = FragmentListType::const_iterator |
using | iterator = FragmentListType::iterator |
using | const_reverse_iterator = FragmentListType::const_reverse_iterator |
using | reverse_iterator = FragmentListType::reverse_iterator |
Protected Member Functions inherited from llvm::MCSection | |
MCSection (SectionVariant V, SectionKind K, MCSymbol *Begin) | |
~MCSection () | |
Protected Attributes inherited from llvm::MCSection | |
SectionVariant | Variant |
SectionKind | Kind |
This represents a section on Windows.
Definition at line 27 of file MCSectionCOFF.h.
|
default |
Definition at line 95 of file MCSectionCOFF.h.
References llvm::MCSection::getVariant(), and llvm::MCSection::SV_COFF.
|
inline |
Definition at line 73 of file MCSectionCOFF.h.
References Characteristics.
Referenced by getAlignment(), llvm::MCContext::getAssociativeCOFFSection(), isVirtualSection(), and PrintSwitchToSection().
|
inline |
Definition at line 74 of file MCSectionCOFF.h.
Referenced by getAlignment(), and isAssociative().
Definition at line 85 of file MCSectionCOFF.h.
|
inline |
Definition at line 72 of file MCSectionCOFF.h.
References AMDGPU::ElfNote::SectionName.
Referenced by getAlignment(), llvm::MCContext::getAssociativeCOFFSection(), isAssociative(), and PrintSwitchToSection().
|
inline |
Definition at line 75 of file MCSectionCOFF.h.
References isVirtualSection(), PrintSwitchToSection(), Selection, setSelection(), and UseCodeAlign().
Referenced by getAlignment().
Definition at line 91 of file MCSectionCOFF.h.
References llvm::StringRef::startswith().
Referenced by PrintSwitchToSection().
|
overridevirtual |
Check whether this section is "virtual", that is has no actual object file contents.
Implements llvm::MCSection.
Definition at line 114 of file MCSectionCOFF.cpp.
References getCharacteristics(), and llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA.
Referenced by getSelection().
|
overridevirtual |
Implements llvm::MCSection.
Definition at line 40 of file MCSectionCOFF.cpp.
References assert(), getCharacteristics(), getSectionName(), llvm::COFF::IMAGE_COMDAT_SELECT_ANY, llvm::COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE, llvm::COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH, llvm::COFF::IMAGE_COMDAT_SELECT_LARGEST, llvm::COFF::IMAGE_COMDAT_SELECT_NEWEST, llvm::COFF::IMAGE_COMDAT_SELECT_NODUPLICATES, llvm::COFF::IMAGE_COMDAT_SELECT_SAME_SIZE, llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA, llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA, llvm::COFF::IMAGE_SCN_LNK_COMDAT, llvm::COFF::IMAGE_SCN_LNK_REMOVE, llvm::COFF::IMAGE_SCN_MEM_DISCARDABLE, llvm::COFF::IMAGE_SCN_MEM_EXECUTE, llvm::COFF::IMAGE_SCN_MEM_READ, llvm::COFF::IMAGE_SCN_MEM_SHARED, llvm::COFF::IMAGE_SCN_MEM_WRITE, isImplicitlyDiscardable(), llvm::MCSymbol::print(), and ShouldOmitSectionDirective().
Referenced by getSelection().
void MCSectionCOFF::setSelection | ( | int | Selection | ) | const |
Definition at line 34 of file MCSectionCOFF.cpp.
References assert(), and llvm::COFF::IMAGE_SCN_LNK_COMDAT.
Referenced by getSelection().
Decides whether a '.section' directive should be printed before the section name.
Definition at line 22 of file MCSectionCOFF.cpp.
Referenced by PrintSwitchToSection().
|
overridevirtual |
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
Implements llvm::MCSection.
Definition at line 110 of file MCSectionCOFF.cpp.
References llvm::MCSection::getKind(), and llvm::SectionKind::isText().
Referenced by getSelection().
|
friend |
Definition at line 54 of file MCSectionCOFF.h.