LLVM API Documentation
#include <COFF.h>
Public Member Functions | |
COFFSymbolRef (const coff_symbol16 *CS) | |
COFFSymbolRef (const coff_symbol32 *CS) | |
COFFSymbolRef () | |
const void * | getRawPtr () 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 | isFunctionDefinition () const |
bool | isFunctionLineInfo () const |
bool | isWeakExternal () const |
bool | isFileRecord () const |
bool | isSectionDefinition () const |
bool | isCLRToken () const |
Friends | |
bool | operator< (COFFSymbolRef A, COFFSymbolRef B) |
Definition at line 225 of file Object/COFF.h.
llvm::object::COFFSymbolRef::COFFSymbolRef | ( | const coff_symbol16 * | CS | ) | [inline] |
Definition at line 227 of file Object/COFF.h.
llvm::object::COFFSymbolRef::COFFSymbolRef | ( | const coff_symbol32 * | CS | ) | [inline] |
Definition at line 228 of file Object/COFF.h.
llvm::object::COFFSymbolRef::COFFSymbolRef | ( | ) | [inline] |
Definition at line 229 of file Object/COFF.h.
uint8_t llvm::object::COFFSymbolRef::getBaseType | ( | ) | const [inline] |
Definition at line 277 of file Object/COFF.h.
References getType().
Referenced by isFunctionDefinition().
uint8_t llvm::object::COFFSymbolRef::getComplexType | ( | ) | const [inline] |
Definition at line 279 of file Object/COFF.h.
References getType().
Referenced by isFunctionDefinition().
uint8_t llvm::object::COFFSymbolRef::getNumberOfAuxSymbols | ( | ) | const [inline] |
Definition at line 273 of file Object/COFF.h.
References llvm::object::coff_symbol< SectionNumberType >::NumberOfAuxSymbols.
Referenced by llvm::object::COFFObjectFile::getSymbolAuxData().
const void* llvm::object::COFFSymbolRef::getRawPtr | ( | ) | const [inline] |
Definition at line 231 of file Object/COFF.h.
Referenced by llvm::object::COFFObjectFile::getSymbolAuxData().
int32_t llvm::object::COFFSymbolRef::getSectionNumber | ( | ) | const [inline] |
Definition at line 257 of file Object/COFF.h.
References llvm::COFF::MaxNumberOfSections16, and llvm::object::coff_symbol< SectionNumberType >::SectionNumber.
Referenced by llvm::object::COFFObjectFile::getSymbolAddress(), llvm::object::COFFObjectFile::getSymbolFlags(), llvm::object::COFFObjectFile::getSymbolSection(), llvm::object::COFFObjectFile::getSymbolSize(), llvm::object::COFFObjectFile::getSymbolType(), isFunctionDefinition(), isSectionDefinition(), isWeakExternal(), and llvm::object::COFFObjectFile::sectionContainsSymbol().
const char* llvm::object::COFFSymbolRef::getShortName | ( | ) | const [inline] |
Definition at line 247 of file Object/COFF.h.
References llvm::object::coff_symbol< SectionNumberType >::Name, and llvm::object::coff_symbol< SectionNumberType >::ShortName.
uint8_t llvm::object::COFFSymbolRef::getStorageClass | ( | ) | const [inline] |
Definition at line 269 of file Object/COFF.h.
References llvm::object::coff_symbol< SectionNumberType >::StorageClass.
Referenced by llvm::object::COFFObjectFile::getSymbolFlags(), llvm::object::COFFObjectFile::getSymbolType(), isCLRToken(), isFileRecord(), isFunctionDefinition(), isFunctionLineInfo(), isSectionDefinition(), and isWeakExternal().
const StringTableOffset& llvm::object::COFFSymbolRef::getStringTableOffset | ( | ) | const [inline] |
Definition at line 251 of file Object/COFF.h.
References llvm::object::coff_symbol< SectionNumberType >::Name, and llvm::object::coff_symbol< SectionNumberType >::Offset.
uint16_t llvm::object::COFFSymbolRef::getType | ( | ) | const [inline] |
Definition at line 267 of file Object/COFF.h.
References llvm::object::coff_symbol< SectionNumberType >::Type.
Referenced by getBaseType(), and getComplexType().
uint32_t llvm::object::COFFSymbolRef::getValue | ( | ) | const [inline] |
Definition at line 255 of file Object/COFF.h.
References llvm::object::coff_symbol< SectionNumberType >::Value.
Referenced by llvm::object::COFFObjectFile::getSymbolAddress(), llvm::object::COFFObjectFile::getSymbolFlags(), llvm::object::COFFObjectFile::getSymbolSize(), isSectionDefinition(), and isWeakExternal().
bool llvm::object::COFFSymbolRef::isBigObj | ( | ) | const [inline] |
Definition at line 239 of file Object/COFF.h.
References llvm_unreachable.
bool llvm::object::COFFSymbolRef::isCLRToken | ( | ) | const [inline] |
Definition at line 313 of file Object/COFF.h.
References getStorageClass(), and llvm::COFF::IMAGE_SYM_CLASS_CLR_TOKEN.
bool llvm::object::COFFSymbolRef::isFileRecord | ( | ) | const [inline] |
Definition at line 298 of file Object/COFF.h.
References getStorageClass(), and llvm::COFF::IMAGE_SYM_CLASS_FILE.
bool llvm::object::COFFSymbolRef::isFunctionDefinition | ( | ) | const [inline] |
Definition at line 281 of file Object/COFF.h.
References getBaseType(), getComplexType(), getSectionNumber(), getStorageClass(), llvm::COFF::IMAGE_SYM_CLASS_EXTERNAL, llvm::COFF::IMAGE_SYM_DTYPE_FUNCTION, llvm::COFF::IMAGE_SYM_TYPE_NULL, and llvm::COFF::isReservedSectionNumber().
Referenced by llvm::object::COFFObjectFile::getSymbolType().
bool llvm::object::COFFSymbolRef::isFunctionLineInfo | ( | ) | const [inline] |
Definition at line 288 of file Object/COFF.h.
References getStorageClass(), and llvm::COFF::IMAGE_SYM_CLASS_FUNCTION.
bool llvm::object::COFFSymbolRef::isSectionDefinition | ( | ) | const [inline] |
Definition at line 302 of file Object/COFF.h.
References getSectionNumber(), getStorageClass(), getValue(), llvm::COFF::IMAGE_SYM_ABSOLUTE, llvm::COFF::IMAGE_SYM_CLASS_EXTERNAL, and llvm::COFF::IMAGE_SYM_CLASS_STATIC.
bool llvm::object::COFFSymbolRef::isWeakExternal | ( | ) | const [inline] |
Definition at line 292 of file Object/COFF.h.
References getSectionNumber(), getStorageClass(), getValue(), llvm::COFF::IMAGE_SYM_CLASS_EXTERNAL, llvm::COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL, and llvm::COFF::IMAGE_SYM_UNDEFINED.
bool operator< | ( | COFFSymbolRef | A, |
COFFSymbolRef | B | ||
) | [friend] |
Definition at line 235 of file Object/COFF.h.