This class can be used to read a Symtab and Strtab produced by irsymtab::build.

Synopsis

Declared in <llvm/Object/IRSymtab.h>

class Reader;

Types

Name

Description

SymbolRef

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

Type Aliases

Name

Description

symbol_range

Range of SymbolRef iterators over symbols in this file.

Member Functions

Name

Description

Reader [constructor]

Constructors

getCOFFLinkerOpts

COFF‐specific: returns linker options specified in the input file.

getComdatTable

Returns a table with all the comdats used by this file.

getDependentLibraries

Returns dependent library specifiers

getNumModules

Returns the number of modules described by this symbol table.

getSourceFileName

Returns the source file path specified at compile time.

getTargetTriple

Returns the target triple recorded in the symbol table header.

module_symbols

Returns a slice of the symbol table for the I'th module in the file.

symbols

Returns the symbol table for the entire bitcode file.

Created with MrDocs