LLVM API Documentation
#include <MCSectionMachO.h>
Definition at line 24 of file MCSectionMachO.h.
| anonymous enum |
These are the section type and attributes fields. A MachO section can have only one Type, but can have any of the attributes specified.
Definition at line 63 of file MCSectionMachO.h.
| MCSectionMachO * MCSectionMachO::Create | ( | const StringRef & | Segment, | |
| const StringRef & | Section, | |||
| unsigned | TypeAndAttributes, | |||
| unsigned | Reserved2, | |||
| SectionKind | K, | |||
| MCContext & | Ctx | |||
| ) | [static] |
Definition at line 67 of file MCSectionMachO.cpp.
Referenced by llvm::TargetLoweringObjectFileMachO::getMachOSection().
| StringRef llvm::MCSectionMachO::getSegmentName | ( | ) | const [inline] |
| StringRef llvm::MCSectionMachO::getSectionName | ( | ) | const [inline] |
| unsigned llvm::MCSectionMachO::getTypeAndAttributes | ( | ) | const [inline] |
Definition at line 155 of file MCSectionMachO.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal(), and PrintSwitchToSection().
| unsigned llvm::MCSectionMachO::getStubSize | ( | ) | const [inline] |
Definition at line 156 of file MCSectionMachO.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal().
| std::string MCSectionMachO::ParseSectionSpecifier | ( | StringRef | Spec, | |
| StringRef & | Segment, | |||
| StringRef & | Section, | |||
| unsigned & | TAA, | |||
| unsigned & | StubSize | |||
| ) | [static] |
ParseSectionSpecifier - Parse the section specifier indicated by "Spec". This is a string that can appear after a .section directive in a mach-o flavored .s file. If successful, this fills in the specified Out parameters and returns an empty string. When an invalid section specifier is present, this returns a string indicating the problem.
ParseSectionSpecifier - Parse the section specifier indicated by "Spec". This is a string that can appear after a .section directive in a mach-o flavored .s file. If successful, this fills in the specified Out parameters and returns an empty string. When an invalid section specifier is present, this returns a string indicating the problem.
Definition at line 147 of file MCSectionMachO.cpp.
References AssemblerName, AttrFlag, llvm::StringRef::data(), llvm::StringRef::empty(), LAST_KNOWN_SECTION_TYPE, llvm::Intrinsic::memcpy, S_SYMBOL_STUBS, SECTION_TYPE, SectionAttrDescriptors, SectionTypeDescriptors, llvm::StringRef::size(), llvm::StringRef::split(), and StripSpaces().
Referenced by llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal().
| void MCSectionMachO::PrintSwitchToSection | ( | const TargetAsmInfo & | TAI, | |
| raw_ostream & | OS | |||
| ) | const [virtual] |
Implements llvm::MCSection.
Definition at line 75 of file MCSectionMachO.cpp.
References AssemblerName, AttrFlag, getSectionName(), getSegmentName(), getTypeAndAttributes(), LAST_KNOWN_SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_TYPE, SectionAttrDescriptors, and SectionTypeDescriptors.