LLVM 20.0.0git
|
This class can be used to read a Symtab and Strtab produced by irsymtab::build. More...
#include "llvm/Object/IRSymtab.h"
Classes | |
class | SymbolRef |
Ephemeral symbols produced by Reader::symbols() and Reader::module_symbols(). More... | |
Public Types | |
using | symbol_range = iterator_range< object::content_iterator< SymbolRef > > |
Public Member Functions | |
Reader ()=default | |
Reader (StringRef Symtab, StringRef Strtab) | |
symbol_range | symbols () const |
Returns the symbol table for the entire bitcode file. | |
size_t | getNumModules () const |
symbol_range | module_symbols (unsigned I) const |
Returns a slice of the symbol table for the I'th module in the file. | |
StringRef | getTargetTriple () const |
StringRef | getSourceFileName () const |
Returns the source file path specified at compile time. | |
std::vector< std::pair< StringRef, llvm::Comdat::SelectionKind > > | getComdatTable () const |
Returns a table with all the comdats used by this file. | |
StringRef | getCOFFLinkerOpts () const |
COFF-specific: returns linker options specified in the input file. | |
std::vector< StringRef > | getDependentLibraries () const |
Returns dependent library specifiers. | |
This class can be used to read a Symtab and Strtab produced by irsymtab::build.
Definition at line 236 of file IRSymtab.h.
Definition at line 267 of file IRSymtab.h.
|
default |
Definition at line 259 of file IRSymtab.h.
|
inline |
COFF-specific: returns linker options specified in the input file.
Definition at line 298 of file IRSymtab.h.
|
inline |
Returns a table with all the comdats used by this file.
Definition at line 288 of file IRSymtab.h.
References llvm::CallingConv::C, and llvm::ArrayRef< T >::size().
|
inline |
Returns dependent library specifiers.
Definition at line 301 of file IRSymtab.h.
References llvm::ArrayRef< T >::size().
|
inline |
Definition at line 274 of file IRSymtab.h.
References llvm::ArrayRef< T >::size().
|
inline |
Returns the source file path specified at compile time.
Definition at line 284 of file IRSymtab.h.
|
inline |
Definition at line 281 of file IRSymtab.h.
|
inline |
Returns a slice of the symbol table for the I'th module in the file.
The symbols enumerated by this method are ephemeral, but they can be copied into an irsymtab::Symbol object.
Definition at line 359 of file IRSymtab.h.
References I.
|
inline |
Returns the symbol table for the entire bitcode file.
The symbols enumerated by this method are ephemeral, but they can be copied into an irsymtab::Symbol object.
Definition at line 354 of file IRSymtab.h.