LLDB mainline
DWARFFormValue.cpp File Reference
#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"

Go to the source code of this file.

Classes

struct  FormSize

Functions

static const char * PeekCStr (const DWARFDataExtractor &data, uint64_t offset)
 PeekCStr only returns strings terminated within the section, so data() is always a valid C string.

Variables

static FormSize g_form_sizes []

Function Documentation

◆ PeekCStr()

const char * PeekCStr ( const DWARFDataExtractor & data,
uint64_t offset )
static

PeekCStr only returns strings terminated within the section, so data() is always a valid C string.

Definition at line 468 of file DWARFFormValue.cpp.

References lldb_private::DataExtractor::PeekCStr().

Referenced by lldb_private::plugin::dwarf::DWARFFormValue::AsCString().

Variable Documentation

◆ g_form_sizes

FormSize g_form_sizes[]
static