|
LLVM 22.0.0git
|
The purpose of this struct is to only expose the symbol information that an LTO client should need in order to do symbol resolution. More...
#include "llvm/LTO/LTO.h"
Public Member Functions | |
| Symbol (const irsymtab::Symbol &S) | |
| bool | isUndefined () const |
| bool | isCommon () const |
| bool | isWeak () const |
| bool | isIndirect () const |
| 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. | |
| GlobalValue::VisibilityTypes | getVisibility () const |
| bool | canBeOmittedFromSymbolTable () const |
| bool | isTLS () const |
| int | getComdatIndex () const |
| Returns the index into the comdat table (see Reader::getComdatTable()), or -1 if not a comdat member. | |
| 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 |
| bool | isExecutable () const |
| bool | isUsed () const |
| Public Member Functions inherited from llvm::irsymtab::Symbol | |
| 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 | |
| friend | LTO |
| Public Attributes inherited from llvm::irsymtab::Symbol | |
| StringRef | Name |
| StringRef | IRName |
| int | ComdatIndex |
| uint32_t | Flags |
| uint32_t | CommonSize |
| uint32_t | CommonAlign |
| StringRef | COFFWeakExternFallbackName |
| StringRef | SectionName |
Additional Inherited Members | |
| Public Types inherited from llvm::irsymtab::Symbol | |
| using | S = storage::Symbol |
The purpose of this struct is to only expose the symbol information that an LTO client should need in order to do symbol resolution.
|
inline |
|
inline |
Definition at line 208 of file IRSymtab.h.
|
inline |
COFF-specific: for weak externals, returns the name of the symbol that is used as a fallback if the weak external remains undefined.
Definition at line 229 of file IRSymtab.h.
|
inline |
Returns the index into the comdat table (see Reader::getComdatTable()), or -1 if not a comdat member.
Definition at line 193 of file IRSymtab.h.
|
inline |
Definition at line 222 of file IRSymtab.h.
|
inline |
Definition at line 217 of file IRSymtab.h.
|
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.
|
inline |
Returns the mangled symbol name.
Definition at line 185 of file IRSymtab.h.
|
inline |
Definition at line 234 of file IRSymtab.h.
|
inline |
Definition at line 197 of file IRSymtab.h.
|
inline |
Definition at line 203 of file IRSymtab.h.
|
inline |
Definition at line 215 of file IRSymtab.h.
|
inline |
Definition at line 204 of file IRSymtab.h.
|
inline |
Definition at line 206 of file IRSymtab.h.
|
inline |
Definition at line 201 of file IRSymtab.h.
|
inline |
Definition at line 205 of file IRSymtab.h.
|
inline |
Definition at line 202 of file IRSymtab.h.