ValueObject is part of lldbCore for historical reasons, but conceptually
it deserves to be its own library. This does introduce a (link-time) circular
dependency between lldbCore and lldbValueObject, which is unfortunate
but probably unavoidable because so many things in LLDB rely on
ValueObject. We already have cycles and these libraries are never built
as dylibs so while this doesn't improve the situation, it also doesn't
make things worse.
The header includes were updated with the following command:
```
find . -type f -exec sed -i.bak "s%include \"lldb/Core/ValueObject%include \"lldb/ValueObject/ValueObject%" '{}' \;
```
43 lines
1.5 KiB
C++
43 lines
1.5 KiB
C++
//===-- NSString.h ---------------------------------------------------*- C++
|
|
//-*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_OBJC_NSSTRING_H
|
|
#define LLDB_SOURCE_PLUGINS_LANGUAGE_OBJC_NSSTRING_H
|
|
|
|
#include "lldb/DataFormatters/TypeSummary.h"
|
|
#include "lldb/Utility/Stream.h"
|
|
#include "lldb/ValueObject/ValueObject.h"
|
|
|
|
#include "Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h"
|
|
|
|
namespace lldb_private {
|
|
namespace formatters {
|
|
bool NSStringSummaryProvider(ValueObject &valobj, Stream &stream,
|
|
const TypeSummaryOptions &options);
|
|
|
|
bool NSTaggedString_SummaryProvider(
|
|
ValueObject &valobj, ObjCLanguageRuntime::ClassDescriptorSP descriptor,
|
|
Stream &stream, const TypeSummaryOptions &summary_options);
|
|
|
|
bool NSAttributedStringSummaryProvider(ValueObject &valobj, Stream &stream,
|
|
const TypeSummaryOptions &options);
|
|
|
|
bool NSMutableAttributedStringSummaryProvider(
|
|
ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options);
|
|
|
|
class NSString_Additionals {
|
|
public:
|
|
static std::map<ConstString, CXXFunctionSummaryFormat::Callback> &
|
|
GetAdditionalSummaries();
|
|
};
|
|
} // namespace formatters
|
|
} // namespace lldb_private
|
|
|
|
#endif // LLDB_SOURCE_PLUGINS_LANGUAGE_OBJC_NSSTRING_H
|