Path: blob/main/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.h
39653 views
//===-- ReportRetriever.h ---------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "lldb/Target/Process.h"910#ifndef LLDB_SOURCE_PLUGINS_INSTRUMENTATIONRUNTIME_UTILITY_REPORTRETRIEVER_H11#define LLDB_SOURCE_PLUGINS_INSTRUMENTATIONRUNTIME_UTILITY_REPORTRETRIEVER_H1213namespace lldb_private {1415class ReportRetriever {16private:17static StructuredData::ObjectSP18RetrieveReportData(const lldb::ProcessSP process_sp);1920static std::string FormatDescription(StructuredData::ObjectSP report);2122public:23static bool NotifyBreakpointHit(lldb::ProcessSP process_sp,24StoppointCallbackContext *context,25lldb::user_id_t break_id,26lldb::user_id_t break_loc_id);2728static Breakpoint *SetupBreakpoint(lldb::ModuleSP, lldb::ProcessSP,29ConstString);30};31} // namespace lldb_private3233#endif // LLDB_SOURCE_PLUGINS_INSTRUMENTATIONRUNTIME_UTILITY_REPORTRETRIEVER_H343536