LLVM  10.0.0svn
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.

Functions

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

Function Documentation

◆ getUniversalBinaryStruct()

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

Definition at line 32 of file MachOUniversal.cpp.

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

◆ malformedError()

static Error malformedError ( Twine  Msg)
static

Definition at line 25 of file MachOUniversal.cpp.

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