LLVM: llvm::MCSectionMachO Class Reference (original) (raw)
This represents a section on a Mach-O system (used by Mac OS X). More...
#include "[llvm/MC/MCSectionMachO.h](MCSectionMachO%5F8h%5Fsource.html)"
| Friends | |
|---|---|
| class | MCContext |
| class | MCAsmInfoDarwin |
| Additional Inherited Members | |
|---|---|
| Public Attributes inherited from llvm::MCSection | |
| friend | MCAssembler |
| friend | MCObjectStreamer |
| Static Public Attributes inherited from llvm::MCSection | |
| static constexpr unsigned | NonUniqueID = ~0U |
| Protected Member Functions inherited from llvm::MCSection | |
| MCSection (StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin) | |
| Protected Attributes inherited from llvm::MCSection | |
| StringRef | Name |
This represents a section on a Mach-O system (used by Mac OS X).
On a Mac system, these are also described in /usr/include/mach-o/loader.h.
Definition at line 25 of file MCSectionMachO.h.
◆ allocAtoms()
| void MCSectionMachO::allocAtoms | ( | ) |
|---|
◆ getAtom()
◆ getLayoutOrder()
| unsigned llvm::MCSectionMachO::getLayoutOrder ( ) const | inline |
|---|
◆ getSegmentName()
| StringRef llvm::MCSectionMachO::getSegmentName ( ) const | inline |
|---|
◆ getStubSize()
| unsigned llvm::MCSectionMachO::getStubSize ( ) const | inline |
|---|
◆ getType()
◆ getTypeAndAttributes()
| unsigned llvm::MCSectionMachO::getTypeAndAttributes ( ) const | inline |
|---|
◆ hasAttribute()
| bool llvm::MCSectionMachO::hasAttribute ( unsigned Value) const | inline |
|---|
◆ ParseSectionSpecifier()
Parse the section specifier indicated by "Spec".
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 an Error indicating the problem. If no TAA was parsed, TAA is not altered, and TAAWasSet becomes false.
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 179 of file MCSectionMachO.cpp.
References llvm::createStringError(), llvm::StringRef::empty(), llvm::find_if(), llvm::StringRef::getAsInteger(), llvm::inconvertibleErrorCode(), llvm::MachO::S_SYMBOL_STUBS, llvm::MachO::SECTION_TYPE, SectionAttrDescriptors, SectionTypeDescriptors, llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::Error::success().
Referenced by llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), and llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal().
◆ setAtom()
◆ setLayoutOrder()
| void llvm::MCSectionMachO::setLayoutOrder ( unsigned Value) | inline |
|---|
◆ MCAsmInfoDarwin
◆ MCContext
The documentation for this class was generated from the following files:
- include/llvm/MC/MCSectionMachO.h
- lib/MC/MCSectionMachO.cpp