LLDB
mainline
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
a
b
d
e
f
g
h
i
k
l
n
p
r
s
t
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
Enumerator
a
c
d
e
f
g
i
k
l
n
o
p
s
t
u
v
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Related Functions
:
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
g
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
g
i
j
l
m
o
p
r
s
t
u
v
Enumerations
Enumerator
a
b
d
e
f
g
h
k
m
n
p
r
s
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Examples
llvm-project
lldb
include
lldb
Interpreter
OptionGroupString.h
Go to the documentation of this file.
1
//===-- OptionGroupString.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_OPTIONGROUPSTRING_H
10
#define LLDB_INTERPRETER_OPTIONGROUPSTRING_H
11
12
#include "
lldb/Interpreter/OptionValueString.h
"
13
#include "
lldb/Interpreter/Options.h
"
14
15
namespace
lldb_private
{
16
// OptionGroupString
17
18
class
OptionGroupString
:
public
OptionGroup
{
19
public
:
20
OptionGroupString
(uint32_t usage_mask,
bool
required,
const
char
*long_option,
21
int
short_option, uint32_t completion_type,
22
lldb::CommandArgumentType
argument_type,
23
const
char
*usage_text,
const
char
*default_value);
24
25
~OptionGroupString
()
override
=
default
;
26
27
llvm::ArrayRef<OptionDefinition>
GetDefinitions
()
override
{
28
return
llvm::ArrayRef<OptionDefinition>(&
m_option_definition
, 1);
29
}
30
31
Status
SetOptionValue
(uint32_t option_idx, llvm::StringRef option_value,
32
ExecutionContext
*execution_context)
override
;
33
34
void
OptionParsingStarting
(
ExecutionContext
*execution_context)
override
;
35
36
OptionValueString
&
GetOptionValue
() {
return
m_value
; }
37
38
const
OptionValueString
&
GetOptionValue
()
const
{
return
m_value
; }
39
40
protected
:
41
OptionValueString
m_value
;
42
OptionDefinition
m_option_definition
;
43
};
44
45
}
// namespace lldb_private
46
47
#endif
// LLDB_INTERPRETER_OPTIONGROUPSTRING_H
OptionValueString.h
Options.h
lldb_private::ExecutionContext
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Definition:
ExecutionContext.h:292
lldb_private::OptionGroupString
Definition:
OptionGroupString.h:18
lldb_private::OptionGroupString::m_value
OptionValueString m_value
Definition:
OptionGroupString.h:41
lldb_private::OptionGroupString::GetOptionValue
OptionValueString & GetOptionValue()
Definition:
OptionGroupString.h:36
lldb_private::OptionGroupString::~OptionGroupString
~OptionGroupString() override=default
lldb_private::OptionGroupString::OptionParsingStarting
void OptionParsingStarting(ExecutionContext *execution_context) override
Definition:
OptionGroupString.cpp:42
lldb_private::OptionGroupString::m_option_definition
OptionDefinition m_option_definition
Definition:
OptionGroupString.h:42
lldb_private::OptionGroupString::GetOptionValue
const OptionValueString & GetOptionValue() const
Definition:
OptionGroupString.h:38
lldb_private::OptionGroupString::SetOptionValue
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
Definition:
OptionGroupString.cpp:35
lldb_private::OptionGroupString::GetDefinitions
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Definition:
OptionGroupString.h:27
lldb_private::OptionGroup
Definition:
Options.h:234
lldb_private::OptionValueString
Definition:
OptionValueString.h:20
lldb_private::Status
An error handling class.
Definition:
Status.h:118
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb::CommandArgumentType
CommandArgumentType
Definition:
lldb-enumerations.h:558
lldb_private::OptionDefinition
Definition:
OptionDefinition.h:20
Generated on Tue Feb 18 2025 18:04:03 for LLDB by
1.9.6