LLVM 22.0.0git
MCSectionMachO.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define ENTRY(ASMNAME, ENUM)

Variables

struct { 
   StringLiteral   AssemblerName 
   StringLiteral   EnumName 
SectionTypeDescriptors [MachO::LAST_KNOWN_SECTION_TYPE+1]
 SectionTypeDescriptors - These are strings that describe the various section types.
struct { 
   unsigned   AttrFlag 
   StringLiteral   AssemblerName 
   StringLiteral   EnumName 
SectionAttrDescriptors []
 SectionAttrDescriptors - This is an array of descriptors for section attributes.

Macro Definition Documentation

◆ ENTRY

#define ENTRY ( ASMNAME,
ENUM )
Value:
{ MachO::ENUM, StringLiteral(ASMNAME), StringLiteral(#ENUM) },
#define ENUM(Name,...)
Definition ClauseT.h:61
A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...
Definition StringRef.h:854

Referenced by GetCodeName().

Variable Documentation

◆ AssemblerName

StringLiteral AssemblerName

Definition at line 27 of file MCSectionMachO.cpp.

Referenced by llvm::MCAsmInfoDarwin::printSwitchToSection().

◆ AttrFlag

unsigned AttrFlag

Definition at line 74 of file MCSectionMachO.cpp.

Referenced by llvm::MCAsmInfoDarwin::printSwitchToSection().

◆ EnumName

StringLiteral EnumName

Definition at line 27 of file MCSectionMachO.cpp.

◆ [struct]

struct { ... } SectionAttrDescriptors[]
Initial value:
= {
#define ENTRY(ASMNAME, ENUM) \
{ 0, StringLiteral("none"), StringLiteral("") },
}

SectionAttrDescriptors - This is an array of descriptors for section attributes.

Unlike the SectionTypeDescriptors, this is not directly indexed by attribute, instead it is searched.

Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCAsmInfoDarwin::printSwitchToSection().

◆ [struct]

struct { ... } SectionTypeDescriptors[MachO::LAST_KNOWN_SECTION_TYPE + 1]

SectionTypeDescriptors - These are strings that describe the various section types.

This must be kept in order with and stay synchronized with the section type list.

Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCAsmInfoDarwin::printSwitchToSection().