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

Track how much debugify information has been lost. More...

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

Collaboration diagram for DebugifyStatistics:
[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 has been lost.

Definition at line 28 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 47 of file Debugify.h.

◆ getMissingValueRatio()

float DebugifyStatistics::getMissingValueRatio ( ) const
inline

Get the ratio of missing/expected dbg.values.

Definition at line 42 of file Debugify.h.

Member Data Documentation

◆ NumDbgLocsExpected

unsigned DebugifyStatistics::NumDbgLocsExpected = 0

Number of instructions expected to have debug locations.

Definition at line 39 of file Debugify.h.

◆ NumDbgLocsMissing

unsigned DebugifyStatistics::NumDbgLocsMissing = 0

Number of instructions with empty debug locations.

Definition at line 36 of file Debugify.h.

◆ NumDbgValuesExpected

unsigned DebugifyStatistics::NumDbgValuesExpected = 0

Number of dbg.values expected.

Definition at line 33 of file Debugify.h.

◆ NumDbgValuesMissing

unsigned DebugifyStatistics::NumDbgValuesMissing = 0

Number of missing dbg.values.

Definition at line 30 of file Debugify.h.


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