llvm::DbgValueHistoryMap

For each user variable, keep a list of instruction ranges where this variable is accessible. The variables are listed in order of appearance.

Synopsis

Declared in <llvm/CodeGen/DbgEntityHistoryCalculator.h>

class DbgValueHistoryMap;

Types

NameDescription
Entry Specifies a change in a variable's debug value history.

Type Aliases

NameDescription
Entries Ordered list of history entries for one inlined entity.
EntriesMap Map from each inlined entity to its debug-value history entries.
EntryIndex Index in the entry vector.
InlinedEntity Variable or label paired with its inlined-at location.

Member Functions

NameDescription
begin Return an iterator to the first variable history.
clear Remove all recorded variable histories.
dump Dump the debug-value histories for function FuncName.
empty Return true if no variable histories have been recorded.
end Return an iterator past the last variable history.
getEntry Return the history entry for Var at Index.
hasNonEmptyLocation Test whether a vector of entries features any non-empty locations. It could have no entries, or only DBG_VALUE $noreg entries.
startClobber Record that MI clobbers register-described locations for Var.
startDbgValue Record a new DBG_VALUE for Var at MI.
trimLocationRanges Drop location ranges which exist entirely outside each variable's scope.

Static Data Members

NameDescription
NoEntry Special value to indicate that an entry is valid until the end of the function.