LLVM  4.0.0
Public Member Functions | Friends | List of all members
llvm::object::COFFSymbolRef Class Reference

#include <COFF.h>

Public Member Functions

 COFFSymbolRef (const coff_symbol16 *CS)
 
 COFFSymbolRef (const coff_symbol32 *CS)
 
 COFFSymbolRef ()
 
const void * getRawPtr () const
 
const coff_symbol_genericgetGeneric () const
 
bool isBigObj () const
 
const char * getShortName () const
 
const StringTableOffsetgetStringTableOffset () const
 
uint32_t getValue () const
 
int32_t getSectionNumber () const
 
uint16_t getType () const
 
uint8_t getStorageClass () const
 
uint8_t getNumberOfAuxSymbols () const
 
uint8_t getBaseType () const
 
uint8_t getComplexType () const
 
bool isAbsolute () const
 
bool isExternal () const
 
bool isCommon () const
 
bool isUndefined () const
 
bool isWeakExternal () const
 
bool isFunctionDefinition () const
 
bool isFunctionLineInfo () const
 
bool isAnyUndefined () const
 
bool isFileRecord () const
 
bool isSection () const
 
bool isSectionDefinition () const
 
bool isCLRToken () const
 

Friends

bool operator< (COFFSymbolRef A, COFFSymbolRef B)
 

Detailed Description

Definition at line 265 of file Object/COFF.h.

Constructor & Destructor Documentation

llvm::object::COFFSymbolRef::COFFSymbolRef ( const coff_symbol16 CS)
inline

Definition at line 267 of file Object/COFF.h.

llvm::object::COFFSymbolRef::COFFSymbolRef ( const coff_symbol32 CS)
inline

Definition at line 268 of file Object/COFF.h.

llvm::object::COFFSymbolRef::COFFSymbolRef ( )
inline

Definition at line 269 of file Object/COFF.h.

Member Function Documentation

uint8_t llvm::object::COFFSymbolRef::getBaseType ( ) const
inline

Definition at line 330 of file Object/COFF.h.

References getType().

Referenced by isFunctionDefinition().

uint8_t llvm::object::COFFSymbolRef::getComplexType ( ) const
inline
const coff_symbol_generic* llvm::object::COFFSymbolRef::getGeneric ( ) const
inline

Definition at line 275 of file Object/COFF.h.

uint8_t llvm::object::COFFSymbolRef::getNumberOfAuxSymbols ( ) const
inline
const void* llvm::object::COFFSymbolRef::getRawPtr ( ) const
inline

Definition at line 271 of file Object/COFF.h.

Referenced by llvm::object::COFFObjectFile::getSymbolAuxData().

int32_t llvm::object::COFFSymbolRef::getSectionNumber ( ) const
inline
const char* llvm::object::COFFSymbolRef::getShortName ( ) const
inline
uint8_t llvm::object::COFFSymbolRef::getStorageClass ( ) const
inline
const StringTableOffset& llvm::object::COFFSymbolRef::getStringTableOffset ( ) const
inline
uint16_t llvm::object::COFFSymbolRef::getType ( ) const
inline

Definition at line 315 of file Object/COFF.h.

References assert(), and llvm::object::coff_symbol< SectionNumberType >::Type.

Referenced by getBaseType(), and getComplexType().

uint32_t llvm::object::COFFSymbolRef::getValue ( ) const
inline
bool llvm::object::COFFSymbolRef::isAbsolute ( ) const
inline

Definition at line 336 of file Object/COFF.h.

References getSectionNumber().

bool llvm::object::COFFSymbolRef::isAnyUndefined ( ) const
inline
bool llvm::object::COFFSymbolRef::isBigObj ( ) const
inline

Definition at line 285 of file Object/COFF.h.

References llvm_unreachable.

bool llvm::object::COFFSymbolRef::isCLRToken ( ) const
inline

Definition at line 392 of file Object/COFF.h.

References getStorageClass(), and llvm::COFF::IMAGE_SYM_CLASS_CLR_TOKEN.

bool llvm::object::COFFSymbolRef::isCommon ( ) const
inline
bool llvm::object::COFFSymbolRef::isExternal ( ) const
inline
bool llvm::object::COFFSymbolRef::isFileRecord ( ) const
inline
bool llvm::object::COFFSymbolRef::isFunctionDefinition ( ) const
inline
bool llvm::object::COFFSymbolRef::isFunctionLineInfo ( ) const
inline

Definition at line 364 of file Object/COFF.h.

References getStorageClass(), and llvm::COFF::IMAGE_SYM_CLASS_FUNCTION.

bool llvm::object::COFFSymbolRef::isSection ( ) const
inline

Definition at line 376 of file Object/COFF.h.

References getStorageClass(), and llvm::COFF::IMAGE_SYM_CLASS_SECTION.

bool llvm::object::COFFSymbolRef::isSectionDefinition ( ) const
inline
bool llvm::object::COFFSymbolRef::isUndefined ( ) const
inline

Definition at line 349 of file Object/COFF.h.

References getSectionNumber(), getValue(), llvm::COFF::IMAGE_SYM_UNDEFINED, and isExternal().

Referenced by isAnyUndefined().

bool llvm::object::COFFSymbolRef::isWeakExternal ( ) const
inline

Friends And Related Function Documentation

bool operator< ( COFFSymbolRef  A,
COFFSymbolRef  B 
)
friend

Definition at line 281 of file Object/COFF.h.


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