LLVM 22.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFVerifier.h"
#include "llvm/ADT/IntervalMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
#include "llvm/DebugInfo/DWARF/DWARFAttribute.h"
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
#include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
#include "llvm/DebugInfo/DWARF/DWARFDie.h"
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
#include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h"
#include "llvm/DebugInfo/DWARF/DWARFObject.h"
#include "llvm/DebugInfo/DWARF/DWARFSection.h"
#include "llvm/DebugInfo/DWARF/DWARFTypeUnit.h"
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
#include "llvm/DebugInfo/DWARF/LowLevel/DWARFExpression.h"
#include "llvm/Object/Error.h"
#include "llvm/Support/DJB.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/Parallel.h"
#include "llvm/Support/WithColor.h"
#include "llvm/Support/raw_ostream.h"
#include <map>
#include <set>
#include <vector>
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. |
|
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().
|
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().
|
static |
Definition at line 1818 of file DWARFVerifier.cpp.
References llvm::any_of(), llvm::consumeError(), llvm::Data, llvm::DWARFDie::getDwarfUnit(), llvm::DWARFDie::getLocations(), llvm::DWARFContext::isLittleEndian(), and llvm::toStringRef().