LLVM  14.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...

Collaboration diagram for llvm::ContextWorklistItem:
Collaboration graph
[legend]

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 255 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 265 of file DWARFLinker.cpp.

References T.

◆ ContextWorklistItem() [2/2]

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

Definition at line 270 of file DWARFLinker.cpp.

References llvm::AnalyzeContextInfo.

Member Data Documentation

◆ @418

union { ... }

◆ Context

DeclContext* llvm::ContextWorklistItem::Context

Definition at line 260 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ Die

DWARFDie llvm::ContextWorklistItem::Die

Definition at line 256 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ InImportedModule

bool llvm::ContextWorklistItem::InImportedModule

Definition at line 263 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ OtherInfo

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

Definition at line 259 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ ParentIdx

unsigned llvm::ContextWorklistItem::ParentIdx

Definition at line 257 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().

◆ Type

ContextWorklistItemType llvm::ContextWorklistItem::Type

Definition at line 262 of file DWARFLinker.cpp.

Referenced by llvm::analyzeContextInfo().


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