LLVM API Documentation

Functions
MachOUniversal.cpp File Reference
#include "llvm/Object/MachOUniversal.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Object/Archive.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/MemoryBuffer.h"
Include dependency graph for MachOUniversal.cpp:

Go to the source code of this file.

Functions

template<typename T >
static void SwapStruct (T &Value)
template<>
void SwapStruct (MachO::fat_header &H)
template<>
void SwapStruct (MachO::fat_arch &H)
template<typename T >
static T getUniversalBinaryStruct (const char *Ptr)
static bool getCTMForArch (Triple::ArchType Arch, MachO::CPUType &CTM)

Function Documentation

static bool getCTMForArch ( Triple::ArchType  Arch,
MachO::CPUType CTM 
) [static]
template<typename T >
static T getUniversalBinaryStruct ( const char *  Ptr) [static]
template<typename T >
static void SwapStruct ( T Value) [static]
template<>
void SwapStruct ( MachO::fat_header H)
template<>
void SwapStruct ( MachO::fat_arch H)