struct Symbol
Declaration
struct Symbol { /* full declaration omitted */ };
Description
This represents a symbol that has been read from a storage::Symbol and possibly a storage::Uncommon.
Declared at: llvm/include/llvm/Object/IRSymtab.h:170
Member Variables
- public llvm::StringRef Name
- public llvm::StringRef IRName
- public int ComdatIndex
- public uint32_t Flags
- public uint32_t CommonSize
- public uint32_t CommonAlign
- public llvm::StringRef COFFWeakExternFallbackName
- public llvm::StringRef SectionName
Method Overview
- public bool canBeOmittedFromSymbolTable() const
- public llvm::StringRef getCOFFWeakExternalFallback() const
- public int getComdatIndex() const
- public uint32_t getCommonAlignment() const
- public uint64_t getCommonSize() const
- public llvm::StringRef getIRName() const
- public llvm::StringRef getName() const
- public llvm::StringRef getSectionName() const
- public GlobalValue::VisibilityTypes getVisibility() const
- public bool isCommon() const
- public bool isExecutable() const
- public bool isFormatSpecific() const
- public bool isGlobal() const
- public bool isIndirect() const
- public bool isTLS() const
- public bool isUndefined() const
- public bool isUnnamedAddr() const
- public bool isUsed() const
- public bool isWeak() const
Methods
¶bool canBeOmittedFromSymbolTable() const
bool canBeOmittedFromSymbolTable() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:205
¶llvm::StringRef getCOFFWeakExternalFallback()
const
llvm::StringRef getCOFFWeakExternalFallback()
const
Description
COFF-specific: for weak externals, returns the name of the symbol that is used as a fallback if the weak external remains undefined.
Declared at: llvm/include/llvm/Object/IRSymtab.h:226
¶int getComdatIndex() const
int getComdatIndex() const
Description
Returns the index into the comdat table (see Reader::getComdatTable()), or -1 if not a comdat member.
Declared at: llvm/include/llvm/Object/IRSymtab.h:190
¶uint32_t getCommonAlignment() const
uint32_t getCommonAlignment() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:219
¶uint64_t getCommonSize() const
uint64_t getCommonSize() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:214
¶llvm::StringRef getIRName() const
llvm::StringRef getIRName() const
Description
Returns the unmangled symbol name, or the empty string if this is not an IR symbol.
Declared at: llvm/include/llvm/Object/IRSymtab.h:186
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Description
Returns the mangled symbol name.
Declared at: llvm/include/llvm/Object/IRSymtab.h:182
¶llvm::StringRef getSectionName() const
llvm::StringRef getSectionName() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:231
¶GlobalValue::VisibilityTypes getVisibility() const
GlobalValue::VisibilityTypes getVisibility() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:194
¶bool isCommon() const
bool isCommon() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:200
¶bool isExecutable() const
bool isExecutable() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:212
¶bool isFormatSpecific() const
bool isFormatSpecific() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:210
¶bool isGlobal() const
bool isGlobal() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:209
¶bool isIndirect() const
bool isIndirect() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:201
¶bool isTLS() const
bool isTLS() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:203
¶bool isUndefined() const
bool isUndefined() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:198
¶bool isUnnamedAddr() const
bool isUnnamedAddr() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:211
¶bool isUsed() const
bool isUsed() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:202
¶bool isWeak() const
bool isWeak() const
Declared at: llvm/include/llvm/Object/IRSymtab.h:199