LLVM 18.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::at::VarRecord Struct Reference

Helper struct for trackAssignments, below. More...

#include "llvm/IR/DebugInfo.h"

Public Member Functions

 VarRecord (DbgVariableIntrinsic *DVI)
 VarRecord (DILocalVariable *Var, DILocation *DL)

Public Attributes



bool operator< (const VarRecord &LHS, const VarRecord &RHS)
bool operator== (const VarRecord &LHS, const VarRecord &RHS)

Detailed Description

Helper struct for trackAssignments, below.

We don't use the similar DebugVariable class because trackAssignments doesn't (yet?) understand partial variables (fragment info) as input and want to make that clear and explicit using types. In addition, eventually we will want to understand expressions that modify the base address too, which a DebugVariable doesn't capture.

Definition at line 254 of file DebugInfo.h.

Constructor & Destructor Documentation

◆ VarRecord() [1/2]

llvm::at::VarRecord::VarRecord ( DbgVariableIntrinsic DVI)

Definition at line 258 of file DebugInfo.h.

◆ VarRecord() [2/2]

llvm::at::VarRecord::VarRecord ( DILocalVariable Var,
DILocation DL 

Definition at line 260 of file DebugInfo.h.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const VarRecord LHS,
const VarRecord RHS 

Definition at line 261 of file DebugInfo.h.

◆ operator==

bool operator== ( const VarRecord LHS,
const VarRecord RHS 

Definition at line 264 of file DebugInfo.h.

Member Data Documentation

◆ DL

DILocation* llvm::at::VarRecord::DL

◆ Var

DILocalVariable* llvm::at::VarRecord::Var

The documentation for this struct was generated from the following file: