|
LLVM
3.7.0
|
#include "llvm/Object/MachOUniversal.h"#include "llvm/Object/Archive.h"#include "llvm/Object/MachO.h"#include "llvm/Object/ObjectFile.h"#include "llvm/Support/Casting.h"#include "llvm/Support/Host.h"#include "llvm/Support/MemoryBuffer.h"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) |
Definition at line 44 of file MachOUniversal.cpp.
References llvm::sys::IsLittleEndianHost, and SwapStruct().
|
static |
Referenced by getUniversalBinaryStruct().
| void SwapStruct | ( | MachO::fat_header & | H | ) |
Definition at line 29 of file MachOUniversal.cpp.
References llvm::MachO::fat_header::magic, llvm::MachO::fat_header::nfat_arch, and llvm::sys::swapByteOrder().
| void SwapStruct | ( | MachO::fat_arch & | H | ) |
Definition at line 35 of file MachOUniversal.cpp.
References llvm::MachO::fat_arch::align, llvm::MachO::fat_arch::cpusubtype, llvm::MachO::fat_arch::cputype, llvm::MachO::fat_arch::offset, llvm::MachO::fat_arch::size, and llvm::sys::swapByteOrder().
1.8.6