LLVM 22.0.0git
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 isEmptySectionDeclaration () 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 285 of file COFF.h.

Constructor & Destructor Documentation

◆ COFFSymbolRef() [1/3]

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

Referenced by operator<.

◆ COFFSymbolRef() [2/3]

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

Definition at line 288 of file COFF.h.

◆ COFFSymbolRef() [3/3]

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

Definition at line 289 of file COFF.h.

Member Function Documentation

◆ getAux()

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

Definition at line 359 of file COFF.h.

References T.

Referenced by getSectionDefinition(), and getWeakExternal().

◆ getBaseType()

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

Definition at line 353 of file COFF.h.

References getType().

Referenced by isFunctionDefinition().

◆ getComplexType()

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

◆ getGeneric()

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

Definition at line 295 of file COFF.h.

◆ getNumberOfAuxSymbols()

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

Definition at line 348 of file COFF.h.

References assert().

Referenced by getSectionDefinition(), getWeakExternal(), and isSectionDefinition().

◆ getRawPtr()

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

Definition at line 291 of file COFF.h.

◆ getSectionDefinition()

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

◆ getSectionNumber()

◆ getShortName()

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

Definition at line 313 of file COFF.h.

◆ getStorageClass()

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

◆ getStringTableOffset()

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

Definition at line 317 of file COFF.h.

References assert().

◆ getType()

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

Definition at line 338 of file COFF.h.

References assert().

Referenced by getBaseType(), and getComplexType().

◆ getValue()

◆ getWeakExternal()

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

◆ isAbsolute()

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

Definition at line 378 of file COFF.h.

References getSectionNumber().

◆ isAnyUndefined()

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

◆ isBigObj()

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

Definition at line 305 of file COFF.h.

References llvm_unreachable.

◆ isCLRToken()

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

Definition at line 438 of file COFF.h.

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

◆ isCommon()

◆ isEmptySectionDeclaration()

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

Definition at line 396 of file COFF.h.

References getSectionNumber(), llvm::COFF::IMAGE_SYM_UNDEFINED, and isSection().

◆ 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 410 of file COFF.h.

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

◆ isSection()

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

Definition at line 422 of file COFF.h.

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

Referenced by isEmptySectionDeclaration().

◆ isSectionDefinition()

◆ isUndefined()

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

◆ isWeakExternal()

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

◆ operator<

bool operator< ( COFFSymbolRef A,
COFFSymbolRef B )
friend

Definition at line 301 of file COFF.h.

References A(), B(), and COFFSymbolRef().


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