LLDB  mainline
Enumerations | Functions
LibCxx.cpp File Reference
#include "LibCxx.h"
#include "llvm/ADT/ScopeExit.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/FormatEntity.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Core/ValueObjectConstResult.h"
#include "lldb/DataFormatters/FormattersHelpers.h"
#include "lldb/DataFormatters/StringPrinter.h"
#include "lldb/DataFormatters/TypeSummary.h"
#include "lldb/DataFormatters/VectorIterator.h"
#include "lldb/Symbol/ClangASTContext.h"
#include "lldb/Target/CPPLanguageRuntime.h"
#include "lldb/Target/ProcessStructReader.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Stream.h"
Include dependency graph for LibCxx.cpp:

Go to the source code of this file.

Enumerations

enum  LibcxxStringLayoutMode { eLibcxxStringLayoutModeCSD = 0, eLibcxxStringLayoutModeDSC = 1, eLibcxxStringLayoutModeInvalid = 0xffff }
 

Functions

static bool ExtractLibcxxStringInfo (ValueObject &valobj, ValueObjectSP &location_sp, uint64_t &size)
 
template<StringPrinter::StringElementType element_type>
bool LibcxxStringSummaryProvider (ValueObject &valobj, Stream &stream, const TypeSummaryOptions &summary_options, std::string prefix_token="")
 

Enumeration Type Documentation

◆ LibcxxStringLayoutMode

Enumerator
eLibcxxStringLayoutModeCSD 
eLibcxxStringLayoutModeDSC 
eLibcxxStringLayoutModeInvalid 

Definition at line 465 of file LibCxx.cpp.

Function Documentation

◆ ExtractLibcxxStringInfo()

static bool ExtractLibcxxStringInfo ( ValueObject valobj,
ValueObjectSP &  location_sp,
uint64_t &  size 
)
static

◆ LibcxxStringSummaryProvider()

template<StringPrinter::StringElementType element_type>
bool LibcxxStringSummaryProvider ( ValueObject valobj,
Stream stream,
const TypeSummaryOptions summary_options,
std::string  prefix_token = "" 
)