LLDB mainline
|
#include "Cocoa.h"
#include "NSString.h"
#include "ObjCConstants.h"
#include "Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
#include "lldb/Core/Mangled.h"
#include "lldb/DataFormatters/FormattersHelpers.h"
#include "lldb/DataFormatters/StringPrinter.h"
#include "lldb/DataFormatters/TypeSummary.h"
#include "lldb/Host/Time.h"
#include "lldb/Target/Language.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Stream.h"
#include "lldb/ValueObject/ValueObject.h"
#include "lldb/ValueObject/ValueObjectConstResult.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/bit.h"
Go to the source code of this file.
Classes | |
struct | DoubleBits |
struct | TaggedDoubleBits |
class | ObjCClassSyntheticChildrenFrontEnd |
Functions | |
static void | NSNumber_FormatChar (ValueObject &valobj, Stream &stream, char value, lldb::LanguageType lang) |
static void | NSNumber_FormatShort (ValueObject &valobj, Stream &stream, short value, lldb::LanguageType lang) |
static void | NSNumber_FormatInt (ValueObject &valobj, Stream &stream, int value, lldb::LanguageType lang) |
static void | NSNumber_FormatLong (ValueObject &valobj, Stream &stream, int64_t value, lldb::LanguageType lang) |
static void | NSNumber_FormatInt128 (ValueObject &valobj, Stream &stream, const llvm::APInt &value, lldb::LanguageType lang) |
static void | NSNumber_FormatFloat (ValueObject &valobj, Stream &stream, float value, lldb::LanguageType lang) |
static void | NSNumber_FormatDouble (ValueObject &valobj, Stream &stream, double value, lldb::LanguageType lang) |
static uint64_t | decodeExponent (uint64_t exp) |
static double | decodeTaggedTimeInterval (uint64_t encodedTimeInterval) |
Variables | |
const int | TAGGED_DATE_EXPONENT_BIAS = 0x3ef |
Bias value for tagged pointer exponents. | |
|
static |
Definition at line 877 of file Cocoa.cpp.
References TAGGED_DATE_EXPONENT_BIAS.
Referenced by decodeTaggedTimeInterval().
|
static |
Definition at line 883 of file Cocoa.cpp.
References decodeExponent(), DoubleBits::exponent, TaggedDoubleBits::exponent, DoubleBits::fraction, TaggedDoubleBits::fraction, DoubleBits::sign, TaggedDoubleBits::sign, and TaggedDoubleBits::unused.
Referenced by lldb_private::formatters::NSDateSummaryProvider().
|
static |
Definition at line 342 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::Printf().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
|
static |
Definition at line 424 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::Printf().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
|
static |
Definition at line 411 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::Printf().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
|
static |
Definition at line 368 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::Printf().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
|
static |
Definition at line 394 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::PutCString().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
|
static |
Definition at line 381 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::Printf().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
|
static |
Definition at line 355 of file Cocoa.cpp.
References lldb_private::Language::FindPlugin(), and lldb_private::Stream::Printf().
Referenced by lldb_private::formatters::NSNumberSummaryProvider().
const int TAGGED_DATE_EXPONENT_BIAS = 0x3ef |
Bias value for tagged pointer exponents.
Recommended values: 0x3e3: encodes all dates between distantPast and distantFuture except for the range within about 1e-28 second of the reference date. 0x3ef: encodes all dates for a few million years beyond distantPast and distantFuture, except within about 1e-25 second of the reference date.
Definition at line 862 of file Cocoa.cpp.
Referenced by decodeExponent().