LLVM API Documentation
#include "llvm/MC/MCSectionMachO.h"#include "llvm/MC/MCContext.h"#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Defines | |
| #define | ENTRY(ASMNAME, ENUM) { MCSectionMachO::ENUM, ASMNAME, #ENUM }, |
Functions | |
| static void | StripSpaces (StringRef &Str) |
| StripSpaces - This removes leading and trailing spaces from the StringRef. | |
Variables | |
| struct { | |
| const char * AssemblerName | |
| const char * EnumName | |
| } | SectionTypeDescriptors [MCSectionMachO::LAST_KNOWN_SECTION_TYPE+1] |
| struct { | |
| unsigned AttrFlag | |
| const char * AssemblerName | |
| const char * EnumName | |
| } | SectionAttrDescriptors [] |
| #define ENTRY | ( | ASMNAME, | |||
| ENUM | ) | { MCSectionMachO::ENUM, ASMNAME, #ENUM }, |
| static void StripSpaces | ( | StringRef & | Str | ) | [static] |
StripSpaces - This removes leading and trailing spaces from the StringRef.
Definition at line 135 of file MCSectionMachO.cpp.
References llvm::StringRef::back(), llvm::StringRef::empty(), llvm::StringRef::size(), and llvm::StringRef::substr().
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier().
| const char* AssemblerName |
Definition at line 19 of file MCSectionMachO.cpp.
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCSectionMachO::PrintSwitchToSection().
Definition at line 46 of file MCSectionMachO.cpp.
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCSectionMachO::PrintSwitchToSection().
| const char * EnumName |
Definition at line 19 of file MCSectionMachO.cpp.
struct { ... } SectionAttrDescriptors[] [static] |
SectionAttrDescriptors - This is an array of descriptors for section attributes. Unlike the SectionTypeDescriptors, this is not directly indexed by attribute, instead it is searched. The last entry has a zero AttrFlag value.
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCSectionMachO::PrintSwitchToSection().
struct { ... } LAST_KNOWN_SECTION_TYPE+1] [static] |
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::MCSectionMachO::PrintSwitchToSection().