LLVM: llvm::irsymtab::Symbol Struct Reference (original) (raw)

This represents a symbol that has been read from a storage::Symbol and possibly a storage::Uncommon. More...

#include "[llvm/Object/IRSymtab.h](IRSymtab%5F8h%5Fsource.html)"

Public Member Functions
StringRef getName () const
Returns the mangled symbol name.
StringRef getIRName () const
Returns the unmangled symbol name, or the empty string if this is not an IR symbol.
int getComdatIndex () const
Returns the index into the comdat table (see Reader::getComdatTable()), or -1 if not a comdat member.
GlobalValue::VisibilityTypes getVisibility () const
bool isUndefined () const
bool isWeak () const
bool isCommon () const
bool isIndirect () const
bool isUsed () const
bool isTLS () const
bool canBeOmittedFromSymbolTable () const
bool isGlobal () const
bool isFormatSpecific () const
bool isUnnamedAddr () const
bool isExecutable () const
uint64_t getCommonSize () const
uint32_t getCommonAlignment () const
StringRef getCOFFWeakExternalFallback () const
COFF-specific: for weak externals, returns the name of the symbol that is used as a fallback if the weak external remains undefined.
StringRef getSectionName () const
Public Attributes
StringRef Name
StringRef IRName
int ComdatIndex
uint32_t Flags
uint32_t CommonSize
uint32_t CommonAlign
StringRef COFFWeakExternFallbackName
StringRef SectionName

This represents a symbol that has been read from a storage::Symbol and possibly a storage::Uncommon.

Definition at line 172 of file IRSymtab.h.

S

canBeOmittedFromSymbolTable()

bool llvm::irsymtab::Symbol::canBeOmittedFromSymbolTable ( ) const inline

getCOFFWeakExternalFallback()

StringRef llvm::irsymtab::Symbol::getCOFFWeakExternalFallback ( ) const inline

getComdatIndex()

int llvm::irsymtab::Symbol::getComdatIndex ( ) const inline

getCommonAlignment()

uint32_t llvm::irsymtab::Symbol::getCommonAlignment ( ) const inline

getCommonSize()

uint64_t llvm::irsymtab::Symbol::getCommonSize ( ) const inline

getIRName()

StringRef llvm::irsymtab::Symbol::getIRName ( ) const inline

Returns the unmangled symbol name, or the empty string if this is not an IR symbol.

Definition at line 189 of file IRSymtab.h.

References IRName.

getName()

StringRef llvm::irsymtab::Symbol::getName ( ) const inline

Returns the mangled symbol name.

Definition at line 185 of file IRSymtab.h.

References Name.

getSectionName()

StringRef llvm::irsymtab::Symbol::getSectionName ( ) const inline

getVisibility()

isCommon()

bool llvm::irsymtab::Symbol::isCommon ( ) const inline

isExecutable()

bool llvm::irsymtab::Symbol::isExecutable ( ) const inline

isFormatSpecific()

bool llvm::irsymtab::Symbol::isFormatSpecific ( ) const inline

isGlobal()

bool llvm::irsymtab::Symbol::isGlobal ( ) const inline

isIndirect()

bool llvm::irsymtab::Symbol::isIndirect ( ) const inline

isTLS()

bool llvm::irsymtab::Symbol::isTLS ( ) const inline

isUndefined()

bool llvm::irsymtab::Symbol::isUndefined ( ) const inline

isUnnamedAddr()

bool llvm::irsymtab::Symbol::isUnnamedAddr ( ) const inline

isUsed()

bool llvm::irsymtab::Symbol::isUsed ( ) const inline

isWeak()

bool llvm::irsymtab::Symbol::isWeak ( ) const inline

COFFWeakExternFallbackName

StringRef llvm::irsymtab::Symbol::COFFWeakExternFallbackName

ComdatIndex

int llvm::irsymtab::Symbol::ComdatIndex

CommonAlign

uint32_t llvm::irsymtab::Symbol::CommonAlign

CommonSize

uint32_t llvm::irsymtab::Symbol::CommonSize

Flags

Definition at line 177 of file IRSymtab.h.

Referenced by canBeOmittedFromSymbolTable(), getVisibility(), isCommon(), isExecutable(), isFormatSpecific(), isGlobal(), isIndirect(), isTLS(), isUndefined(), isUnnamedAddr(), isUsed(), isWeak(), and llvm::irsymtab::Reader::SymbolRef::moveNext().

IRName

Name

SectionName

StringRef llvm::irsymtab::Symbol::SectionName


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