22void MCSectionXCOFF::printCsectDirective(
raw_ostream &
OS)
const {
33 printCsectDirective(
OS);
41 printCsectDirective(
OS);
45 if (
getKind().isReadOnlyWithRel()) {
50 "Unexepected storage-mapping class for ReadOnlyWithRel kind");
51 printCsectDirective(
OS);
60 printCsectDirective(
OS);
69 printCsectDirective(
OS);
79 "Unhandled storage-mapping class for .data csect.");
90 assert(
getKind().isBSS() &&
"Unexpected section kind for toc-data");
91 printCsectDirective(
OS);
100 "Generated a storage-mapping class for a common/bss/tbss csect we "
102 "understand how to switch to.");
109 "wrong symbol type for .bss/.tbss csect");
119 printCsectDirective(
OS);
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...
Base class for the full range of assembler expressions which are needed for parsing.
std::optional< XCOFF::DwarfSectionSubtypeFlags > getDwarfSubtypeFlags() const
SectionKind getKind() const
XCOFF::StorageMappingClass getMappingClass() const
void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, uint32_t Subsection) const override
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
XCOFF::SymbolType getCSectType() 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.