ΒΆbool applyDebugifyMetadata(
    llvm::Module& M,
    iterator_range<Module::iterator> Functions,
    llvm::StringRef Banner,
    std::function<bool(DIBuilder&, Function&)>
        ApplyToMF)

Description

Add synthesized debug information to a module.

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

Parameters

llvm::Module& M
The module to add debug information to.
iterator_range<Module::iterator> Functions
A range of functions to add debug information to.
llvm::StringRef Banner
A prefix string to add to debug/error messages.
std::function<bool(DIBuilder&, Function&)> ApplyToMF
A call back that will add debug information to the MachineFunction for a Function. If nullptr, then the MachineFunction (if any) will not be modified.