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 liblldb_OptionGroupValueObjectDisplay_h_
10 #define liblldb_OptionGroupValueObjectDisplay_h_
11 
12 #include "lldb/Core/ValueObject.h"
14 
15 namespace lldb_private {
16 
17 // OptionGroupValueObjectDisplay
18 
20 public:
22 
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  Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
30 
31  void OptionParsingStarting(ExecutionContext *execution_context) override;
32 
33  bool AnyOptionWasSet() const {
34  return show_types || no_summary_depth != 0 || show_location ||
36  ptr_depth != 0 || !use_synth || be_raw || ignore_cap ||
38  }
39 
41  LanguageRuntimeDescriptionDisplayVerbosity lang_descr_verbosity =
44  lldb::TypeSummaryImplSP summary_sp = lldb::TypeSummaryImplSP());
45 
46  bool show_types : 1, show_location : 1, flat_output : 1, use_objc : 1,
47  use_synth : 1, be_raw : 1, ignore_cap : 1, run_validator : 1;
48 
54 };
55 
56 } // namespace lldb_private
57 
58 #endif // liblldb_OptionGroupValueObjectDisplay_h_
Enumerations for broadcasting.
Definition: SBLaunchInfo.h:14
void OptionParsingStarting(ExecutionContext *execution_context) override
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
DumpValueObjectOptions GetAsDumpOptions(LanguageRuntimeDescriptionDisplayVerbosity lang_descr_verbosity=eLanguageRuntimeDescriptionDisplayVerbosityFull, lldb::Format format=lldb::eFormatDefault, lldb::TypeSummaryImplSP summary_sp=lldb::TypeSummaryImplSP())
#define UINT32_MAX
Definition: lldb-defines.h:31
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
An error handling class.
Definition: Status.h:44