Build callstack metadata from the provided list of call stack ids.

Synopsis

Declared in <llvm/Analysis/MemoryProfileInfo.h>

MDNode*
buildCallstackMetadata(
    ArrayRef<uint64_t> CallStack,
    LLVMContext& Ctx);

Return Value

Metadata node representing the call stack.

Parameters

Name

Description

CallStack

Stack ids forming the call stack context.

Ctx

LLVM context used to create the metadata nodes.

Created with MrDocs