|
LLVM 24.0.0git
|
#include "SyntheticTypeNameBuilder.h"#include "DWARFLinkerCompileUnit.h"#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"#include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h"Go to the source code of this file.
Functions | |
| static std::optional< UnitEntryPairTy > | getTypeDeduplicationCandidate (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} |
|
static |
Definition at line 168 of file SyntheticTypeNameBuilder.cpp.
References llvm::dwarf_linker::parallel::UnitEntryPairTy::CU, llvm::dwarf_linker::parallel::UnitEntryPairTy::DieEntry, llvm::dwarf_linker::parallel::CompileUnit::find(), llvm::dwarf_linker::parallel::UnitEntryPairTy::getNamespaceOrigin(), llvm::DWARFDebugInfoEntry::getTag(), and llvm_unreachable.
Referenced by llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addDIETypeName(), and llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addParentName().
|
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().
|
static |
Definition at line 60 of file SyntheticTypeNameBuilder.cpp.
Referenced by llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addParamNames(), llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addSignature(), llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addTemplateParamNames(), llvm::dwarf_linker::classic::DeclContextTree::getChildDeclContext(), and llvm::detail::unwrapReferencedTypedefType().