class DebugifyCustomPassManager

Declaration

class DebugifyCustomPassManager : public PassManager { /* full declaration omitted */ };

Description

DebugifyCustomPassManager wraps each pass with the debugify passes if needed. NOTE: We support legacy custom pass manager only. TODO: Add New PM support for custom pass manager.

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:227

Inherits from: PassManager

Member Variables

private llvm::StringRef OrigDIVerifyBugsReportFilePath
private DebugifyStatsMap* DIStatsMap = nullptr
private DebugInfoPerPass* DebugInfoBeforePass = nullptr
private enum DebugifyMode Mode = DebugifyMode::NoDebugify

Method Overview

Inherited from PassManager:

Inherited from PassManagerBase:

Methods

void add(llvm::Pass* P)

Description

Add a pass to the queue of passes to run. This passes ownership of the Pass to the PassManager. When the PassManager is destroyed, the pass will be destroyed as well, so there is no need to delete the pass. This may even destroy the pass right away if it is found to be redundant. This implies that all passes MUST be allocated with 'new'.

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:236

Parameters

llvm::Pass* P

DebugInfoPerPass& getDebugInfoPerPass()

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:298

const DebugifyStatsMap& getDebugifyStatsMap()
    const

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:297

llvm::StringRef
getOrigDIVerifyBugsReportFilePath() const

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:284

bool isOriginalDebugInfoMode() const

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:293

bool isSyntheticDebugInfo() const

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:290

void setDIStatsMap(DebugifyStatsMap& StatMap)

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:276

Parameters

DebugifyStatsMap& StatMap

void setDebugInfoBeforePass(
    DebugInfoPerPass& PerPassDI)

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:278

Parameters

DebugInfoPerPass& PerPassDI

void setDebugifyMode(enum DebugifyMode M)

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:288

Parameters

enum DebugifyMode M

void setOrigDIVerifyBugsReportFilePath(
    llvm::StringRef BugsReportFilePath)

Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:281

Parameters

llvm::StringRef BugsReportFilePath