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

DILocalVariableVar
 
DILocationDL
 

Friends

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 247 of file DebugInfo.h.

Constructor & Destructor Documentation

◆ VarRecord() [1/2]

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

Definition at line 251 of file DebugInfo.h.

◆ VarRecord() [2/2]

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

Definition at line 253 of file DebugInfo.h.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const VarRecord LHS,
const VarRecord RHS 
)
friend

Definition at line 254 of file DebugInfo.h.

◆ operator==

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

Definition at line 257 of file DebugInfo.h.

Member Data Documentation

◆ DL

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

Definition at line 249 of file DebugInfo.h.

Referenced by emitDbgAssign().

◆ Var

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

Definition at line 248 of file DebugInfo.h.

Referenced by emitDbgAssign().


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