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
API
SBFileSpec.h
Go to the documentation of this file.
1
//===-- SBFileSpec.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_API_SBFILESPEC_H
10
#define LLDB_API_SBFILESPEC_H
11
12
#include "
lldb/API/SBDefines.h
"
13
14
namespace
lldb
{
15
16
class
LLDB_API
SBFileSpec
{
17
public
:
18
SBFileSpec
();
19
20
SBFileSpec
(
const
lldb::SBFileSpec
&rhs);
21
22
LLDB_DEPRECATED_FIXME
(
23
"Use the other constructor to determine if this the file "
24
"spec should be resolved"
,
25
"SBFileSpec(const char *, bool)"
)
26
SBFileSpec
(const
char
*path);
27
28
SBFileSpec
(const
char
*path,
bool
resolve);
29
30
~
SBFileSpec
();
31
32
const
SBFileSpec
&operator=(const
lldb
::
SBFileSpec
&rhs);
33
34
explicit operator
bool
() const;
35
36
bool
operator==(const
SBFileSpec
&rhs) const;
37
38
bool
operator!=(const
SBFileSpec
&rhs) const;
39
40
bool
IsValid() const;
41
42
bool
Exists() const;
43
44
bool
ResolveExecutableLocation();
45
46
const
char
*GetFilename() const;
47
48
const
char
*GetDirectory() const;
49
50
void
SetFilename(const
char
*filename);
51
52
void
SetDirectory(const
char
*directory);
53
54
uint32_t GetPath(
char
*dst_path,
size_t
dst_len) const;
55
56
static
int
ResolvePath(const
char
*src_path,
char
*dst_path,
size_t
dst_len);
57
58
bool
GetDescription(
lldb
::
SBStream
&description) const;
59
60
void
AppendPathComponent(const
char
*file_or_directory);
61
62
private:
63
friend class
SBAttachInfo
;
64
friend class
SBBlock
;
65
friend class
SBCommandInterpreter
;
66
friend class
SBCompileUnit
;
67
friend class
SBDeclaration
;
68
friend class
SBFileSpecList
;
69
friend class
SBHostOS
;
70
friend class
SBLaunchInfo
;
71
friend class
SBLineEntry
;
72
friend class
SBModule
;
73
friend class
SBModuleSpec
;
74
friend class
SBPlatform
;
75
friend class
SBProcess
;
76
friend class
SBProcessInfo
;
77
friend class
SBSourceManager
;
78
friend class
SBTarget
;
79
friend class
SBThread
;
80
friend class
SBTrace
;
81
friend class
SBSaveCoreOptions
;
82
83
SBFileSpec
(const
lldb_private
::FileSpec &fspec);
84
85
void
SetFileSpec(const
lldb_private
::FileSpec &fspec);
86
87
const
lldb_private
::FileSpec *operator->() const;
88
89
const
lldb_private
::FileSpec *get() const;
90
91
const
lldb_private
::FileSpec &operator*() const;
92
93
const
lldb_private
::FileSpec &ref() const;
94
95
std::unique_ptr<
lldb_private
::FileSpec> m_opaque_up;
96
};
97
98
}
// namespace lldb
99
100
#endif
// LLDB_API_SBFILESPEC_H
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
lldb::SBAttachInfo
Definition:
SBAttachInfo.h:22
lldb::SBBlock
Definition:
SBBlock.h:21
lldb::SBCommandInterpreter
Definition:
SBCommandInterpreter.h:24
lldb::SBCompileUnit
Definition:
SBCompileUnit.h:17
lldb::SBDeclaration
Definition:
SBDeclaration.h:18
lldb::SBFileSpecList
Definition:
SBFileSpecList.h:17
lldb::SBFileSpec
Definition:
SBFileSpec.h:16
lldb::SBFileSpec::LLDB_DEPRECATED_FIXME
LLDB_DEPRECATED_FIXME("Use the other constructor to determine if this the file " "spec should be resolved", "SBFileSpec(const char *, bool)") SBFileSpec(const char *path)
lldb::SBHostOS
Definition:
SBHostOS.h:17
lldb::SBLaunchInfo
Definition:
SBLaunchInfo.h:24
lldb::SBLineEntry
Definition:
SBLineEntry.h:18
lldb::SBModuleSpec
Definition:
SBModuleSpec.h:17
lldb::SBModule
Definition:
SBModule.h:20
lldb::SBPlatform
Definition:
SBPlatform.h:97
lldb::SBProcessInfo
Definition:
SBProcessInfo.h:16
lldb::SBProcess
Definition:
SBProcess.h:29
lldb::SBSaveCoreOptions
Definition:
SBSaveCoreOptions.h:20
lldb::SBSourceManager
Definition:
SBSourceManager.h:18
lldb::SBStream
Definition:
SBStream.h:22
lldb::SBTarget
Definition:
SBTarget.h:37
lldb::SBThread
Definition:
SBThread.h:26
lldb::SBTrace
Definition:
SBTrace.h:18
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb
Definition:
SBAddress.h:15
Generated on Mon Feb 17 2025 20:30:20 for LLDB by
1.9.6