LLVM  4.0.0
Namespaces | Macros | Functions
MachOYAML.cpp File Reference
#include "llvm/ObjectYAML/MachOYAML.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/MachO.h"
#include <string.h>
#include "llvm/Support/MachO.def"
Include dependency graph for MachOYAML.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 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)
 

Macro Definition Documentation

#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;