LLVM  6.0.0svn
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_genericgetGeneric () const
 
bool isBigObj () const
 
const chargetShortName () 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 278 of file COFF.h.

Constructor & Destructor Documentation

◆ COFFSymbolRef() [1/3]

llvm::object::COFFSymbolRef::COFFSymbolRef ( )
default

◆ COFFSymbolRef() [2/3]

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

Definition at line 281 of file COFF.h.

◆ COFFSymbolRef() [3/3]

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

Definition at line 282 of file COFF.h.

Member Function Documentation

◆ getBaseType()

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

Definition at line 343 of file COFF.h.

References getType().

◆ getComplexType()

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

Definition at line 345 of file COFF.h.

References getType(), and llvm::COFF::SCT_COMPLEX_TYPE_SHIFT.

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

◆ getGeneric()

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

Definition at line 288 of file COFF.h.

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

◆ getNumberOfAuxSymbols()

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

Definition at line 338 of file COFF.h.

References assert().

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

◆ getRawPtr()

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

Definition at line 284 of file COFF.h.

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

◆ getSectionNumber()

int32_t llvm::object::COFFSymbolRef::getSectionNumber ( ) const
inline

◆ getShortName()

const char* llvm::object::COFFSymbolRef::getShortName ( ) const
inline

Definition at line 306 of file COFF.h.

◆ getStorageClass()

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

Definition at line 333 of file COFF.h.

References assert().

◆ getStringTableOffset()

const StringTableOffset& llvm::object::COFFSymbolRef::getStringTableOffset ( ) const
inline

Definition at line 310 of file COFF.h.

References assert().

◆ getType()

uint16_t llvm::object::COFFSymbolRef::getType ( ) const
inline

Definition at line 328 of file COFF.h.

References assert().

◆ getValue()

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

◆ isAbsolute()

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

Definition at line 349 of file COFF.h.

◆ isAnyUndefined()

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

◆ isBigObj()

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

Definition at line 298 of file COFF.h.

References llvm_unreachable.

◆ isCLRToken()

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

Definition at line 405 of file COFF.h.

References llvm::COFF::IMAGE_SYM_CLASS_CLR_TOKEN.

◆ isCommon()

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

◆ isExternal()

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

◆ isFileRecord()

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

◆ isFunctionDefinition()

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

◆ isFunctionLineInfo()

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

Definition at line 377 of file COFF.h.

References llvm::COFF::IMAGE_SYM_CLASS_FUNCTION.

◆ isSection()

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

Definition at line 389 of file COFF.h.

References llvm::COFF::IMAGE_SYM_CLASS_SECTION.

◆ isSectionDefinition()

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

◆ isUndefined()

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

Definition at line 362 of file COFF.h.

References llvm::COFF::IMAGE_SYM_UNDEFINED.

◆ isWeakExternal()

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

Friends And Related Function Documentation

◆ operator<

bool operator< ( COFFSymbolRef  A,
COFFSymbolRef  B 
)
friend

Definition at line 294 of file COFF.h.


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