Update a tracked debug-value pointer after RAUW.
Declared in <llvm/IR/Metadata.h>
void
handleChangedValue(
void* Old,
Metadata* NewDebugValue);
Called by ReplaceableMetadataImpl::replaceAllUsesWith, where Old is a pointer to one of the pointers in DebugValues (so should be type Metadata**), and NewDebugValue is the new Metadata* that is replacing *Old. For manually replacing elements of DebugValues, resetDebugValue(Idx, NewDebugValue) should be used instead.
| Name | Description |
|---|---|
| Old | Address of the tracked debug-value pointer being replaced. |
| NewDebugValue | Replacement metadata. |