llvm::memprof::computeFullStackId

Generate a single hash id for a given callstack.

Synopsis

Declared in <llvm/ProfileData/MemProfCommon.h>

uint64_t
computeFullStackId(ArrayRef<Frame> CallStack);

Description

Used for emitting matching statistics and useful for uniquing such statistics across modules. Also used to dedup contexts when computing the summary.

Return Value

64-bit hash uniquely identifying the callstack.

Parameters

NameDescription
CallStackFrames that form the callstack to hash.