op_bfd_symbol Class Reference

A symbol description from a bfd point of view. More...

#include <op_bfd.h>

List of all members.

Public Member Functions

 op_bfd_symbol (asymbol const *a)
 ctor for real symbols
 op_bfd_symbol (bfd_vma vma, size_t size, std::string const &name)
 ctor for artificial symbols
bfd_vma vma () const
unsigned long value () const
unsigned long filepos () const
unsigned long symbol_endpos (void) const
asection const * section (void) const
std::string const & name () const
asymbol const * symbol () const
size_t size () const
void size (size_t s)
bool hidden () const
bool weak () const
bool artificial () const
bool operator< (op_bfd_symbol const &lhs) const
 compare two symbols by their filepos()

Detailed Description

A symbol description from a bfd point of view.

This duplicate information pointed by an asymbol, we need this duplication in case the symbol is an artificial symbol


Constructor & Destructor Documentation

op_bfd_symbol::op_bfd_symbol ( asymbol const *  a  ) 

ctor for real symbols

op_bfd_symbol::op_bfd_symbol ( bfd_vma  vma,
size_t  size,
std::string const &  name 
)

ctor for artificial symbols


Member Function Documentation

bool op_bfd_symbol::artificial (  )  const [inline]
unsigned long op_bfd_symbol::filepos (  )  const [inline]
bool op_bfd_symbol::hidden (  )  const [inline]

Referenced by boring_symbol().

std::string const& op_bfd_symbol::name (  )  const [inline]
bool op_bfd_symbol::operator< ( op_bfd_symbol const &  lhs  )  const

compare two symbols by their filepos()

References filepos().

asection const* op_bfd_symbol::section ( void   )  const [inline]
void op_bfd_symbol::size ( size_t  s  )  [inline]
size_t op_bfd_symbol::size (  )  const [inline]
asymbol const* op_bfd_symbol::symbol (  )  const [inline]
unsigned long op_bfd_symbol::symbol_endpos ( void   )  const
unsigned long op_bfd_symbol::value (  )  const [inline]
bfd_vma op_bfd_symbol::vma (  )  const [inline]
bool op_bfd_symbol::weak (  )  const [inline]

Referenced by boring_symbol().


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

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1