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