LLDB
mainline
llvm-project
lldb
include
lldb
API
SBLineEntry.h
Go to the documentation of this file.
1
//===-- SBLineEntry.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_SBLINEENTRY_H
10
#define LLDB_API_SBLINEENTRY_H
11
12
#include "
lldb/API/SBAddress.h
"
13
#include "
lldb/API/SBDefines.h
"
14
#include "
lldb/API/SBFileSpec.h
"
15
16
namespace
lldb
{
17
18
class
LLDB_API
SBLineEntry
{
19
public
:
20
SBLineEntry
();
21
22
SBLineEntry
(
const
lldb::SBLineEntry
&rhs);
23
24
~SBLineEntry
();
25
26
const
lldb::SBLineEntry
&operator=(
const
lldb::SBLineEntry
&rhs);
27
28
lldb::SBAddress
GetStartAddress()
const
;
29
30
lldb::SBAddress
GetEndAddress()
const
;
31
32
lldb::SBAddress
33
GetSameLineContiguousAddressRangeEnd(
bool
include_inlined_functions)
const
;
34
35
explicit
operator
bool()
const
;
36
37
bool
IsValid()
const
;
38
39
lldb::SBFileSpec
GetFileSpec()
const
;
40
41
uint32_t GetLine()
const
;
42
43
uint32_t GetColumn()
const
;
44
45
void
SetFileSpec(
lldb::SBFileSpec
filespec);
46
47
void
SetLine(uint32_t line);
48
49
void
SetColumn(uint32_t column);
50
51
bool
operator==
(
const
lldb::SBLineEntry
&rhs)
const
;
52
53
bool
operator!=(
const
lldb::SBLineEntry
&rhs)
const
;
54
55
bool
GetDescription(
lldb::SBStream
&description);
56
57
protected
:
58
lldb_private::LineEntry
*get();
59
60
private
:
61
friend
class
SBAddress
;
62
friend
class
SBCompileUnit
;
63
friend
class
SBFrame
;
64
friend
class
SBSymbolContext
;
65
66
const
lldb_private::LineEntry
*operator->()
const
;
67
68
lldb_private::LineEntry
&ref();
69
70
const
lldb_private::LineEntry
&ref()
const
;
71
72
SBLineEntry
(
const
lldb_private::LineEntry
*lldb_object_ptr);
73
74
void
SetLineEntry(
const
lldb_private::LineEntry
&lldb_object_ref);
75
76
std::unique_ptr<lldb_private::LineEntry>
m_opaque_up
;
77
};
78
79
}
// namespace lldb
80
81
#endif
// LLDB_API_SBLINEENTRY_H
SBAddress.h
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
SBFileSpec.h
lldb::SBAddress
Definition:
SBAddress.h:17
lldb::SBCompileUnit
Definition:
SBCompileUnit.h:17
lldb::SBFileSpec
Definition:
SBFileSpec.h:16
lldb::SBFrame
Definition:
SBFrame.h:26
lldb::SBLineEntry
Definition:
SBLineEntry.h:18
lldb::SBLineEntry::m_opaque_up
std::unique_ptr< lldb_private::LineEntry > m_opaque_up
Definition:
SBLineEntry.h:76
lldb::SBLineEntry::~SBLineEntry
~SBLineEntry()
lldb::SBStream
Definition:
SBStream.h:22
lldb::SBSymbolContext
Definition:
SBSymbolContext.h:28
lldb
Definition:
SBAddress.h:15
lldb::operator==
bool LLDB_API operator==(const SBAddress &lhs, const SBAddress &rhs)
Definition:
SBAddress.cpp:60
lldb_private::LineEntry
A line table entry class.
Definition:
LineEntry.h:21
Generated on Sun Oct 6 2024 19:32:05 for LLDB by
1.9.6