Go to the documentation of this file.
22 void MCSectionXCOFF::printCsectDirective(
raw_ostream &OS)
const {
28 const MCExpr *Subsection)
const {
33 printCsectDirective(OS);
41 printCsectDirective(OS);
50 printCsectDirective(OS);
59 printCsectDirective(OS);
69 "Unhandled storage-mapping class for .data csect.");
76 getKind().isReadOnlyWithRel()) &&
77 "Unexepected section kind for toc-data");
78 printCsectDirective(OS);
87 "Generated a storage-mapping class for a common/bss/tbss csect we "
89 "understand how to switch to.");
96 "wrong symbol type for .bss/.tbss csect");
106 printCsectDirective(OS);
128 "Handling for isVirtualSection not implemented for this section!");
XCOFF::SymbolType getCSectType() const
This is an optimization pass for GlobalISel generic memory operations.
@ XMC_TD
Scalar data item in the TOC.
@ XMC_TE
Symbol mapped at the end of TOC.
This class is intended to be used as a base class for asm properties and features specific to the tar...
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
Triple - Helper class for working with autoconf configuration names.
@ XMC_TC
General TOC item.
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
@ XMC_RO
Read Only Constant.
unsigned Log2(Align A)
Returns the log2 of the alignment.
void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
This class implements an extremely fast bulk output stream that can only output to a stream.
XCOFF::StorageMappingClass getMappingClass() const
StringRef getName() const
getName - Get the symbol name.
@ XTY_CM
Common csect definition. For uninitialized storage.
@ XMC_TL
Initialized thread-local variable.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
format_object< Ts... > format(const char *Fmt, const Ts &... Vals)
These are helper functions used to produce formatted output.
StringRef getName() const
StringRef getPrivateLabelPrefix() const
@ XMC_TC0
TOC Anchor for TOC Addressability.
@ XMC_DS
Descriptor csect.
SectionKind getKind() const
@ XMC_UL
Uninitialized thread-local variable.
std::optional< XCOFF::DwarfSectionSubtypeFlags > getDwarfSubtypeFlags() const
void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
Base class for the full range of assembler expressions which are needed for parsing.
@ XMC_BS
BSS class (uninitialized static internal)