15 #ifndef LLVM_OBJECTYAML_MACHOYAML_H 16 #define LLVM_OBJECTYAML_MACHOYAML_H 62 std::vector<MachO::build_tool_version>
Tools;
91 uint64_t TerminalSize = 0;
92 uint64_t NodeOffset = 0;
94 llvm::yaml::Hex64 Flags = 0;
110 bool isEmpty()
const;
214 #define HANDLE_LOAD_COMMAND(LCName, LCValue, LCStruct) \ 215 io.enumCase(value, #LCName, MachO::LCName); 219 #include "llvm/BinaryFormat/MachO.def" 220 io.enumFallback<Hex32>(value);
224 #define ENUM_CASE(Enum) io.enumCase(value, #Enum, MachO::Enum); 237 io.enumFallback<Hex8>(value);
241 template <>
struct ScalarEnumerationTraits<MachO::
BindOpcode> {
256 io.enumFallback<Hex8>(value);
266 static QuotingType mustQuote(
StringRef S);
273 template <>
struct ScalarTraits<
uuid_t> {
276 static QuotingType mustQuote(
StringRef S);
281 #define LOAD_COMMAND_STRUCT(LCStruct) \ 282 template <> struct MappingTraits<MachO::LCStruct> { \ 283 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \ 286 #include "llvm/BinaryFormat/MachO.def" 309 #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)
Optional< std::vector< StOtherPiece > > Other
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
Optional< llvm::yaml::BinaryRef > content
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
void validate(const Triple &TT, const FeatureBitset &FeatureBits)
static void enumeration(IO &io, MachO::BindOpcode &value)
llvm::yaml::Hex32 reserved1
raw_ostream::uuid_t uuid_t