LLVM  8.0.0svn
Macros | Functions
MachOUniversal.cpp File Reference
#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"
Include dependency graph for MachOUniversal.cpp:

Go to the source code of this file.

Macros

#define MAXSECTALIGN   15 /* 2**15 or 0x8000 */
 

Functions

static Error malformedError (Twine Msg)
 
template<typename T >
static T getUniversalBinaryStruct (const char *Ptr)
 

Macro Definition Documentation

◆ MAXSECTALIGN

#define MAXSECTALIGN   15 /* 2**15 or 0x8000 */

Function Documentation

◆ getUniversalBinaryStruct()

template<typename T >
static T getUniversalBinaryStruct ( const char Ptr)
static

Definition at line 33 of file MachOUniversal.cpp.

References llvm::sys::IsLittleEndianHost, and llvm::MachO::swapStruct().

◆ malformedError()

static Error malformedError ( Twine  Msg)
static

Definition at line 26 of file MachOUniversal.cpp.

References llvm::object::parse_failed, and llvm::Twine::str().