LLVM: llvm::dwarf_linker::parallel::TypeEntryBody Class Reference (original) (raw)

Keeps cloned data for the type DIE. More...

#include "[DWARFLinker/Parallel/TypePool.h](TypePool%5F8h%5Fsource.html)"

Public Member Functions
DIE & getFinalDie () const
Returns copy of type DIE which should be emitted into resulting file.
bool hasOnlyDeclaration () const
Returns true if type die entry has only declaration die.
Public Attributes
std::atomic< DIE * > Die = {nullptr}
TypeEntryBody keeps partially cloned DIEs corresponding to this type.
std::atomic< DIE * > DeclarationDie = {nullptr}
std::atomic< bool > ParentIsDeclaration = {true}
ArrayList< TypeEntry *, 5 > Children
Children for current type.
Protected Member Functions
TypeEntryBody ()=delete
TypeEntryBody (const TypeEntryBody &RHS)=delete
TypeEntryBody (TypeEntryBody &&RHS)=delete
TypeEntryBody & operator= (const TypeEntryBody &RHS)=delete
TypeEntryBody & operator= (const TypeEntryBody &&RHS)=delete
TypeEntryBody (llvm::parallel::PerThreadBumpPtrAllocator &Allocator)

Keeps cloned data for the type DIE.

Definition at line 30 of file TypePool.h.

llvm::dwarf_linker::parallel::TypeEntryBody::TypeEntryBody ( ) protecteddelete

TypeEntryBody() [2/4]

llvm::dwarf_linker::parallel::TypeEntryBody::TypeEntryBody ( const TypeEntryBody & RHS) protecteddelete

References RHS, and TypeEntryBody().

TypeEntryBody() [3/4]

llvm::dwarf_linker::parallel::TypeEntryBody::TypeEntryBody ( TypeEntryBody && RHS) protecteddelete

References RHS, and TypeEntryBody().

TypeEntryBody() [4/4]

create()

getFinalDie()

DIE & llvm::dwarf_linker::parallel::TypeEntryBody::getFinalDie ( ) const inline

hasOnlyDeclaration()

bool llvm::dwarf_linker::parallel::TypeEntryBody::hasOnlyDeclaration ( ) const inline

Returns true if type die entry has only declaration die.

Definition at line 42 of file TypePool.h.

References Die.

operator=() [1/2]

operator=() [2/2]

Children

DeclarationDie

std::atomic<DIE *> llvm::dwarf_linker::parallel::TypeEntryBody::DeclarationDie = {nullptr}

Die

std::atomic<DIE *> llvm::dwarf_linker::parallel::TypeEntryBody::Die = {nullptr}

TypeEntryBody keeps partially cloned DIEs corresponding to this type.

The two kinds of DIE can be kept: declaration and definition. If definition DIE was met while parsing input DWARF then this DIE would be used as a final DIE for this type. If definition DIE is not met then declaration DIE would be used as a final DIE.

Definition at line 59 of file TypePool.h.

Referenced by getFinalDie(), and hasOnlyDeclaration().

ParentIsDeclaration

std::atomic<bool> llvm::dwarf_linker::parallel::TypeEntryBody::ParentIsDeclaration = {true}


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