ΒΆbool collectDebugInfoMetadata(
llvm::Module& M,
iterator_range<Module::iterator> Functions,
DebugInfoPerPass& DebugInfoBeforePass,
llvm::StringRef Banner,
llvm::StringRef NameOfWrappedPass)
bool collectDebugInfoMetadata(
llvm::Module& M,
iterator_range<Module::iterator> Functions,
DebugInfoPerPass& DebugInfoBeforePass,
llvm::StringRef Banner,
llvm::StringRef NameOfWrappedPass)
Description
Collect original debug information before a pass.
Declared at: llvm/include/llvm/Transforms/Utils/Debugify.h:73
Parameters
- llvm::Module& M
- The module to collect debug information from.
- iterator_range<Module::iterator> Functions
- A range of functions to collect debug information from.
- DebugInfoPerPass& DebugInfoBeforePass
- DI metadata before a pass.
- llvm::StringRef Banner
- A prefix string to add to debug/error messages.
- llvm::StringRef NameOfWrappedPass
- A name of a pass to add to debug/error messages.