Create a post-inlining pass that instruments function entry and exit.
Declared in <llvm/Transforms/Utils.h>
FunctionPass*
createPostInlineEntryExitInstrumenterPass();
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.
An owning pointer to the newly created FunctionPass.