LLVM  10.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
 
template<typename T >
const TgetAux () const
 
const coff_aux_section_definitiongetSectionDefinition () const
 
const coff_aux_weak_externalgetWeakExternal () 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 280 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 283 of file COFF.h.

◆ COFFSymbolRef() [3/3]

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

Definition at line 284 of file COFF.h.

Member Function Documentation

◆ getAux()

template<typename T >
const T* llvm::object::COFFSymbolRef::getAux ( ) const
inline

Definition at line 354 of file COFF.h.

◆ getBaseType()

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

Definition at line 348 of file COFF.h.

References getType().

◆ getComplexType()

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

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

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

◆ getNumberOfAuxSymbols()

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

Definition at line 343 of file COFF.h.

References assert().

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

◆ getRawPtr()

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

◆ getSectionDefinition()

const coff_aux_section_definition* llvm::object::COFFSymbolRef::getSectionDefinition ( ) const
inline

Definition at line 359 of file COFF.h.

References llvm::COFF::IMAGE_SYM_CLASS_STATIC.

◆ getSectionNumber()

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

◆ getShortName()

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

Definition at line 308 of file COFF.h.

◆ getStorageClass()

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

Definition at line 338 of file COFF.h.

References assert().

◆ getStringTableOffset()

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

Definition at line 312 of file COFF.h.

References assert().

◆ getType()

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

Definition at line 333 of file COFF.h.

References assert().

◆ getValue()

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

◆ getWeakExternal()

const coff_aux_weak_external* llvm::object::COFFSymbolRef::getWeakExternal ( ) const
inline

◆ isAbsolute()

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

Definition at line 373 of file COFF.h.

◆ isAnyUndefined()

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

◆ isBigObj()

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

Definition at line 300 of file COFF.h.

References llvm_unreachable.

◆ isCLRToken()

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

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

References llvm::COFF::IMAGE_SYM_CLASS_FUNCTION.

◆ isSection()

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

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

References llvm::COFF::IMAGE_SYM_UNDEFINED.

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

◆ isWeakExternal()

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

Friends And Related Function Documentation

◆ operator<

bool operator< ( COFFSymbolRef  A,
COFFSymbolRef  B 
)
friend

Definition at line 296 of file COFF.h.


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