Create and return a pass that prints functions to the specified raw_ostream as they are processed.

Synopsis

Declared in <llvm/IR/IRPrintingPasses.h>

FunctionPass*
createPrintFunctionPass(
    raw_ostream& OS,
    std::string const& Banner = "");

Return Value

A function pass that prints each processed function to OS.

Parameters

Name

Description

OS

The stream to print functions to.

Banner

Header text printed before each function, or empty.

Created with MrDocs