LLVM API Documentation

Functions
PPCMachObjectWriter.cpp File Reference
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "MCTargetDesc/PPCFixupKinds.h"
#include "llvm/ADT/Twine.h"
#include "llvm/MC/MCAsmLayout.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCMachObjectWriter.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MachO.h"
Include dependency graph for PPCMachObjectWriter.cpp:

Go to the source code of this file.

Functions

static unsigned getFixupKindLog2Size (unsigned Kind)
static unsigned getRelocType (const MCValue &Target, const MCFixupKind FixupKind, const bool IsPCRel)
static void makeRelocationInfo (MachO::any_relocation_info &MRE, const uint32_t FixupOffset, const uint32_t Index, const unsigned IsPCRel, const unsigned Log2Size, const unsigned IsExtern, const unsigned Type)
static void makeScatteredRelocationInfo (MachO::any_relocation_info &MRE, const uint32_t Addr, const unsigned Type, const unsigned Log2Size, const unsigned IsPCRel, const uint32_t Value2)
static uint32_t getFixupOffset (const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup)
 Compute fixup offset (address).

Function Documentation

static unsigned getFixupKindLog2Size ( unsigned  Kind) [static]
static uint32_t getFixupOffset ( const MCAsmLayout Layout,
const MCFragment Fragment,
const MCFixup Fixup 
) [static]
static unsigned getRelocType ( const MCValue Target,
const MCFixupKind  FixupKind,
const bool  IsPCRel 
) [static]
static void makeRelocationInfo ( MachO::any_relocation_info MRE,
const uint32_t  FixupOffset,
const uint32_t  Index,
const unsigned  IsPCRel,
const unsigned  Log2Size,
const unsigned  IsExtern,
const unsigned  Type 
) [static]
static void makeScatteredRelocationInfo ( MachO::any_relocation_info MRE,
const uint32_t  Addr,
const unsigned  Type,
const unsigned  Log2Size,
const unsigned  IsPCRel,
const uint32_t  Value2 
) [static]