LLVM API Documentation

llvm::MCAssembler Class Reference

#include <MCAssembler.h>

Collaboration diagram for llvm::MCAssembler:
[legend]

List of all members.

Public Types

typedef iplist< MCSectionData > SectionDataListType
typedef
SectionDataListType::const_iterator 
const_iterator
typedef
SectionDataListType::iterator 
iterator

Public Member Functions

 MCAssembler (raw_ostream &OS)
 ~MCAssembler ()
void Finish ()
 Finish - Do final processing and write the object to the output stream.
Section List Access
const SectionDataListType & getSectionList () const
SectionDataListType & getSectionList ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
size_t size () const


Detailed Description

Definition at line 314 of file MCAssembler.h.


Member Typedef Documentation

Definition at line 316 of file MCAssembler.h.

typedef SectionDataListType::const_iterator llvm::MCAssembler::const_iterator

Definition at line 318 of file MCAssembler.h.

typedef SectionDataListType::iterator llvm::MCAssembler::iterator

Definition at line 319 of file MCAssembler.h.


Constructor & Destructor Documentation

MCAssembler::MCAssembler ( raw_ostream &  OS  ) 

Construct a new assembler instance.

  • OS - The stream to output to.

Definition at line 231 of file MCAssembler.cpp.

MCAssembler::~MCAssembler (  ) 

Definition at line 233 of file MCAssembler.cpp.


Member Function Documentation

void MCAssembler::Finish (  ) 

Finish - Do final processing and write the object to the output stream.

Definition at line 377 of file MCAssembler.cpp.

References begin(), end(), llvm::raw_ostream::flush(), Offset, and WriteFileData().

const SectionDataListType& llvm::MCAssembler::getSectionList (  )  const [inline]

Definition at line 353 of file MCAssembler.h.

Referenced by llvm::MCSectionData::MCSectionData().

SectionDataListType& llvm::MCAssembler::getSectionList (  )  [inline]

Definition at line 354 of file MCAssembler.h.

iterator llvm::MCAssembler::begin (  )  [inline]

Definition at line 356 of file MCAssembler.h.

Referenced by Finish().

const_iterator llvm::MCAssembler::begin (  )  const [inline]

Definition at line 357 of file MCAssembler.h.

iterator llvm::MCAssembler::end (  )  [inline]

Definition at line 359 of file MCAssembler.h.

Referenced by Finish().

const_iterator llvm::MCAssembler::end (  )  const [inline]

Definition at line 360 of file MCAssembler.h.

size_t llvm::MCAssembler::size (  )  const [inline]

Definition at line 362 of file MCAssembler.h.


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