LLDB mainline
DWARFDebugInfoEntry.cpp File Reference
#include "DWARFDebugInfoEntry.h"
#include <cassert>
#include <algorithm>
#include <limits>
#include <optional>
#include "LogChannelDWARF.h"
#include "lldb/Core/Module.h"
#include "lldb/Expression/DWARFExpression.h"
#include "lldb/Symbol/ObjectFile.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/DebugInfo/DWARF/DWARFAddressRange.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/LEB128.h"
#include "DWARFCompileUnit.h"
#include "DWARFDebugAranges.h"
#include "DWARFDebugInfo.h"
#include "DWARFDeclContext.h"
#include "DWARFFormValue.h"
#include "DWARFUnit.h"
#include "SymbolFileDWARF.h"
#include "SymbolFileDWARFDwo.h"

Go to the source code of this file.

Functions

static llvm::Expected< llvm::DWARFAddressRangesVector > GetRanges (DWARFUnit &unit, const DWARFFormValue &value)
static void ExtractAttrAndFormValue (const llvm::DWARFAbbreviationDeclaration::AttributeSpec &attr_spec, dw_attr_t &attr, DWARFFormValue &form_value)
static bool GetAttributes (llvm::SmallVectorImpl< DWARFDIE > &worklist, llvm::SmallPtrSet< DWARFDebugInfoEntry const *, 3 > &seen, DWARFAttributes &attributes)
 Helper for the public DWARFDebugInfoEntry::GetAttributes API.

Variables

int g_verbose

Function Documentation

◆ ExtractAttrAndFormValue()

void ExtractAttrAndFormValue ( const llvm::DWARFAbbreviationDeclaration::AttributeSpec & attr_spec,
dw_attr_t & attr,
DWARFFormValue & form_value )
static

◆ GetAttributes()

bool GetAttributes ( llvm::SmallVectorImpl< DWARFDIE > & worklist,
llvm::SmallPtrSet< DWARFDebugInfoEntry const *, 3 > & seen,
DWARFAttributes & attributes )
static

◆ GetRanges()

Variable Documentation

◆ g_verbose

int g_verbose
extern