llvm::DbgValueRangeTable

Utility class used to find and store the live debug ranges for variables in a module.

Synopsis

Declared in <llvm/Transforms/Utils/DebugSSAUpdater.h>

class DbgValueRangeTable;

Description

This class uses the DebugSSAUpdater for each variable added with addVariable to find either a single-location value, e.g. #dbg_declare, or a set of live value ranges corresponding to the set of #dbg_value records. addVariable to find either a single-location value, e.g. #dbg_declare, or

Member Functions

NameDescription
addVariable Compute and store live ranges (or a single location) for DVA in F.
getSingleLoc Return the single-location value stored for DVA.
getVariableRanges Return the live value ranges stored for DVA.
hasSingleLocEntry Return true if DVA has a stored single-location entry.
hasVariableEntry Return true if DVA has a stored range or single-location entry.
printValues Print stored values for DVA to OS.