LLDB
mainline
llvm-project
lldb
source
Plugins
InstrumentationRuntime
Utility
ReportRetriever.h
Go to the documentation of this file.
1
//===-- ReportRetriever.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
#include "
lldb/Target/Process.h
"
10
11
#ifndef LLDB_SOURCE_PLUGINS_INSTRUMENTATIONRUNTIME_UTILITY_REPORTRETRIEVER_H
12
#define LLDB_SOURCE_PLUGINS_INSTRUMENTATIONRUNTIME_UTILITY_REPORTRETRIEVER_H
13
14
namespace
lldb_private
{
15
16
class
ReportRetriever
{
17
private
:
18
static
StructuredData::ObjectSP
19
RetrieveReportData
(
const
lldb::ProcessSP
process_sp);
20
21
static
std::string
FormatDescription
(
StructuredData::ObjectSP
report);
22
23
public
:
24
static
bool
NotifyBreakpointHit
(
lldb::ProcessSP
process_sp,
25
StoppointCallbackContext
*context,
26
lldb::user_id_t
break_id,
27
lldb::user_id_t
break_loc_id);
28
29
static
Breakpoint
*
SetupBreakpoint
(
lldb::ModuleSP
,
lldb::ProcessSP
,
30
ConstString
);
31
};
32
}
// namespace lldb_private
33
34
#endif
// LLDB_SOURCE_PLUGINS_INSTRUMENTATIONRUNTIME_UTILITY_REPORTRETRIEVER_H
Process.h
lldb_private::Breakpoint
General Outline: A breakpoint has four main parts, a filter, a resolver, the list of breakpoint locat...
Definition:
Breakpoint.h:81
lldb_private::ConstString
A uniqued constant string class.
Definition:
ConstString.h:40
lldb_private::ReportRetriever
Definition:
ReportRetriever.h:16
lldb_private::ReportRetriever::RetrieveReportData
static StructuredData::ObjectSP RetrieveReportData(const lldb::ProcessSP process_sp)
Definition:
ReportRetriever.cpp:59
lldb_private::ReportRetriever::NotifyBreakpointHit
static bool NotifyBreakpointHit(lldb::ProcessSP process_sp, StoppointCallbackContext *context, lldb::user_id_t break_id, lldb::user_id_t break_loc_id)
Definition:
ReportRetriever.cpp:191
lldb_private::ReportRetriever::FormatDescription
static std::string FormatDescription(StructuredData::ObjectSP report)
Definition:
ReportRetriever.cpp:145
lldb_private::ReportRetriever::SetupBreakpoint
static Breakpoint * SetupBreakpoint(lldb::ModuleSP, lldb::ProcessSP, ConstString)
Definition:
ReportRetriever.cpp:223
lldb_private::StoppointCallbackContext
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
Definition:
StoppointCallbackContext.h:26
lldb_private::StructuredData::ObjectSP
std::shared_ptr< Object > ObjectSP
Definition:
StructuredData.h:66
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb::ProcessSP
std::shared_ptr< lldb_private::Process > ProcessSP
Definition:
lldb-forward.h:389
lldb::user_id_t
uint64_t user_id_t
Definition:
lldb-types.h:82
lldb::ModuleSP
std::shared_ptr< lldb_private::Module > ModuleSP
Definition:
lldb-forward.h:373
Generated on Sun Dec 22 2024 12:24:49 for LLDB by
1.9.6