LLVM: lib/MC/MCSectionMachO.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
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.

ENTRY

AssemblerName

AttrFlag

EnumName

constexpr struct { ... } SectionAttrDescriptors[]

Initial value:

= {

#define ENTRY(ASMNAME, ENUM)

}

A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...

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::MCSectionMachO::printSwitchToSection().

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