LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ContextWorklistItem Struct Reference

This class represents an item in the work list. More...

Public Member Functions

 ContextWorklistItem (DWARFDie Die, ContextWorklistItemType T, CompileUnit::DIEInfo *OtherInfo=nullptr)
 
 ContextWorklistItem (DWARFDie Die, DeclContext *Context, unsigned ParentIdx, bool InImportedModule)
 

Public Attributes

DWARFDie Die
 
unsigned ParentIdx
 
union {
   CompileUnit::DIEInfo *   OtherInfo
 
   DeclContext *   Context
 
}; 
 
ContextWorklistItemType Type
 
bool InImportedModule
 

Detailed Description

This class represents an item in the work list.

The type defines what kind of work needs to be performed when processing the current item. Everything but the Type and Die fields are optional based on the type.

Definition at line 246 of file DWARFLinker.cpp.

Constructor & Destructor Documentation

◆ ContextWorklistItem() [1/2]

llvm::ContextWorklistItem::ContextWorklistItem ( DWARFDie  Die,
ContextWorklistItemType  T,
CompileUnit::DIEInfo OtherInfo = nullptr 
)
inline

Definition at line 256 of file DWARFLinker.cpp.

◆ ContextWorklistItem() [2/2]

llvm::ContextWorklistItem::ContextWorklistItem ( DWARFDie  Die,
DeclContext Context,
unsigned  ParentIdx,
bool  InImportedModule 
)
inline

Definition at line 261 of file DWARFLinker.cpp.

References llvm::AnalyzeContextInfo.

Member Data Documentation

◆ 

union { ... } llvm::ContextWorklistItem::@478

◆ Context

DeclContext* llvm::ContextWorklistItem::Context

Definition at line 251 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ Die

DWARFDie llvm::ContextWorklistItem::Die

Definition at line 247 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ InImportedModule

bool llvm::ContextWorklistItem::InImportedModule

Definition at line 254 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ OtherInfo

CompileUnit::DIEInfo* llvm::ContextWorklistItem::OtherInfo

Definition at line 250 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ ParentIdx

unsigned llvm::ContextWorklistItem::ParentIdx

Definition at line 248 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ Type

ContextWorklistItemType llvm::ContextWorklistItem::Type

Definition at line 253 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().


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