LLVM  5.0.0
Namespaces | Classes | Functions
llvm::irsymtab Namespace Reference

Namespaces

 storage
 

Classes

struct  Symbol
 This represents a symbol that has been read from a storage::Symbol and possibly a storage::Uncommon. More...
 
class  Reader
 This class can be used to read a Symtab and Strtab produced by irsymtab::build. More...
 
struct  FileContents
 The contents of the irsymtab in a bitcode file. More...
 

Functions

Error build (ArrayRef< Module * > Mods, SmallVector< char, 0 > &Symtab, StringTableBuilder &StrtabBuilder, BumpPtrAllocator &Alloc)
 Fills in Symtab and StrtabBuilder with a valid symbol and string table for Mods. More...
 
Expected< FileContents > readBitcode (const BitcodeFileContents &BFC)
 Reads the contents of a bitcode file, creating its irsymtab if necessary. More...
 

Function Documentation

Error llvm::irsymtab::build ( ArrayRef< Module * >  Mods,
SmallVector< char, 0 > &  Symtab,
StringTableBuilder &  StrtabBuilder,
BumpPtrAllocator &  Alloc 
)

Fills in Symtab and StrtabBuilder with a valid symbol and string table for Mods.

Definition at line 277 of file IRSymtab.cpp.

Referenced by upgrade(), and llvm::BitcodeWriter::writeSymtab().

Expected< FileContents > llvm::irsymtab::readBitcode ( const BitcodeFileContents &  BFC)