llvm::createPostInlineEntryExitInstrumenterPass

Create a post-inlining pass that instruments function entry and exit.

Synopsis

Declared in <llvm/Transforms/Utils.h>

FunctionPass*
createPostInlineEntryExitInstrumenterPass();

Description

Instruments function entry/exit with calls to mcount(), @__cyg_profile_func_{enter,exit} and the like. There are two variants, intended to run pre- and post-inlining, respectively. Only the post-inlining variant is used with the legacy pass manager.

Return Value

An owning pointer to the newly created FunctionPass.