llvm::DebugifyCustomPassManager

Legacy pass manager that wraps each pass with debugify when enabled.

Synopsis

Declared in <llvm/Transforms/Utils/Debugify.h>

class DebugifyCustomPassManager
    : public legacy::PassManager

Description

NOTE: We support legacy custom pass manager only. TODO: Add New PM support for custom pass manager.

Base Classes

NameDescription
legacy::PassManagerPassManager manages ModulePassManagers

Type Aliases

NameDescription
super Base legacy pass manager type.

Member Functions

NameDescription
add [virtual]Add P, wrapping it with debugify passes when requested.
getDebugInfoPerPass Return the per-pass original debug-info snapshot.
getDebugifyStatsMap Return the map of synthetic debugify statistics.
getOrigDIVerifyBugsReportFilePath Return the path used to write original-DI verification bug reports.
isOriginalDebugInfoMode Return true if debugify is in original debug-info mode.
isSyntheticDebugInfo Return true if debugify is in synthetic debug-info mode.
run run - Execute all of the passes scheduled for execution. Keep track of whether any of the passes modifies the module, and if so, return true.
setDIStatsMap Set the map used to record synthetic debugify statistics.
setDebugInfoBeforePass Set the per-pass original debug-info snapshot used for verification.
setDebugifyMode Set whether debugify tracks synthetic or original debug info.
setOrigDIVerifyBugsReportFilePath Set the path used to write original-DI verification bug reports.

Non-Member Functions

NameDescription
wrapConvert a PassManagerBase pointer to an opaque LLVMPassManagerRef.