16 #ifndef LLVM_OBJECTYAML_MACHOYAML_H
17 #define LLVM_OBJECTYAML_MACHOYAML_H
201 #define HANDLE_LOAD_COMMAND(LCName, LCValue, LCStruct) \
202 io.enumCase(value, #LCName, MachO::LCName);
206 #include "llvm/Support/MachO.def"
211 #define ENUM_CASE(Enum) io.enumCase(value, #Enum, MachO::Enum);
270 #define LOAD_COMMAND_STRUCT(LCStruct) \
271 template <> struct MappingTraits<MachO::LCStruct> { \
272 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \
275 #include "llvm/Support/MachO.def"
std::vector< Object > Slices
static void enumeration(IO &io, MachO::RebaseOpcode &value)
std::vector< MachOYAML::ExportEntry > Children
std::vector< llvm::yaml::Hex8 > PayloadBytes
ExportEntry encapsulates the current-state-of-the-walk used when doing a non-recursive walk of the tr...
static void enumeration(IO &io, MachO::LoadCommandType &value)
std::vector< int64_t > SLEBExtraData
std::vector< Section > Sections
#define LLVM_YAML_IS_SEQUENCE_VECTOR(_type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence...
std::vector< MachOYAML::RebaseOpcode > RebaseOpcodes
void enumFallback(T &Val)
llvm::yaml::Hex32 cputype
llvm::yaml::Hex32 cpusubtype
std::string PayloadString
This class should be specialized by any type that needs to be converted to/from a YAML mapping...
std::vector< yaml::Hex64 > ExtraData
std::vector< LoadCommand > LoadCommands
llvm::yaml::Hex64 Address
std::vector< MachOYAML::BindOpcode > WeakBindOpcodes
MachOYAML::ExportEntry ExportTrie
std::vector< yaml::Hex64 > ULEBExtraData
MachO::RebaseOpcode Opcode
std::vector< MachOYAML::BindOpcode > BindOpcodes
This class should be specialized by any integral type that converts to/from a YAML scalar where there...
std::vector< FatArch > FatArchs
This class should be specialized by type that requires custom conversion to/from a yaml scalar...
llvm::yaml::Hex32 reserved3
This file declares classes for handling the YAML representation of DWARF Debug Info.
std::vector< NListEntry > NameList
std::vector< Section > Sections
llvm::yaml::Hex32 reserved2
This class implements an extremely fast bulk output stream that can only output to a stream...
std::vector< StringRef > StringTable
StringRef - Represent a constant reference to a string, i.e.
llvm::MachO::macho_load_command Data
llvm::yaml::Hex32 reserved
std::vector< MachOYAML::BindOpcode > LazyBindOpcodes
static void enumeration(IO &io, MachO::BindOpcode &value)
llvm::yaml::Hex32 reserved1