LLDB mainline
OptionGroupValueObjectDisplay.h
Go to the documentation of this file.
1//===-- OptionGroupValueObjectDisplay.h -------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_INTERPRETER_OPTIONGROUPVALUEOBJECTDISPLAY_H
10#define LLDB_INTERPRETER_OPTIONGROUPVALUEOBJECTDISPLAY_H
11
14
15namespace lldb_private {
16
17// OptionGroupValueObjectDisplay
18
20public:
22
23 ~OptionGroupValueObjectDisplay() override = default;
24
25 llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
26
27 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
28 ExecutionContext *execution_context) override;
29
30 void OptionParsingStarting(ExecutionContext *execution_context) override;
31
32 bool AnyOptionWasSet() const {
33 return show_types || no_summary_depth != 0 || show_location ||
35 ptr_depth != 0 || !use_synth || be_raw || ignore_cap ||
37 }
38
44
48
50 uint32_t max_depth;
51 uint32_t ptr_depth;
52 uint32_t elem_count;
54};
55
56} // namespace lldb_private
57
58#endif // LLDB_INTERPRETER_OPTIONGROUPVALUEOBJECTDISPLAY_H
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
void OptionParsingStarting(ExecutionContext *execution_context) override
DumpValueObjectOptions GetAsDumpOptions(LanguageRuntimeDescriptionDisplayVerbosity lang_descr_verbosity=eLanguageRuntimeDescriptionDisplayVerbosityFull, lldb::Format format=lldb::eFormatDefault, lldb::TypeSummaryImplSP summary_sp=lldb::TypeSummaryImplSP())
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
An error handling class.
Definition: Status.h:44
#define UINT32_MAX
Definition: lldb-defines.h:19
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::TypeSummaryImpl > TypeSummaryImplSP
Definition: lldb-forward.h:471
Format
Display format definitions.