LLVM 20.0.0git
Public Member Functions | List of all members
llvm::irsymtab::Reader::SymbolRef Class Reference

Ephemeral symbols produced by Reader::symbols() and Reader::module_symbols(). More...

#include "llvm/Object/IRSymtab.h"

Inheritance diagram for llvm::irsymtab::Reader::SymbolRef:
Inheritance graph
[legend]

Public Member Functions

 SymbolRef (const storage::Symbol *SymI, const storage::Symbol *SymE, const storage::Uncommon *UncI, const Reader *R)
 
void moveNext ()
 
bool operator== (const SymbolRef &Other) 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
 

Additional Inherited Members

- Public Types inherited from llvm::irsymtab::Symbol
using S = storage::Symbol
 
- 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
 

Detailed Description

Ephemeral symbols produced by Reader::symbols() and Reader::module_symbols().

Definition at line 314 of file IRSymtab.h.

Constructor & Destructor Documentation

◆ SymbolRef()

llvm::irsymtab::Reader::SymbolRef::SymbolRef ( const storage::Symbol SymI,
const storage::Symbol SymE,
const storage::Uncommon UncI,
const Reader R 
)
inline

Definition at line 339 of file IRSymtab.h.

Member Function Documentation

◆ moveNext()

void llvm::irsymtab::Reader::SymbolRef::moveNext ( )
inline

◆ operator==()

bool llvm::irsymtab::Reader::SymbolRef::operator== ( const SymbolRef Other) const
inline

Definition at line 352 of file IRSymtab.h.

References llvm::Other.


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