#include <cassert>
#include <optional>
#include "lldb/Core/Module.h"
#include "lldb/Core/dwarf.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/Stream.h"
#include "DWARFDebugInfo.h"
#include "DWARFFormValue.h"
#include "DWARFUnit.h"
usingnamespacelldb_private;
usingnamespacelldb_private::dwarf;
usingnamespacelldb_private::plugin::dwarf;
void DWARFFormValue::Clear() { … }
bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data,
lldb::offset_t *offset_ptr) { … }
struct FormSize { … };
static FormSize g_form_sizes[] = …;
std::optional<uint8_t> DWARFFormValue::GetFixedSize(dw_form_t form,
const DWARFUnit *u) { … }
std::optional<uint8_t> DWARFFormValue::GetFixedSize() const { … }
bool DWARFFormValue::SkipValue(const DWARFDataExtractor &debug_info_data,
lldb::offset_t *offset_ptr) const { … }
bool DWARFFormValue::SkipValue(dw_form_t form,
const DWARFDataExtractor &debug_info_data,
lldb::offset_t *offset_ptr,
const DWARFUnit *unit) { … }
void DWARFFormValue::Dump(Stream &s) const { … }
const char *DWARFFormValue::AsCString() const { … }
dw_addr_t DWARFFormValue::Address() const { … }
std::pair<DWARFUnit *, uint64_t>
DWARFFormValue::ReferencedUnitAndOffset() const { … }
DWARFDIE DWARFFormValue::Reference() const { … }
uint64_t DWARFFormValue::Reference(dw_offset_t base_offset) const { … }
const uint8_t *DWARFFormValue::BlockData() const { … }
bool DWARFFormValue::IsBlockForm(const dw_form_t form) { … }
bool DWARFFormValue::IsDataForm(const dw_form_t form) { … }
bool DWARFFormValue::FormIsSupported(dw_form_t form) { … }