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
- public void add(llvm::Pass * P)
- public DebugInfoPerPass & getDebugInfoPerPass()
- public const DebugifyStatsMap & getDebugifyStatsMap() const
- public llvm::StringRef getOrigDIVerifyBugsReportFilePath() const
- public bool isOriginalDebugInfoMode() const
- public bool isSyntheticDebugInfo() const
- public void setDIStatsMap(DebugifyStatsMap & StatMap)
- public void setDebugInfoBeforePass(DebugInfoPerPass & PerPassDI)
- public void setDebugifyMode(enum DebugifyMode M)
- public void setOrigDIVerifyBugsReportFilePath(llvm::StringRef BugsReportFilePath)
Inherited from PassManager:
Inherited from PassManagerBase:
Methods
¶void add(llvm::Pass* P)
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()
DebugInfoPerPass& getDebugInfoPerPass()
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:298
¶const DebugifyStatsMap& getDebugifyStatsMap()
const
const DebugifyStatsMap& getDebugifyStatsMap()
const
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:297
¶llvm::StringRef
getOrigDIVerifyBugsReportFilePath() const
llvm::StringRef
getOrigDIVerifyBugsReportFilePath() const
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:284
¶bool isOriginalDebugInfoMode() const
bool isOriginalDebugInfoMode() const
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:293
¶bool isSyntheticDebugInfo() const
bool isSyntheticDebugInfo() const
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:290
¶void setDIStatsMap(DebugifyStatsMap& StatMap)
void setDIStatsMap(DebugifyStatsMap& StatMap)
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:276
Parameters
- DebugifyStatsMap& StatMap
¶void setDebugInfoBeforePass(
DebugInfoPerPass& PerPassDI)
void setDebugInfoBeforePass(
DebugInfoPerPass& PerPassDI)
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:278
Parameters
- DebugInfoPerPass& PerPassDI
¶void setDebugifyMode(enum DebugifyMode M)
void setDebugifyMode(enum DebugifyMode M)
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:288
Parameters
- enum DebugifyMode M
¶void setOrigDIVerifyBugsReportFilePath(
llvm::StringRef BugsReportFilePath)
void setOrigDIVerifyBugsReportFilePath(
llvm::StringRef BugsReportFilePath)
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:281
Parameters
- llvm::StringRef BugsReportFilePath