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

#include "llvm/Object/COFF.h"

Public Member Functions

 COFFSymbolRef ()=default
 
 COFFSymbolRef (const coff_symbol16 *CS)
 
 COFFSymbolRef (const coff_symbol32 *CS)
 
const void * getRawPtr () const
 
const coff_symbol_generic * getGeneric () const
 
bool isBigObj () const
 
const char * getShortName () const
 
const StringTableOffset & getStringTableOffset () 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 279 of file COFF.h.

Constructor & Destructor Documentation

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

Definition at line 282 of file COFF.h.

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

Definition at line 283 of file COFF.h.

Member Function Documentation

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

Definition at line 344 of file 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 289 of file COFF.h.

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

Definition at line 285 of file 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 329 of file 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 350 of file COFF.h.

References getSectionNumber().

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

Definition at line 299 of file COFF.h.

References llvm_unreachable().

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

Definition at line 406 of file 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 378 of file COFF.h.

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

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

Definition at line 390 of file 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 363 of file 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 295 of file COFF.h.


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