16 #ifndef LLVM_OBJECTYAML_MACHOYAML_H
17 #define LLVM_OBJECTYAML_MACHOYAML_H
61 std::vector<MachO::build_tool_version>
Tools;
212 #define HANDLE_LOAD_COMMAND(LCName, LCValue, LCStruct) \
213 io.enumCase(value, #LCName, MachO::LCName);
217 #include "llvm/BinaryFormat/MachO.def"
222 #define ENUM_CASE(Enum) io.enumCase(value, #Enum, MachO::Enum);
279 #define LOAD_COMMAND_STRUCT(LCStruct) \
280 template <> struct MappingTraits<MachO::LCStruct> { \
281 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \
284 #include "llvm/BinaryFormat/MachO.def"
307 #endif // LLVM_OBJECTYAML_MACHOYAML_H
std::vector< Object > Slices
static void enumeration(IO &io, MachO::RebaseOpcode &value)
std::vector< MachOYAML::ExportEntry > Children
std::vector< llvm::yaml::Hex8 > PayloadBytes
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< MachO::build_tool_version > Tools
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