|
LLVM
8.0.1
|
Namespaces | |
| storage | |
Classes | |
| struct | FileContents |
| The contents of the irsymtab in a bitcode file. More... | |
| class | Reader |
| This class can be used to read a Symtab and Strtab produced by irsymtab::build. More... | |
| struct | Symbol |
| This represents a symbol that has been read from a storage::Symbol and possibly a storage::Uncommon. 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... | |
| 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 323 of file IRSymtab.cpp.
Referenced by llvm::lowertypetests::BitSetBuilder::addOffset(), and llvm::VersionTuple::tryParse().
| Expected< FileContents > llvm::irsymtab::readBitcode | ( | const BitcodeFileContents & | BFC | ) |
Reads the contents of a bitcode file, creating its irsymtab if necessary.
Definition at line 362 of file IRSymtab.cpp.
References llvm::StringRef::data(), llvm::StringRef::empty(), R600_InstFlag::FC, llvm::irsymtab::Reader::getNumModules(), llvm::inconvertibleErrorCode(), llvm::irsymtab::storage::Header::kCurrentVersion, llvm::BitcodeFileContents::Mods, llvm::StringRef::size(), llvm::BitcodeFileContents::StrtabForSymtab, llvm::BitcodeFileContents::Symtab, llvm::irsymtab::FileContents::TheReader, upgrade(), and llvm::IndexedInstrProf::Version.
Referenced by llvm::object::readIRSymtab().
1.8.13