25 std::vector<codeview::SymbolKind> Kinds)
26 :
Index(0), Session(PDBSession) {
33 MatchOffsets.push_back(Off);
38 return static_cast<uint32_t>(MatchOffsets.size());
41 std::unique_ptr<PDBSymbol>
43 if (N >= MatchOffsets.size())
void cantFail(Error Err, const char *Msg=nullptr)
Report a fatal error if Err is a failure value.
This class represents lattice values for constants.
Expected< GlobalsStream & > getPDBGlobalsStream()
std::unique_ptr< PDBSymbol > getSymbolById(SymIndexId SymbolId) const
uint32_t getChildCount() const override
std::unique_ptr< PDBSymbol > getChildAtIndex(uint32_t Index) const override
Expected< SymbolStream & > getPDBSymbolStream()
std::unique_ptr< PDBSymbol > getNext() override
SymIndexId getOrCreateGlobalSymbolByOffset(uint32_t Offset)
const GSIHashTable & getGlobalsTable() const
SymbolCache & getSymbolCache()
bool is_contained(R &&Range, const E &Element)
Wrapper function around std::find to detect if an element exists in a container.