Convert llvm.dbg.declare intrinsics into sets of llvm.dbg.assign intrinsics by treating stores to the dbg.declare'd address 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.

Synopsis

Declared in <llvm/IR/DebugInfo.h>

class AssignmentTrackingPass
    : public OptionalPassInfoMixin<AssignmentTrackingPass>

Base Classes

Name

Description

OptionalPassInfoMixin<AssignmentTrackingPass>

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

Member Functions

Name

run

Static Member Functions

Name

isRequired

Created with MrDocs