LLVM  14.0.0git
Typedefs | Functions
MachOUniversalWriter.cpp File Reference
#include "llvm/Object/MachOUniversalWriter.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/Error.h"
#include "llvm/Object/IRObjectFile.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/MachOUniversal.h"
#include "llvm/Support/SmallVectorMemoryBuffer.h"
Include dependency graph for MachOUniversalWriter.cpp:

Go to the source code of this file.

Typedefs

using MachoCPUTy = std::pair< unsigned, unsigned >
 

Functions

static uint32_t calculateFileAlignment (const MachOObjectFile &O)
 
static uint32_t calculateAlignment (const MachOObjectFile &ObjectFile)
 
static Expected< MachoCPUTygetMachoCPUFromTriple (Triple TT)
 
static Expected< MachoCPUTygetMachoCPUFromTriple (StringRef TT)
 
static Expected< SmallVector< MachO::fat_arch, 2 > > buildFatArchList (ArrayRef< Slice > Slices)
 

Typedef Documentation

◆ MachoCPUTy

using MachoCPUTy = std::pair<unsigned, unsigned>

Definition at line 96 of file MachOUniversalWriter.cpp.

Function Documentation

◆ buildFatArchList()

static Expected<SmallVector<MachO::fat_arch, 2> > buildFatArchList ( ArrayRef< Slice >  Slices)
static

◆ calculateAlignment()

static uint32_t calculateAlignment ( const MachOObjectFile &  ObjectFile)
static

◆ calculateFileAlignment()

static uint32_t calculateFileAlignment ( const MachOObjectFile &  O)
static

◆ getMachoCPUFromTriple() [1/2]

static Expected<MachoCPUTy> getMachoCPUFromTriple ( StringRef  TT)
static

Definition at line 109 of file MachOUniversalWriter.cpp.

References getMachoCPUFromTriple().

◆ getMachoCPUFromTriple() [2/2]

static Expected<MachoCPUTy> getMachoCPUFromTriple ( Triple  TT)
static