LLDB
mainline
llvm-project
lldb
include
lldb
Interpreter
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
12
#include "
lldb/Core/ValueObject.h
"
13
#include "
lldb/Interpreter/Options.h
"
14
15
namespace
lldb_private
{
16
17
// OptionGroupValueObjectDisplay
18
19
class
OptionGroupValueObjectDisplay
:
public
OptionGroup
{
20
public
:
21
OptionGroupValueObjectDisplay
() =
default
;
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
||
34
flat_output
||
use_objc
||
max_depth
!=
UINT32_MAX
||
35
ptr_depth
!= 0 || !
use_synth
||
be_raw
||
ignore_cap
||
36
run_validator
;
37
}
38
39
DumpValueObjectOptions
GetAsDumpOptions
(
40
LanguageRuntimeDescriptionDisplayVerbosity
lang_descr_verbosity =
41
eLanguageRuntimeDescriptionDisplayVerbosityFull
,
42
lldb::Format
format =
lldb::eFormatDefault
,
43
lldb::TypeSummaryImplSP
summary_sp =
lldb::TypeSummaryImplSP
());
44
45
bool
show_types
: 1,
show_location
: 1,
flat_output
: 1,
use_objc
: 1,
46
use_synth
: 1,
be_raw
: 1,
ignore_cap
: 1,
run_validator
: 1,
47
max_depth_is_default
: 1;
48
49
uint32_t
no_summary_depth
;
50
uint32_t
max_depth
;
51
uint32_t
ptr_depth
;
52
uint32_t
elem_count
;
53
lldb::DynamicValueType
use_dynamic
;
54
};
55
56
}
// namespace lldb_private
57
58
#endif
// LLDB_INTERPRETER_OPTIONGROUPVALUEOBJECTDISPLAY_H
Options.h
ValueObject.h
lldb_private::DumpValueObjectOptions
Definition:
DumpValueObjectOptions.h:22
lldb_private::ExecutionContext
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Definition:
ExecutionContext.h:292
lldb_private::OptionGroupValueObjectDisplay
Definition:
OptionGroupValueObjectDisplay.h:19
lldb_private::OptionGroupValueObjectDisplay::show_location
bool show_location
Definition:
OptionGroupValueObjectDisplay.h:45
lldb_private::OptionGroupValueObjectDisplay::AnyOptionWasSet
bool AnyOptionWasSet() const
Definition:
OptionGroupValueObjectDisplay.h:32
lldb_private::OptionGroupValueObjectDisplay::SetOptionValue
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
Definition:
OptionGroupValueObjectDisplay.cpp:68
lldb_private::OptionGroupValueObjectDisplay::ptr_depth
uint32_t ptr_depth
Definition:
OptionGroupValueObjectDisplay.h:51
lldb_private::OptionGroupValueObjectDisplay::OptionParsingStarting
void OptionParsingStarting(ExecutionContext *execution_context) override
Definition:
OptionGroupValueObjectDisplay.cpp:159
lldb_private::OptionGroupValueObjectDisplay::use_objc
bool use_objc
Definition:
OptionGroupValueObjectDisplay.h:45
lldb_private::OptionGroupValueObjectDisplay::run_validator
bool run_validator
Definition:
OptionGroupValueObjectDisplay.h:46
lldb_private::OptionGroupValueObjectDisplay::be_raw
bool be_raw
Definition:
OptionGroupValueObjectDisplay.h:46
lldb_private::OptionGroupValueObjectDisplay::~OptionGroupValueObjectDisplay
~OptionGroupValueObjectDisplay() override=default
lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions
DumpValueObjectOptions GetAsDumpOptions(LanguageRuntimeDescriptionDisplayVerbosity lang_descr_verbosity=eLanguageRuntimeDescriptionDisplayVerbosityFull, lldb::Format format=lldb::eFormatDefault, lldb::TypeSummaryImplSP summary_sp=lldb::TypeSummaryImplSP())
Definition:
OptionGroupValueObjectDisplay.cpp:189
lldb_private::OptionGroupValueObjectDisplay::use_dynamic
lldb::DynamicValueType use_dynamic
Definition:
OptionGroupValueObjectDisplay.h:53
lldb_private::OptionGroupValueObjectDisplay::max_depth
uint32_t max_depth
Definition:
OptionGroupValueObjectDisplay.h:50
lldb_private::OptionGroupValueObjectDisplay::ignore_cap
bool ignore_cap
Definition:
OptionGroupValueObjectDisplay.h:46
lldb_private::OptionGroupValueObjectDisplay::elem_count
uint32_t elem_count
Definition:
OptionGroupValueObjectDisplay.h:52
lldb_private::OptionGroupValueObjectDisplay::max_depth_is_default
bool max_depth_is_default
Definition:
OptionGroupValueObjectDisplay.h:47
lldb_private::OptionGroupValueObjectDisplay::OptionGroupValueObjectDisplay
OptionGroupValueObjectDisplay()=default
lldb_private::OptionGroupValueObjectDisplay::GetDefinitions
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Definition:
OptionGroupValueObjectDisplay.cpp:64
lldb_private::OptionGroupValueObjectDisplay::use_synth
bool use_synth
Definition:
OptionGroupValueObjectDisplay.h:46
lldb_private::OptionGroupValueObjectDisplay::no_summary_depth
uint32_t no_summary_depth
Definition:
OptionGroupValueObjectDisplay.h:49
lldb_private::OptionGroupValueObjectDisplay::show_types
bool show_types
Definition:
OptionGroupValueObjectDisplay.h:45
lldb_private::OptionGroupValueObjectDisplay::flat_output
bool flat_output
Definition:
OptionGroupValueObjectDisplay.h:45
lldb_private::OptionGroup
Definition:
Options.h:234
lldb_private::Status
An error handling class.
Definition:
Status.h:44
UINT32_MAX
#define UINT32_MAX
Definition:
lldb-defines.h:19
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb_private::LanguageRuntimeDescriptionDisplayVerbosity
LanguageRuntimeDescriptionDisplayVerbosity
Definition:
lldb-private-enumerations.h:161
lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityFull
@ eLanguageRuntimeDescriptionDisplayVerbosityFull
Definition:
lldb-private-enumerations.h:165
lldb::TypeSummaryImplSP
std::shared_ptr< lldb_private::TypeSummaryImpl > TypeSummaryImplSP
Definition:
lldb-forward.h:471
lldb::Format
Format
Display format definitions.
Definition:
lldb-enumerations.h:156
lldb::eFormatDefault
@ eFormatDefault
Definition:
lldb-enumerations.h:157
lldb::DynamicValueType
DynamicValueType
Definition:
lldb-enumerations.h:537
Generated on Wed Nov 20 2024 18:14:35 for LLDB by
1.9.6