LLVM 24.0.0git
SyntheticTypeNameBuilder.cpp File Reference

Go to the source code of this file.

Functions

static std::optional< UnitEntryPairTygetTypeDeduplicationCandidate (UnitEntryPairTy UnitEntryPair)
static bool isStaticDataMember (CompileUnit &CU, const DWARFDebugInfoEntry *DieEntry)
 A C++ static data member is spelled as a DW_TAG_member carrying DW_AT_declaration in DWARF 4 and as a DW_TAG_variable in DWARF 5 (DWARF 5 section 5.7.6).

Variables

static dwarf::Attribute TypeAttr [] = {dwarf::DW_AT_type}

Function Documentation

◆ getTypeDeduplicationCandidate()

◆ isStaticDataMember()

bool isStaticDataMember ( CompileUnit & CU,
const DWARFDebugInfoEntry * DieEntry )
static

A C++ static data member is spelled as a DW_TAG_member carrying DW_AT_declaration in DWARF 4 and as a DW_TAG_variable in DWARF 5 (DWARF 5 section 5.7.6).

Returns true when this declares a static data member instead of describing storage in the record.

Definition at line 440 of file SyntheticTypeNameBuilder.cpp.

References assert(), llvm::DWARFDebugInfoEntry::getTag(), and llvm::dwarf::toUnsigned().

Referenced by llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addTypePrefix(), and llvm::dwarf_linker::parallel::OrderedChildrenIndexAssigner::tagToArrayIndex().

Variable Documentation

◆ TypeAttr