LLDB
mainline
llvm-project
lldb
include
lldb
API
SBQueueItem.h
Go to the documentation of this file.
1
//===-- SBQueueItem.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_SBQUEUEITEM_H
10
#define LLDB_API_SBQUEUEITEM_H
11
12
#include "
lldb/API/SBAddress.h
"
13
#include "
lldb/API/SBDefines.h
"
14
15
namespace
lldb_private
{
16
class
QueueImpl;
17
}
18
19
namespace
lldb
{
20
21
class
LLDB_API
SBQueueItem
{
22
public
:
23
SBQueueItem
();
24
25
~SBQueueItem
();
26
27
explicit
operator
bool()
const
;
28
29
bool
IsValid()
const
;
30
31
void
Clear();
32
33
lldb::QueueItemKind
GetKind
()
const
;
34
35
void
SetKind(
lldb::QueueItemKind
kind);
36
37
lldb::SBAddress
GetAddress()
const
;
38
39
void
SetAddress(
lldb::SBAddress
addr);
40
41
SBThread
GetExtendedBacktraceThread(
const
char
*type);
42
43
protected
:
44
friend
class
lldb_private::QueueImpl
;
45
46
SBQueueItem
(
const
lldb::QueueItemSP
&queue_item_sp);
47
48
void
SetQueueItem(
const
lldb::QueueItemSP
&queue_item_sp);
49
50
private
:
51
lldb::QueueItemSP
m_queue_item_sp
;
52
};
53
54
}
// namespace lldb
55
56
#endif
// LLDB_API_SBQUEUEITEM_H
SBAddress.h
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
GetKind
uint32_t GetKind(uint32_t data)
Return the type kind encoded in the given data.
Definition:
SymbolFileCTF.cpp:307
lldb::SBAddress
Definition:
SBAddress.h:17
lldb::SBQueueItem
Definition:
SBQueueItem.h:21
lldb::SBQueueItem::m_queue_item_sp
lldb::QueueItemSP m_queue_item_sp
Definition:
SBQueueItem.h:51
lldb::SBThread
Definition:
SBThread.h:26
lldb_private::QueueImpl
Definition:
SBQueue.cpp:28
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb
Definition:
SBAddress.h:15
lldb::QueueItemKind
QueueItemKind
Queue work item types.
Definition:
lldb-enumerations.h:1002
lldb::QueueItemSP
std::shared_ptr< lldb_private::QueueItem > QueueItemSP
Definition:
lldb-forward.h:398
Generated on Tue Dec 3 2024 06:26:23 for LLDB by
1.9.6