Remap the Values used in the DbgRecords Range using the value map VM.
Synopsis
Declared in <llvm/Transforms/Utils/ValueMapper.h>
void
RemapDbgRecordRange(
Module* M,
iterator_range<DbgRecordIterator> Range,
ValueToValueMapTy& VM,
RemapFlags Flags = RF_None,
ValueMapTypeRemapper* TypeMapper = nullptr,
ValueMaterializer* Materializer = nullptr,
MetadataPredicate const* IdentityMD = nullptr);
Parameters
Name |
Description |
M |
Module containing the debug records. |
Range |
Range of debug records to remap. |
VM |
Mapping from original values to remapped values. |
Flags |
Remapping flags that control mapper behavior. |
TypeMapper |
Optional callback that remaps types while mapping values. |
Materializer |
Optional callback that materializes unmapped values. |
IdentityMD |
Optional predicate for metadata that maps onto itself. |
Created with MrDocs