Convert dbg.declare intrinsics into sets of dbg.assign intrinsics.

Synopsis

Declared in <llvm/IR/DebugInfo.h>

class AssignmentTrackingPass
    : public OptionalPassInfoMixin<AssignmentTrackingPass>

Description

Stores to the dbg.declare'd address are treated as assignments to the variable. Not all kinds of variables are supported yet; those will be left with their dbg.declare intrinsics. The pass sets the debug‐info‐assignment‐tracking module flag to true to indicate assignment tracking has been enabled.

Base Classes

Name

Description

OptionalPassInfoMixin<AssignmentTrackingPass>

A CRTP mix‐in for passes that can be skipped.

Member Functions

Name

Description

run

run overloads

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs