LLVM: llvm::memprof::CallStack< NodeT, IteratorT > Class Template Reference (original) (raw)
Helper class to iterate through stack ids in both metadata (memprof MIB and callsite) and the corresponding ThinLTO summary data structures (CallsiteInfo and MIBInfo). More...
template<class NodeT, class IteratorT>
class llvm::memprof::CallStack< NodeT, IteratorT >
Helper class to iterate through stack ids in both metadata (memprof MIB and callsite) and the corresponding ThinLTO summary data structures (CallsiteInfo and MIBInfo).
This simplifies implementation of client code which doesn't need to worry about whether we are operating with IR (Regular LTO), or summary (ThinLTO).
Definition at line 186 of file MemoryProfileInfo.h.