20 struct StripNonLineTableDebugInfo :
public ModulePass {
22 StripNonLineTableDebugInfo() :
ModulePass(ID) {
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...
This class represents lattice values for constants.
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...
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.
INITIALIZE_PASS(StripNonLineTableDebugInfo, "strip-nonlinetable-debuginfo", "Strip all debug info except linetables", false, false) ModulePass *llvm
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
void initializeStripNonLineTableDebugInfoPass(PassRegistry &)