LLDB mainline
|
#include "CxxStringTypes.h"
#include "llvm/Support/ConvertUTF.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.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/Host/Time.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Stream.h"
#include <algorithm>
#include <optional>
Go to the source code of this file.
Typedefs | |
using | StringElementType = StringPrinter::StringElementType |
Functions | |
static constexpr std::pair< const char *, Format > | getElementTraits (StringElementType ElemType) |
template<StringElementType ElemType> | |
static bool | CharStringSummaryProvider (ValueObject &valobj, Stream &stream) |
template<StringElementType ElemType> | |
static bool | CharSummaryProvider (ValueObject &valobj, Stream &stream) |
Definition at line 35 of file CxxStringTypes.cpp.
|
static |
Definition at line 52 of file CxxStringTypes.cpp.
References lldb_private::formatters::GetArrayAddressOrPointerValue(), getElementTraits(), lldb_private::ValueObject::GetTargetSP(), lldb_private::Address::IsValid(), lldb_private::Stream::Printf(), lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::SetLocation(), lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetPrefixToken(), lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetStream(), and lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::SetTargetSP().
|
static |
Definition at line 70 of file CxxStringTypes.cpp.
References error(), lldb_private::ValueObject::GetData(), getElementTraits(), lldb_private::ValueObject::GetValueAsCString(), lldb_private::Stream::Printf(), lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetBinaryZeroIsTerminator(), lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::SetData(), lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetPrefixToken(), lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetQuote(), lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetSourceSize(), and lldb_private::formatters::StringPrinter::DumpToStreamOptions::SetStream().
|
staticconstexpr |
Definition at line 38 of file CxxStringTypes.cpp.
References lldb::eFormatInvalid, lldb::eFormatUnicode16, lldb::eFormatUnicode32, and lldb::eFormatUnicode8.
Referenced by CharStringSummaryProvider(), and CharSummaryProvider().