20 struct StripNonLineTableDebugInfo :
public ModulePass {
30 bool runOnModule(
Module &M)
override {
38 "Strip all debug info except linetables",
false,
false)
41 return new StripNonLineTableDebugInfo();
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
A Module instance is used to store all the information related to an LLVM module. ...
ModulePass * createStripNonLineTableDebugInfoPass()
This function returns a new pass that downgrades the debug info in the module to line tables only...
INITIALIZE_PASS(StripNonLineTableDebugInfo,"strip-nonlinetable-debuginfo","Strip all debug info except linetables", false, false) ModulePass *llvm
bool stripNonLineTableDebugInfo(Module &M)
Downgrade the debug info in a module to contain only line table information.
Represent the analysis usage information of a pass.
void setPreservesAll()
Set by analyses that do not transform their input at all.
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
void initializeStripNonLineTableDebugInfoPass(PassRegistry &)