LLVM 19.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 235 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 245 of file DWARFLinker.cpp.

◆ ContextWorklistItem() [2/2]

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

Definition at line 250 of file DWARFLinker.cpp.

References llvm::AnalyzeContextInfo, and Context.

Member Data Documentation

◆ 

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

◆ Context

DeclContext* llvm::ContextWorklistItem::Context

Definition at line 240 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ Die

DWARFDie llvm::ContextWorklistItem::Die

Definition at line 236 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ InImportedModule

bool llvm::ContextWorklistItem::InImportedModule

Definition at line 243 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ OtherInfo

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

Definition at line 239 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ ParentIdx

unsigned llvm::ContextWorklistItem::ParentIdx

Definition at line 237 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ Type

ContextWorklistItemType llvm::ContextWorklistItem::Type

Definition at line 242 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().


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