Represents an XCOFF control section (csect) or DWARF section.
Synopsis
Declared in <llvm/MC/MCSectionXCOFF.h>
class MCSectionXCOFF final
: public MCSection
Description
A csect is the smallest unit of data/code relocated as a single block. A csect can either be: 1) Initialized: The Type will be XTY_SD, and the symbols inside the csect will have a label definition representing their offset within the csect. 2) Uninitialized: The Type will be XTY_CM, it will contain a single symbol, and may not contain label definitions. 3) An external reference providing a symbol table entry for a symbol contained in another XCOFF object file. External reference csects are not implemented yet.
Base Classes
Name |
Description |
Instances of this class represent a uniqued identifier for a section in the current translation unit. The MCContext class uniques and creates these. |
Types
Member Functions
Name |
Description |
|
Destroy this XCOFF section. |
|
Deleted copy assignment. |
Return an iterator to the first fragment in this section. |
|
Return the active fragment list for this section. |
|
Print a human‐readable description of this section to stderr. |
|
Return an end iterator past the last fragment in this section. |
|
Makes sure that Alignment is at least MinAlignment. |
|
Return the layout order of the first linker‐relaxable fragment, or |
|
Return the required alignment of this section. |
|
Return the section begin symbol, if any. |
|
Return the XCOFF symbol type for this csect. |
|
Return the csect properties, if this section is a csect. |
|
Return the dummy fragment used as a sentinel for this section. |
|
Return the DWARF section subtype flags, if this is a DWARF section. |
|
Return the section end symbol, creating it in |
|
Return the SectionKind for this section. |
|
Return the XCOFF storage mapping class for this csect. |
|
Return the name of this section. |
|
Return this section's index in the assembler's section list. |
|
Return the qualifying name symbol for this section. |
|
Return the XCOFF storage class of the qualifying name symbol. |
|
Return the name used for this section in the symbol table. |
|
Return the XCOFF visibility type of the qualifying name symbol. |
|
Return true if an end symbol has already been created for this section. |
|
Return true if instructions have been emitted into this section. |
|
Check whether this section is "virtual", that is has no actual object file contents. |
|
Return true if this section is a csect. |
|
Return true if this section is a DWARF section. |
|
Return true if this section contains any linker‐relaxable fragments. |
|
Return true if this section may contain multiple symbols. |
|
Return true if this section has been registered with the assembler. |
|
Return true if this is a text (code) section. |
|
Set the required alignment of this section. |
|
Set the section begin symbol; may be called only once. |
|
Record the layout order of the first linker‐relaxable fragment. |
|
Set whether instructions have been emitted into this section. |
|
Set whether this section has been registered with the assembler. |
|
Set this section's index in the assembler's section list. |
|
Set the name used for this section in the symbol table. |
Static Data Members
Name |
Description |
Sentinel unique ID meaning the section is not uniquely identified. |
Protected Data Members
Name |
Description |
Section name as it appears in the object file. |
Friends
Name |
Description |
Target asm properties for XCOFF‐based targets. |
|
Context object for machine code objects. This class owns all of the sections that it creates. |
Created with MrDocs