LLVM 20.0.0git
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 284 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 287 of file COFF.h.

◆ COFFSymbolRef() [3/3]

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

Definition at line 288 of file COFF.h.

Member Function Documentation

◆ getAux()

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

Definition at line 358 of file COFF.h.

◆ getBaseType()

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

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

◆ getNumberOfAuxSymbols()

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

◆ getRawPtr()

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

Definition at line 290 of file COFF.h.

◆ getSectionDefinition()

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

◆ getSectionNumber()

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

◆ getShortName()

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

◆ getStorageClass()

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

◆ getStringTableOffset()

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

◆ getType()

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

Definition at line 337 of file COFF.h.

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

Referenced by getBaseType(), and getComplexType().

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

References llvm_unreachable.

◆ isCLRToken()

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

Definition at line 433 of file COFF.h.

References getStorageClass(), and 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 405 of file COFF.h.

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

◆ isSection()

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

Definition at line 417 of file COFF.h.

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

Referenced by isCommon().

◆ isSectionDefinition()

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

◆ isUndefined()

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

◆ isWeakExternal()

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

Friends And Related Function Documentation

◆ operator<

bool operator< ( COFFSymbolRef  A,
COFFSymbolRef  B 
)
friend

Definition at line 300 of file COFF.h.


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