Instances of this class represent a uniqued identifier for a section in the current translation unit. The MCContext class uniques and creates these.
Synopsis
Declared in <llvm/MC/MCSection.h>
class MCSection;
Types
Member Functions
Name |
Description |
|
Deleted copy constructor. |
|
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 dummy fragment used as a sentinel for this section. |
|
Return the section end symbol, creating it in |
|
Return the name of this section. |
|
Return this section's index in the assembler's section list. |
|
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 contains any linker‐relaxable fragments. |
|
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. |
Static Data Members
Name |
Description |
Sentinel unique ID meaning the section is not uniquely identified. |
Protected Member Functions
Name |
Description |
|
Construct a section with the given name and kind flags. |
Protected Data Members
Name |
Description |
Section name as it appears in the object file. |
Friends
Name |
Description |
Contiguous piece of code or data within a section. |
|
Streaming object file generation interface. |
|
Assembles machine‐code sections, lays them out, and writes object files. |
Derived Classes
Name |
Description |
This represents a section on Windows |
|
This represents a section in a DXContainer (DXBC) object file. |
|
This represents a section on linux, lots of unix variants and some bare metal systems. |
|
A machine code section for the GOFF (z/OS) object file format. |
|
This represents a section on a Mach‐O system (used by Mac OS X). On a Mac system, these are also described in /usr/include/mach‐o/loader.h. |
|
This represents a section in a SPIR‐V object file. |
|
This represents a section on wasm. |
|
Represents an XCOFF control section (csect) or DWARF section. |
Created with MrDocs