16 #ifndef LLVM_OBJECTYAML_MACHOYAML_H 17 #define LLVM_OBJECTYAML_MACHOYAML_H 61 std::vector<MachO::build_tool_version>
Tools;
90 uint64_t TerminalSize = 0;
91 uint64_t NodeOffset = 0;
93 llvm::yaml::Hex64 Flags = 0;
109 bool isEmpty()
const;
212 #define HANDLE_LOAD_COMMAND(LCName, LCValue, LCStruct) \ 213 io.enumCase(value, #LCName, MachO::LCName); 217 #include "llvm/BinaryFormat/MachO.def" 218 io.enumFallback<Hex32>(value);
222 #define ENUM_CASE(Enum) io.enumCase(value, #Enum, MachO::Enum); 235 io.enumFallback<Hex8>(value);
239 template <>
struct ScalarEnumerationTraits<MachO::
BindOpcode> {
254 io.enumFallback<Hex8>(value);
264 static QuotingType mustQuote(
StringRef S);
271 template <>
struct ScalarTraits<
uuid_t> {
274 static QuotingType mustQuote(
StringRef S);
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
uint8_t[16] uuid_t
Output a formatted UUID with dash separators.
This class represents lattice values for constants.
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
std::vector< MachO::build_tool_version > Tools
std::vector< MachOYAML::RebaseOpcode > RebaseOpcodes
llvm::yaml::Hex32 cputype
llvm::yaml::Hex32 cpusubtype
std::string PayloadString
std::vector< yaml::Hex64 > ExtraData
std::vector< LoadCommand > LoadCommands
std::vector< MachOYAML::BindOpcode > WeakBindOpcodes
MachOYAML::ExportEntry ExportTrie
std::vector< yaml::Hex64 > ULEBExtraData
MachO::RebaseOpcode Opcode
std::vector< MachOYAML::BindOpcode > BindOpcodes
std::vector< FatArch > FatArchs
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
raw_ostream::uuid_t uuid_t