LLVM API Documentation
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/raw_ostream.h"
#include <cctype>
Go to the source code of this file.
Macros | |
#define | ENTRY(ASMNAME, ENUM) { MCSectionMachO::ENUM, ASMNAME, #ENUM }, |
#define | AttrFlagEnd 0xffffffff |
Functions | |
static void | StripSpaces (StringRef &Str) |
StripSpaces - This removes leading and trailing spaces from the StringRef. More... | |
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 AttrFlagEnd 0xffffffff |
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier().
#define ENTRY | ( | ASMNAME, | |
ENUM | |||
) | { MCSectionMachO::ENUM, ASMNAME, #ENUM }, |
|
static |
StripSpaces - This removes leading and trailing spaces from the StringRef.
Definition at line 168 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 20 of file MCSectionMachO.cpp.
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCSectionMachO::PrintSwitchToSection().
unsigned AttrFlag |
Definition at line 54 of file MCSectionMachO.cpp.
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCSectionMachO::PrintSwitchToSection().
const char * EnumName |
Definition at line 20 of file MCSectionMachO.cpp.
const { ... } SectionAttrDescriptors[] |
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 an AttrFlagEnd AttrFlag value.
Referenced by llvm::MCSectionMachO::ParseSectionSpecifier(), and llvm::MCSectionMachO::PrintSwitchToSection().
const { ... } 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::MCSectionMachO::PrintSwitchToSection().