LLVM 20.0.0git
Namespaces | Macros | Functions
MachOYAML.cpp File Reference
#include "llvm/ObjectYAML/MachOYAML.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/SystemZ/zOSSupport.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Host.h"
#include <cstdint>
#include <cstring>
#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::yaml
 

Macros

#define HANDLE_LOAD_COMMAND(LCName, LCValue, LCStruct)
 

Functions

template<typename StructType >
void llvm::yaml::mapLoadCommandData (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::segment_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::segment_command_64 > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::dylib_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::rpath_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::dylinker_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::sub_framework_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::sub_umbrella_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::sub_client_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::sub_library_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 
template<>
void llvm::yaml::mapLoadCommandData< MachO::build_version_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
 

Macro Definition Documentation

◆ HANDLE_LOAD_COMMAND

#define HANDLE_LOAD_COMMAND (   LCName,
  LCValue,
  LCStruct 
)
Value:
case MachO::LCName: \
MappingTraits<MachO::LCStruct>::mapping(IO, \
LoadCommand.Data.LCStruct##_data); \
mapLoadCommandData<MachO::LCStruct>(IO, LoadCommand); \
break;