LLVM 22.0.0git
DWARFVerifier.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

static SmallVector< std::string, 3 > getNames (const DWARFDie &DIE, bool IncludeStrippedTemplateNames, bool IncludeObjCNames=true, bool IncludeLinkageName=true)
 Constructs a full name for a DIE.
static bool isVariableIndexable (const DWARFDie &Die, DWARFContext &DCtx)
static void extractCUsTus (DWARFContext &DCtx)
 Extracts all the data for CU/TUs so we can access it in parallel without locks.

Function Documentation

◆ extractCUsTus()

void extractCUsTus ( DWARFContext & DCtx)
static

Extracts all the data for CU/TUs so we can access it in parallel without locks.

Definition at line 1953 of file DWARFVerifier.cpp.

References llvm::DWARFContext::compile_units(), llvm::DWARFContext::dwo_units(), llvm::DWARFContext::isDWP(), llvm::DWARFContext::normal_units(), and llvm::parallelForEach().

◆ getNames()

SmallVector< std::string, 3 > getNames ( const DWARFDie & DIE,
bool IncludeStrippedTemplateNames,
bool IncludeObjCNames = true,
bool IncludeLinkageName = true )
static

Constructs a full name for a DIE.

Potentially it does recursive lookup on DIEs. This can lead to extraction of DIEs in a different CU or TU.

Definition at line 1543 of file DWARFVerifier.cpp.

References llvm::getObjCNamesIfSelector(), llvm::DIE::getTag(), and llvm::StripTemplateParameters().

◆ isVariableIndexable()