Print the name of IR for inclusion in a stack trace.

Synopsis

Declared in <llvm/IR/PassManager.h>

template<typename IRUnitT>
void
printIRUnitNameForStackTrace(
    raw_ostream& OS,
    IRUnitT const& IR);

Specializations

Name

Description

printIRUnitNameForStackTrace<Function>

Print the name of a Function for inclusion in a stack trace.

printIRUnitNameForStackTrace<Module>

Print the name of a Module for inclusion in a stack trace.

Parameters

Name

Description

OS

Stream to write the IR unit name to.

IR

IR unit whose name is printed.

Created with MrDocs