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"
#include "llvm/Support/type_traits.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 33 of file MachOUniversal.cpp.

References llvm::sys::IsLittleEndianHost, and Ptr.

◆ malformedError()

static Error malformedError ( Twine  Msg)
static

Definition at line 26 of file MachOUniversal.cpp.

References llvm::Twine::str().