LLVM  14.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"

Collaboration diagram for DebugifyStatistics:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 111 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 130 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 125 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 122 of file Debugify.h.

Referenced by getEmptyLocationRatio(), and getMissingValueRatio().

◆ NumDbgLocsMissing

unsigned DebugifyStatistics::NumDbgLocsMissing = 0

Number of instructions with empty debug locations.

Definition at line 119 of file Debugify.h.

Referenced by getEmptyLocationRatio().

◆ NumDbgValuesExpected

unsigned DebugifyStatistics::NumDbgValuesExpected = 0

Number of dbg.values expected.

Definition at line 116 of file Debugify.h.

◆ NumDbgValuesMissing

unsigned DebugifyStatistics::NumDbgValuesMissing = 0

Number of missing dbg.values.

Definition at line 113 of file Debugify.h.

Referenced by getMissingValueRatio().


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