llvm::createProfileFileNameVar

Create the module global that holds the default profile output path.

Synopsis

Declared in <llvm/ProfileData/InstrProf.h>

void
createProfileFileNameVar(
    Module& M,
    StringRef InstrProfileOutput);

Parameters

NameDescription
MModule that receives the filename variable.
InstrProfileOutputProfile output path string.