class NewPMCheckDebugifyPass

Declaration

class NewPMCheckDebugifyPass : public PassInfoMixin { /* full declaration omitted */ };

Description

A CRTP mix-in to automatically provide informational APIs needed for passes. This provides some boilerplate for types that are passes.

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

Inherits from: PassInfoMixin

Member Variables

private llvm::StringRef NameOfWrappedPass
private llvm::StringRef OrigDIVerifyBugsReportFilePath
private DebugifyStatsMap* StatsMap
private DebugInfoPerPass* DebugInfoBeforePass
private enum DebugifyMode Mode
private bool Strip

Method Overview

  • public NewPMCheckDebugifyPass(bool Strip = false, llvm::StringRef NameOfWrappedPass = "", DebugifyStatsMap * StatsMap = nullptr, enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, DebugInfoPerPass * DebugInfoBeforePass = nullptr, llvm::StringRef OrigDIVerifyBugsReportFilePath = "")
  • public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)

Methods

NewPMCheckDebugifyPass(
    bool Strip = false,
    llvm::StringRef NameOfWrappedPass = "",
    DebugifyStatsMap* StatsMap = nullptr,
    enum DebugifyMode Mode =
        DebugifyMode::SyntheticDebugInfo,
    DebugInfoPerPass* DebugInfoBeforePass =
        nullptr,
    llvm::StringRef
        OrigDIVerifyBugsReportFilePath = "")

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

Parameters

bool Strip = false
llvm::StringRef NameOfWrappedPass = ""
DebugifyStatsMap* StatsMap = nullptr
enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo
DebugInfoPerPass* DebugInfoBeforePass = nullptr
llvm::StringRef OrigDIVerifyBugsReportFilePath = ""

llvm::PreservedAnalyses run(
    llvm::Module& M,
    llvm::ModuleAnalysisManager& AM)

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

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager& AM