LLVM 20.0.0git
Functions
MachOUniversal.cpp File Reference
#include "llvm/Object/MachOUniversal.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/IRObjectFile.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SwapByteOrder.h"

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 Ptr.

◆ malformedError()

static Error malformedError ( Twine  Msg)
static

Definition at line 25 of file MachOUniversal.cpp.

References llvm::Twine::str().