LLVM: include/llvm/ObjectYAML/MachOYAML.h File Reference (original) (raw)
Classes |Namespaces |Macros |Typedefs
MachOYAML.h File Reference
This file declares classes for handling the YAML representation of Mach-O. More...
#include "[llvm/ADT/StringRef.h](StringRef%5F8h%5Fsource.html)"#include "[llvm/BinaryFormat/MachO.h](BinaryFormat%5F2MachO%5F8h%5Fsource.html)"#include "[llvm/ObjectYAML/DWARFYAML.h](DWARFYAML%5F8h%5Fsource.html)"#include "[llvm/ObjectYAML/YAML.h](YAML%5F8h%5Fsource.html)"#include "[llvm/Support/YAMLTraits.h](YAMLTraits%5F8h%5Fsource.html)"#include <cstdint>#include <optional>#include <string>#include <vector>#include "llvm/BinaryFormat/MachO.def"
Go to the source code of this file.
| Namespaces | |
|---|---|
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
| namespace | llvm::MachOYAML |
| namespace | llvm::yaml |
| Macros | |
|---|---|
| #define | HANDLE_LOAD_COMMAND(LCName, LCValue, LCStruct) |
| #define | ENUM_CASE(Enum) |
| #define | LOAD_COMMAND_STRUCT(LCStruct) |
| Typedefs | |
|---|---|
| using | llvm::yaml::char_16 = char[16] |
| using | llvm::yaml::uuid_t = raw_ostream::uuid_t |
Detailed Description
This file declares classes for handling the YAML representation of Mach-O.
Definition in file MachOYAML.h.
Macro Definition Documentation
◆ ENUM_CASE
| #define ENUM_CASE | ( | Enum | ) |
|---|
Value:
io.enumCase(value, #Enum, MachO::Enum);
Definition at line 261 of file MachOYAML.h.
Referenced by llvm::yaml::ScalarEnumerationTraits< MachO::BindOpcode >::enumeration(), and llvm::yaml::ScalarEnumerationTraits< MachO::RebaseOpcode >::enumeration().
◆ HANDLE_LOAD_COMMAND
| #define HANDLE_LOAD_COMMAND | ( | LCName, |
|---|---|---|
| LCValue, | ||
| LCStruct ) |
Value:
io.enumCase(value, #LCName, MachO::LCName);
Definition at line 251 of file MachOYAML.h.
◆ LOAD_COMMAND_STRUCT
| #define LOAD_COMMAND_STRUCT | ( | LCStruct | ) |
|---|
Value:
template <> struct MappingTraitsMachO::LCStruct { \
static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \
};
Definition at line 318 of file MachOYAML.h.