LLVM API Documentation

llvm::OutputBuffer Class Reference

#include <OutputBuffer.h>

Collaboration diagram for llvm::OutputBuffer:
[legend]

List of all members.

Public Member Functions

 OutputBuffer (std::vector< unsigned char > &Out, bool is64bit, bool le)
void align (unsigned Boundary)
void outbyte (unsigned char X)
void outhalf (unsigned short X)
void outword (unsigned X)
void outxword (uint64_t X)
void outaddr32 (unsigned X)
void outaddr64 (uint64_t X)
void outaddr (uint64_t X)
void outstring (const std::string &S, unsigned Length)
void fixhalf (unsigned short X, unsigned Offset)
void fixword (unsigned X, unsigned Offset)
void fixaddr (uint64_t X, unsigned Offset)
unsigned char & operator[] (unsigned Index)
const unsigned char & operator[] (unsigned Index) const


Detailed Description

Definition at line 22 of file OutputBuffer.h.


Constructor & Destructor Documentation

llvm::OutputBuffer::OutputBuffer ( std::vector< unsigned char > &  Out,
bool  is64bit,
bool  le 
) [inline]

Definition at line 30 of file OutputBuffer.h.


Member Function Documentation

void llvm::OutputBuffer::align ( unsigned  Boundary  )  [inline]

Definition at line 36 of file OutputBuffer.h.

void llvm::OutputBuffer::outbyte ( unsigned char  X  )  [inline]

void llvm::OutputBuffer::outhalf ( unsigned short  X  )  [inline]

Definition at line 54 of file OutputBuffer.h.

Referenced by llvm::ELFWriter::doInitialization().

void llvm::OutputBuffer::outword ( unsigned  X  )  [inline]

void llvm::OutputBuffer::outxword ( uint64_t  X  )  [inline]

Definition at line 76 of file OutputBuffer.h.

Referenced by outaddr(), and outaddr64().

void llvm::OutputBuffer::outaddr32 ( unsigned  X  )  [inline]

Definition at line 97 of file OutputBuffer.h.

References outword().

void llvm::OutputBuffer::outaddr64 ( uint64_t  X  )  [inline]

Definition at line 100 of file OutputBuffer.h.

References outxword().

void llvm::OutputBuffer::outaddr ( uint64_t  X  )  [inline]

void llvm::OutputBuffer::outstring ( const std::string &  S,
unsigned  Length 
) [inline]

Definition at line 109 of file OutputBuffer.h.

References outbyte().

void llvm::OutputBuffer::fixhalf ( unsigned short  X,
unsigned  Offset 
) [inline]

Definition at line 125 of file OutputBuffer.h.

Referenced by llvm::PPCMachOWriterInfo::GetTargetRelocation().

void llvm::OutputBuffer::fixword ( unsigned  X,
unsigned  Offset 
) [inline]

Definition at line 130 of file OutputBuffer.h.

Referenced by fixaddr(), and llvm::PPCMachOWriterInfo::GetTargetRelocation().

void llvm::OutputBuffer::fixaddr ( uint64_t  X,
unsigned  Offset 
) [inline]

Definition at line 137 of file OutputBuffer.h.

References fixword().

unsigned char& llvm::OutputBuffer::operator[] ( unsigned  Index  )  [inline]

Definition at line 144 of file OutputBuffer.h.

const unsigned char& llvm::OutputBuffer::operator[] ( unsigned  Index  )  const [inline]

Definition at line 147 of file OutputBuffer.h.


The documentation for this class was generated from the following file: