LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
DebugifyStatistics Struct Reference

Track how much debugify information (in the synthetic mode only) has been lost. More...

#include "llvm/Transforms/Utils/Debugify.h"

Public Member Functions

float getMissingValueRatio () const
 Get the ratio of missing/expected dbg.values.
 
float getEmptyLocationRatio () const
 Get the ratio of missing/expected instructions with locations.
 

Public Attributes

unsigned NumDbgValuesMissing = 0
 Number of missing dbg.values.
 
unsigned NumDbgValuesExpected = 0
 Number of dbg.values expected.
 
unsigned NumDbgLocsMissing = 0
 Number of instructions with empty debug locations.
 
unsigned NumDbgLocsExpected = 0
 Number of instructions expected to have debug locations.
 

Detailed Description

Track how much debugify information (in the synthetic mode only) has been lost.

Definition at line 123 of file Debugify.h.

Member Function Documentation

◆ getEmptyLocationRatio()

float DebugifyStatistics::getEmptyLocationRatio ( ) const
inline

Get the ratio of missing/expected instructions with locations.

Definition at line 142 of file Debugify.h.

References NumDbgLocsExpected, and NumDbgLocsMissing.

◆ getMissingValueRatio()

float DebugifyStatistics::getMissingValueRatio ( ) const
inline

Get the ratio of missing/expected dbg.values.

Definition at line 137 of file Debugify.h.

References NumDbgLocsExpected, and NumDbgValuesMissing.

Member Data Documentation

◆ NumDbgLocsExpected

unsigned DebugifyStatistics::NumDbgLocsExpected = 0

Number of instructions expected to have debug locations.

Definition at line 134 of file Debugify.h.

Referenced by getEmptyLocationRatio(), and getMissingValueRatio().

◆ NumDbgLocsMissing

unsigned DebugifyStatistics::NumDbgLocsMissing = 0

Number of instructions with empty debug locations.

Definition at line 131 of file Debugify.h.

Referenced by getEmptyLocationRatio().

◆ NumDbgValuesExpected

unsigned DebugifyStatistics::NumDbgValuesExpected = 0

Number of dbg.values expected.

Definition at line 128 of file Debugify.h.

◆ NumDbgValuesMissing

unsigned DebugifyStatistics::NumDbgValuesMissing = 0

Number of missing dbg.values.

Definition at line 125 of file Debugify.h.

Referenced by getMissingValueRatio().


The documentation for this struct was generated from the following file: